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