From 6b370303b6b161e3d4f347b8cfbaae61f3a4f40e Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Wed, 7 May 2014 19:54:17 +0200 Subject: [PATCH] ENH: OTB-297: allow some test to be independant from the driver used --- Testing/Code/IO/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Testing/Code/IO/CMakeLists.txt b/Testing/Code/IO/CMakeLists.txt index 6f22514e42..9550caf780 100644 --- a/Testing/Code/IO/CMakeLists.txt +++ b/Testing/Code/IO/CMakeLists.txt @@ -2349,8 +2349,9 @@ foreach( current_file ${GenericTestPHR_DATA_INPUTS} ) # Read info from the input file add_test(ioTvVectorImageReadingInfo_${current_type} ${IO_TESTS13} - --compare-ascii ${NOTOL} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}.txt + --ignore-order --compare-ascii ${NOTOL} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}.txt ${TEMP}/ioTvMultiResolutionReading_${current_type}_OUT.txt + --ignore-lines-with 3 CacheSizeInBytes Driver Corner[ otbVectorImageTest ${current_file}?&resol=0 ${TEMP}/ioTvMultiResolutionReading_${current_type}_OUT.txt @@ -2359,8 +2360,9 @@ foreach( current_file ${GenericTestPHR_DATA_INPUTS} ) if(NOT PHR_TIFF_FILE) # Read info from the input file (res=5) add_test(ioTvVectorImageReadingInfo_${current_type}_res5 ${IO_TESTS13} - --compare-ascii ${NOTOL} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}_res5.txt + --ignore-order --compare-ascii ${NOTOL} ${BASELINE_FILES}/ioTvMultiResolutionReading_${current_type}_res5.txt ${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt + --ignore-lines-with 3 CacheSizeInBytes Driver Corner[ otbVectorImageTest ${current_file}?&resol=5 ${TEMP}/ioTvMultiResolutionReading_${current_type}_res5_OUT.txt -- GitLab