sitl_tests: add prefix "sitl-" for regex test filtering

This commit is contained in:
Matthias Grob
2019-04-23 07:43:35 +01:00
parent 5020dfdc3d
commit 5a90382cb8
2 changed files with 6 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ function(px4_add_gtest)
# infer test name from source filname
get_filename_component(TESTNAME ${SRC} NAME_WE)
string(REPLACE Test "" TESTNAME ${TESTNAME})
set(TESTNAME UnitTest-${TESTNAME})
set(TESTNAME unit-${TESTNAME})
# build a binary for the unit test
add_executable(${TESTNAME} EXCLUDE_FROM_ALL ${SRC})