STIR icon indicating copy to clipboard operation
STIR copied to clipboard

Some CTests require installation to pass

Open robbietuk opened this issue 3 years ago • 0 comments

This is mostly for documenting the issue. I am running from Clion and a number of CTests (including test_data_processor_projectors) are failing because I haven't installed STIR, just built it. The issue relates to ${STIR_install_location}/share/stir/config/radionuclide_info.json not existing.

The obvious solution is to install STIR once.

Example output:

7: Test command: /Users/rts/devel/STIR/devel1/release_build/src/recon_test/test_data_processor_projectors "/Users/rts/devel/STIR/devel1/STIR/recon_test_pack/Utahscat600k_ca_seg4.hs"
7: Working Directory: /Users/rts/devel/STIR/devel1/release_build/src/recon_test
7: Test timeout computed to be: 10000000
7: 
7: ERROR: find_STIR_config_file could not open /Users/rts/devel/STIR/devel1/release_install/share/stir/config/radionuclide_info.json
7: 
7: End of tests. Please correct errors !
7: 
7: 
Failed

robbietuk avatar Aug 31 '22 17:08 robbietuk