RTK/TestingDatasets: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This section describes how to add/edit datasets for testing purposes for RTK. Datasets are not stored in the GIT repository for efficiency and also to avoid having large history due to binary files. Instead the files are stored on a [http:// | This section describes how to add/edit datasets for testing purposes for RTK. Datasets are not stored in the GIT repository for efficiency and also to avoid having large history due to binary files. Instead the files are stored on a [http://data.kitware.com Girder] instance. Here's the recipe to add new datasets: | ||
# Register/Login to | # Register/Login to Girder hosted at Kitware: [http://data.kitware.com http://data.kitware.com] | ||
# Locate the RTK | # Locate the RTK collection: [https://data.kitware.com/#collection/5a7706878d777f0649e04776 https://data.kitware.com/#collection/5a7706878d777f0649e04776] | ||
# Upload the new datasets in the appropriate folder. If you don't have the necessary privileges please email the mailing list | # Upload the new datasets in the appropriate folder. If you don't have the necessary privileges please email the mailing list | ||
# In the GIT repository, add in testing/Data a file with the exact filename of the original file '''but with the .md5 extension'''. Inside that file put the md5sum of the file on | # In the GIT repository, add in testing/Data a file with the exact filename of the original file '''but with the .md5 extension'''. Inside that file put the md5sum of the file on Girder. | ||
# When adding a test use the new macro "RTK_ADD_TEST" instead of "ADD_TEST" and specify the datasets you want CTest to download by appending the data to 'DATA{}'. For example: | # When adding a test use the new macro "RTK_ADD_TEST" instead of "ADD_TEST" and specify the datasets you want CTest to download by appending the data to 'DATA{}'. For example: | ||
Latest revision as of 07:48, 11 November 2018
This section describes how to add/edit datasets for testing purposes for RTK. Datasets are not stored in the GIT repository for efficiency and also to avoid having large history due to binary files. Instead the files are stored on a Girder instance. Here's the recipe to add new datasets:
- Register/Login to Girder hosted at Kitware: http://data.kitware.com
- Locate the RTK collection: https://data.kitware.com/#collection/5a7706878d777f0649e04776
- Upload the new datasets in the appropriate folder. If you don't have the necessary privileges please email the mailing list
- In the GIT repository, add in testing/Data a file with the exact filename of the original file but with the .md5 extension. Inside that file put the md5sum of the file on Girder.
- When adding a test use the new macro "RTK_ADD_TEST" instead of "ADD_TEST" and specify the datasets you want CTest to download by appending the data to 'DATA{}'. For example:
RTK_ADD_TEST(NAME rtkimagxtest COMMAND ${EXECUTABLE_OUTPUT_PATH}/rtkimagxtest DATA{Data/Input/ImagX/raw.xml,raw.raw} DATA{Data/Baseline/ImagX/attenuation.mha})