From bb1c08fdd1446bf197de6d18736a6059dcfaf914 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 28 Jan 2020 16:37:21 +0100 Subject: [PATCH] mavsdk_tests: enable VTOL, fix TEST_CASE name We can't use commas in the TEST_CASE name. With the comma, the test did not run and displayed: Filters: Takeoff, transition and RTL No test cases matched 'Takeoff' No test cases matched 'transition and RTL' ========================================== No tests ran --- test/mavsdk_tests/mavsdk_test_runner.py | 10 +++++----- test/mavsdk_tests/test_mission_vtol.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/mavsdk_tests/mavsdk_test_runner.py b/test/mavsdk_tests/mavsdk_test_runner.py index 15121cd9aa..48c9a126ed 100755 --- a/test/mavsdk_tests/mavsdk_test_runner.py +++ b/test/mavsdk_tests/mavsdk_test_runner.py @@ -17,11 +17,11 @@ test_matrix = [ "test_filter": "[multicopter]", "timeout_min": 20, }, - #{ - # "model": "standard_vtol", - # "test_filter": "[vtol]", - # "timeout_min": 20, - #}, + { + "model": "standard_vtol", + "test_filter": "[vtol]", + "timeout_min": 20, + }, # { # "model": "standard_plane", # "test_filter": "[plane]", diff --git a/test/mavsdk_tests/test_mission_vtol.cpp b/test/mavsdk_tests/test_mission_vtol.cpp index eecaf3ca27..5d8ff73747 100644 --- a/test/mavsdk_tests/test_mission_vtol.cpp +++ b/test/mavsdk_tests/test_mission_vtol.cpp @@ -11,7 +11,7 @@ #include "autopilot_tester.h" -TEST_CASE("Takeoff, transition and RTL", "[vtol]") +TEST_CASE("Takeoff and transition and RTL", "[vtol]") { AutopilotTester tester; tester.connect(connection_url);