File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,17 @@ function(set_test test_name)
1616 set_tests_properties (${test_name} PROPERTIES TIMEOUT ${TESTING_TIMEOUT} )
1717
1818 if (DEFINED test_param_LABELS)
19- set_tests_properties (${test_name} PROPERTIES LABELS "${test_param_LABELS} " )
20-
21- list (FIND ${test_param_LABELS} Tablespace test_num_labels)
19+ list (FIND test_param_LABELS Tablespace test_num_labels)
2220 if (${test_num_labels} EQUAL -1)
21+ list (APPEND test_param_LABELS "NoTablespace" )
22+ else ()
2323 set_tests_properties (${test_name}
2424 PROPERTIES FIXTURES_REQUIRED Tablespace )
2525 endif ()
26+
27+ set_tests_properties (${test_name} PROPERTIES LABELS "${test_param_LABELS} " )
28+ else ()
29+ set_tests_properties (${test_name} PROPERTIES LABELS NoTablespace )
2630 endif ()
2731
2832 message (STATUS "Added test: ${test_name} ..." )
You can’t perform that action at this time.
0 commit comments