chore: handle empty dirs more gracefully (#13062)
This PR demotes the cmake error to a warning because it tends to get triggered by a combination of add_dir_of_test_dirs and git checkout not removing untracked files.
This commit is contained in:
parent
aef0cea683
commit
482d7a11f2
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ function(check_test_bench_scripts DIR)
|
|||
|
||||
if(NOT RUN_TEST_EXISTS AND NOT RUN_BENCH_EXISTS)
|
||||
cmake_path(RELATIVE_PATH DIR)
|
||||
message(FATAL_ERROR "${DIR}: Found neither a run_test nor a run_bench file")
|
||||
message(AUTHOR_WARNING "${DIR}: Found neither a run_test nor a run_bench file")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue