Apply test directory as a label.
This isn't ideal, as it makes `restarting/from_5.2.0/potato.txt` have the label "from_5.2.0" instead of "restarting", but it does make the fast label work right.
This commit is contained in:
parent
414fb0b6c8
commit
b3e977d7c1
|
@ -247,7 +247,9 @@ function(add_fdb_test)
|
|||
${BUGGIFY_OPTION}
|
||||
${ADD_FDB_TEST_TEST_FILES}
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
|
||||
set_tests_properties(${test_name} PROPERTIES TIMEOUT ${this_test_timeout})
|
||||
get_filename_component(test_dir_full ${first_file} DIRECTORY)
|
||||
get_filename_component(test_dir ${test_dir_full} NAME)
|
||||
set_tests_properties(${test_name} PROPERTIES TIMEOUT ${this_test_timeout} LABELS "${test_dir}")
|
||||
endfunction()
|
||||
|
||||
add_fdb_test(TEST_FILES ${PROJECT_SOURCE_DIR}/tests/AsyncFileCorrectness.txt UNIT)
|
||||
|
|
Loading…
Reference in New Issue