File tree Expand file tree Collapse file tree 7 files changed +8
-4
lines changed Expand file tree Collapse file tree 7 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ if (H5EX_BUILD_TESTING)
39
39
-D "TEST_EXPECT=0"
40
40
-D "TEST_SKIP_COMPARE=TRUE"
41
41
-D "TEST_OUTPUT=${testname} .out"
42
+ -D "TEST_GREP_COMPARE=TRUE"
42
43
-D "TEST_REFERENCE:STRING=PHDF5 example finished with no errors"
43
44
-D "TEST_LIBRARY_DIRECTORY=${CMAKE_TEST_LIB_DIRECTORY} "
44
45
-P "${H5EX_RESOURCES_DIR} /runTest.cmake"
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ if (H5EX_BUILD_TESTING)
50
50
-D "TEST_EXPECT=0"
51
51
-D "TEST_SKIP_COMPARE=TRUE"
52
52
-D "TEST_OUTPUT=${testname} .out"
53
+ -D "TEST_GREP_COMPARE=TRUE"
53
54
-D "TEST_REFERENCE:STRING=PHDF5 example finished with no errors"
54
55
-D "TEST_LIBRARY_DIRECTORY=${CMAKE_TEST_LIB_DIRECTORY} "
55
56
-P "${H5EX_RESOURCES_DIR} /runTest.cmake"
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ if (NOT TEST_SKIP_COMPARE)
386
386
endif () # TEST_SKIP_COMPARE
387
387
388
388
set (TEST_GREP_RESULT 0 )
389
- if (TEST_GREP_COMPARE AND EXISTS "${TEST_FOLDER} /${TEST_OUTPUT} " )
389
+ if (TEST_GREP_COMPARE AND TEST_SKIP_COMPARE AND EXISTS "${TEST_FOLDER} /${TEST_OUTPUT} " )
390
390
# now grep the output with the reference
391
391
file (READ ${TEST_FOLDER} /${TEST_OUTPUT} TEST_STREAM )
392
392
list (LENGTH TEST_STREAM test_len )
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ if (NOT TEST_SKIP_COMPARE)
386
386
endif () # TEST_SKIP_COMPARE
387
387
388
388
set (TEST_GREP_RESULT 0 )
389
- if (TEST_GREP_COMPARE AND EXISTS "${TEST_FOLDER} /${TEST_OUTPUT} " )
389
+ if (TEST_GREP_COMPARE AND TEST_SKIP_COMPARE AND EXISTS "${TEST_FOLDER} /${TEST_OUTPUT} " )
390
390
# now grep the output with the reference
391
391
file (READ ${TEST_FOLDER} /${TEST_OUTPUT} TEST_STREAM )
392
392
list (LENGTH TEST_STREAM test_len )
Original file line number Diff line number Diff line change 851
851
-D "TEST_ERRREF=${result_errcheck} "
852
852
-D "TEST_ENV_VAR:STRING=${envvar} "
853
853
-D "TEST_ENV_VALUE:STRING=${envval} "
854
- -D "TEST_GREP_COMPARE=TRUE"
855
854
-P "${HDF_RESOURCES_DIR} /runTest.cmake"
856
855
)
857
856
set_tests_properties (H5DUMP-${resultfile} PROPERTIES
Original file line number Diff line number Diff line change 116
116
-D "TEST_EXPECT=${resultcode} "
117
117
-D "TEST_REFERENCE=${resultfile} .ddl"
118
118
-D "TEST_ERRREF=${result_errcheck} "
119
- -D "TEST_GREP_COMPARE=TRUE"
120
119
-P "${HDF_RESOURCES_DIR} /runTest.cmake"
121
120
)
122
121
else ()
Original file line number Diff line number Diff line change 803
803
-D "TEST_FOLDER=${PROJECT_BINARY_DIR} /testfiles"
804
804
-D "TEST_OUTPUT=${testfile} -${testname} -v.out"
805
805
-D "TEST_EXPECT=${resultcode} "
806
+ -D "TEST_SKIP_COMPARE=TRUE"
806
807
-D "TEST_GREP_FILTER:STRING=${testfilter} "
807
808
-D "TEST_REFERENCE=${testfilter} "
808
809
-D "TEST_GREP_COMPARE=TRUE"
830
831
-D "TEST_FOLDER=${PROJECT_BINARY_DIR} /testfiles"
831
832
-D "TEST_OUTPUT=${testfile} -${testname} -v.out"
832
833
-D "TEST_EXPECT=0"
834
+ -D "TEST_SKIP_COMPARE=TRUE"
833
835
-D "TEST_GREP_EXPECT=${resultcode} "
834
836
-D "TEST_GREP_FILTER:STRING=${nottestfilter} "
835
837
-D "TEST_REFERENCE=${testfilter} "
937
939
-D "TEST_FOLDER=${PROJECT_BINARY_DIR} /testfiles"
938
940
-D "TEST_OUTPUT=${testfile} -${testname} -v.out"
939
941
-D "TEST_EXPECT=0"
942
+ -D "TEST_SKIP_COMPARE=TRUE"
940
943
-D "TEST_GREP_FILTER:STRING=SUPERBLOCK_VERSION ${superblock} "
941
944
-D "TEST_REFERENCE=SUPERBLOCK_VERSION ${superblock} "
942
945
-D "TEST_GREP_COMPARE=TRUE"
1008
1011
-D "TEST_FOLDER=${PROJECT_BINARY_DIR} /testfiles"
1009
1012
-D "TEST_OUTPUT=${testfile} -${testname} -v.out"
1010
1013
-D "TEST_EXPECT=0"
1014
+ -D "TEST_SKIP_COMPARE=TRUE"
1011
1015
-D "TEST_GREP_FILTER:STRING=USERBLOCK_SIZE ${userblocksize} "
1012
1016
-D "TEST_REFERENCE=USERBLOCK_SIZE ${userblocksize} "
1013
1017
-D "TEST_GREP_COMPARE=TRUE"
You can’t perform that action at this time.
0 commit comments