Skip to content

Commit

Permalink
Undo provoke test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
eidelen committed Oct 12, 2024
1 parent 8fa397e commit 0cbec60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/cppVTK6Dicom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
run: cd build && make
- name: Run Test Simple
run: ./build/lib/runLibTests && ./build/dicom2mesh/runD2MTests
- name: Run Smoke Test Dicom2Mesh
run: |
if ./build/dicom2mesh/dicom2mesh -h | grep -q "How to use dicom2Mesh:"; then
echo "Smoke test passed: Application started successfully."
else
echo "Smoke test failed: Expected output not found."
exit 1
fi
- name: Clean
run: rm -rf build
Expand All @@ -29,3 +37,11 @@ jobs:
run: cd build && make
- name: Run Test VTK_DICOM
run: ./build/lib/runLibTests && ./build/dicom2mesh/runD2MTests
- name: Run Smoke Test VTK_DICOM Dicom2Mesh
run: |
if ./build/dicom2mesh/dicom2mesh -h | grep -q "How to use dicom2Mesh:"; then
echo "Smoke test passed: Application started successfully."
else
echo "Smoke test failed: Expected output not found."
exit 1
fi
2 changes: 1 addition & 1 deletion dicom2mesh/src/dicom2mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ std::tuple<bool, Dicom2Mesh::Dicom2MeshParameters> Dicom2Mesh::parseCmdLineParam

void Dicom2Mesh::showUsageText()
{
std::cout << "How to use provoke dicom2Mesh:" << std::endl << std::endl;
std::cout << "How to use dicom2Mesh:" << std::endl << std::endl;

std::cout << "Minimum example. This transforms a dicom data set into a 3d mesh file called mesh.stl by using a default iso value of 400 (shows bone)" << std::endl;
std::cout << "> dicom2mesh -i pathToDicomDirectory -o mesh.stl" << std::endl << std::endl;
Expand Down

0 comments on commit 0cbec60

Please sign in to comment.