mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:33:34 +08:00
sitl testing exclude tests
This commit is contained in:
committed by
Lorenz Meier
parent
97bc0f4486
commit
351b3d20cb
@@ -162,8 +162,16 @@ set(tests_exclude
|
||||
uart_break
|
||||
uart_console
|
||||
uart_loopback
|
||||
uart_send
|
||||
)
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
list(APPEND tests_exclude
|
||||
hysteresis
|
||||
mixer
|
||||
)
|
||||
endif()
|
||||
|
||||
foreach(test_name ${test_src_files})
|
||||
string(REPLACE "test_" "" test_name ${test_name})
|
||||
string(REPLACE ".cpp" "" test_name ${test_name})
|
||||
@@ -175,7 +183,7 @@ foreach(test_name ${test_src_files})
|
||||
add_test(NAME ${test_name}
|
||||
COMMAND ${PX4_SOURCE_DIR}/Tools/sitl_run.sh
|
||||
$<TARGET_FILE:px4>
|
||||
posix-configs/SITL/init/test/
|
||||
posix-configs/SITL/init/test
|
||||
none
|
||||
none
|
||||
${test_name}_generated
|
||||
|
||||
Reference in New Issue
Block a user