waf: coverage: run the 'examples', 'unit_test' and heli tests

run the code coverage as normal:
./waf configure --enable-gcov
./waf build --lcov-report
This commit is contained in:
Buzz 2019-07-02 09:49:17 +10:00 committed by Peter Barker
parent 76663d66e8
commit a79afefa39

View File

@ -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...")