mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
mavsdk_tests: rename C++ executable
The executable contains all tests, so the name was a poor choice.
This commit is contained in:
@@ -2,18 +2,18 @@ cmake_minimum_required(VERSION 3.5.1)
|
||||
|
||||
find_package(MAVSDK REQUIRED)
|
||||
|
||||
add_executable(test_mission_multicopter
|
||||
add_executable(mavsdk_tests
|
||||
test_main.cpp
|
||||
autopilot_tester.cpp
|
||||
test_mission_multicopter.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(test_mission_multicopter
|
||||
target_link_libraries(mavsdk_tests
|
||||
MAVSDK::mavsdk
|
||||
MAVSDK::mavsdk_action
|
||||
MAVSDK::mavsdk_mission
|
||||
MAVSDK::mavsdk_telemetry
|
||||
)
|
||||
|
||||
target_compile_options(test_mission_multicopter
|
||||
target_compile_options(mavsdk_tests
|
||||
PRIVATE -std=c++17 -Wall -Wextra -Werror)
|
||||
|
||||
@@ -124,7 +124,7 @@ class TestRunner(Runner):
|
||||
super().__init__(log_dir)
|
||||
self.env = {"PATH": os.environ['PATH']}
|
||||
self.cmd = workspace_dir + \
|
||||
"/build/px4_sitl_default/test_mission_multicopter"
|
||||
"/build/px4_sitl_default/mavsdk_tests"
|
||||
self.args = [config['test_filter']]
|
||||
self.log_prefix = "test_runner"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user