From a79afefa3971ed91f58fb9526f89871f66095c52 Mon Sep 17 00:00:00 2001 From: Buzz Date: Tue, 2 Jul 2019 09:49:17 +1000 Subject: [PATCH] waf: coverage: run the 'examples', 'unit_test' and heli tests run the code coverage as normal: ./waf configure --enable-gcov ./waf build --lcov-report --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 4f659a781e..10d7280056 100644 --- a/wscript +++ b/wscript @@ -235,7 +235,10 @@ def run_coverage_tests(bld): #tests = ['fly.ArduPlane'] #tests = ['fly.ArduCopter','fly.ArduPlane'] - tests = ['fly.ArduCopter','fly.ArduPlane', 'fly.QuadPlane', 'drive.APMrover2', 'dive.ArduSub'] + #tests = ['fly.ArduCopter','fly.ArduPlane', 'fly.QuadPlane', 'drive.APMrover2', 'dive.ArduSub'] + tests = ['build.examples','build.unit_tests','run.examples','run.unit_tests', + 'fly.ArduCopter','fly.ArduPlane', 'fly.QuadPlane', 'drive.APMrover2', 'dive.ArduSub', + 'test.AntennaTracker', 'fly.CopterAVC' ] for test in tests: print("LCOV/GCOV -> "+test+" started.... this will take quite some time...")