Skip to content

Commit

Permalink
renable some CIL tests depending on SIRF allocate()
Browse files Browse the repository at this point in the history
Now that SyneRBI/SIRF#1212 is fixed, we can reenable
relevant tests

Reverts 160d5e5
  • Loading branch information
KrisThielemans committed Feb 29, 2024
1 parent 8ca5067 commit 2f94642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_cil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for fname in test_SIRF.py utils.py testclass.py; do
done

$SIRF_PATH/../../INSTALL/bin/gadgetron >& ~/gadgetron.log&
/opt/conda/bin/python -m unittest discover -v ./cil_sirf_test -k GradientPET -k BlockDataContainer
/opt/conda/bin/python -m unittest discover -v ./cil_sirf_test
ret=$?
for i in $(jobs -p); do kill -n 15 $i || : ; done 2>/dev/null # kill gadgetron
exit $ret
2 changes: 1 addition & 1 deletion SuperBuild/External_CIL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if(NOT ( DEFINED "USE_SYSTEM_${externalProjName}" AND "${USE_SYSTEM_${externalPr
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -p test_run_*.py
WORKING_DIRECTORY ${${proj}_SOURCE_DIR}/Wrappers/Python/test)
add_test(NAME CIL_SIRF_TESTS
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -p test_SIRF*.py -k GradientPET -k BlockDataContainer
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -p test_SIRF*.py
WORKING_DIRECTORY ${${proj}_SOURCE_DIR}/Wrappers/Python/test)
add_test(NAME CIL_FRAMEWORK_TESTS_4
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -p test_Block_*.py
Expand Down

0 comments on commit 2f94642

Please sign in to comment.