mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 07:23:33 +08:00
testing build: add possibility to filter tests with ctest regex
This commit is contained in:
@@ -349,6 +349,7 @@ unit_test:
|
||||
tests:
|
||||
$(eval CMAKE_ARGS += -DCMAKE_TESTING=ON)
|
||||
$(eval CMAKE_ARGS += -DCONFIG=px4_sitl_test)
|
||||
$(eval CMAKE_ARGS += -DTESTFILTER=$(TESTFILTER))
|
||||
$(eval ARGS += test_results)
|
||||
$(eval ASAN_OPTIONS += color=always:check_initialization_order=1:detect_stack_use_after_return=1)
|
||||
$(eval UBSAN_OPTIONS += color=always)
|
||||
|
||||
Reference in New Issue
Block a user