mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 17:36:40 +08:00
sitl_tests: add prefix "sitl-" for regex test filtering
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user