From 548e8aef2a87a4de67a653618cfbf3e0d1dbef65 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 6 Nov 2021 09:19:40 +1100 Subject: [PATCH] Tools: run BalanceBot and SailBoat tests as part of coverage --- Tools/scripts/run_coverage.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Tools/scripts/run_coverage.py b/Tools/scripts/run_coverage.py index 11fd46519a..f6e0d75429 100755 --- a/Tools/scripts/run_coverage.py +++ b/Tools/scripts/run_coverage.py @@ -161,8 +161,7 @@ class CoverageRunner(object): "--debug", "--no-clean", "--speedup=" + str(SPEEDUP), - "run.examples" - ], check=self.check_tests) + "run.examples"], check=self.check_tests) self.progress("Running run.unit_tests") subprocess.run( [self.autotest, @@ -173,15 +172,14 @@ class CoverageRunner(object): subprocess.run(["reset"], check=True) os.set_blocking(sys.stdout.fileno(), True) os.set_blocking(sys.stderr.fileno(), True) - test_list = ["Plane", "QuadPlane", "Sub", "Copter", "Helicopter", "Rover", "Tracker"] + test_list = ["Plane", "QuadPlane", "Sub", "Copter", "Helicopter", "Rover", "Tracker", "BalanceBot", "Sailboat"] for test in test_list: self.progress("Running test.%s" % test) subprocess.run([self.autotest, "--timeout=" + str(TIMEOUT), "--debug", "--no-clean", - "test.%s" % test, - ], check=self.check_tests) + "test.%s" % test], check=self.check_tests) # TODO add any other execution path/s we can to maximise the actually # used code, can we run other tests or things? Replay, perhaps? self.update_stats()