mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 03:13:44 +08:00
tests command ignore -Wunused-variable (#10442)
This commit is contained in:
@@ -36,6 +36,7 @@ set(srcs
|
||||
test_autodeclination.cpp
|
||||
test_bezierQuad.cpp
|
||||
test_bson.cpp
|
||||
test_controlmath.cpp
|
||||
test_conv.cpp
|
||||
test_dataman.c
|
||||
test_file.c
|
||||
@@ -65,13 +66,12 @@ set(srcs
|
||||
test_sensors.c
|
||||
test_servo.c
|
||||
test_sleep.c
|
||||
test_smooth_z.cpp
|
||||
test_uart_baudchange.c
|
||||
test_uart_console.c
|
||||
test_uart_loopback.c
|
||||
test_uart_send.c
|
||||
test_versioning.cpp
|
||||
test_smooth_z.cpp
|
||||
test_controlmath.cpp
|
||||
tests_main.c
|
||||
)
|
||||
|
||||
@@ -87,13 +87,14 @@ px4_add_module(
|
||||
MAIN tests
|
||||
STACK_MAIN 10000
|
||||
COMPILE_FLAGS
|
||||
-Wno-sign-compare # TODO: fix all sign-compare
|
||||
-Wno-unused-result
|
||||
-Wno-double-promotion
|
||||
-Wno-float-equal
|
||||
-Wno-missing-declarations
|
||||
-Wno-double-promotion
|
||||
-Wno-sign-compare # TODO: fix all sign-compare
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-unused-but-set-variable
|
||||
-Wno-unused-result
|
||||
-Wno-unused-variable
|
||||
SRCS
|
||||
${srcs}
|
||||
DEPENDS
|
||||
|
||||
Reference in New Issue
Block a user