waf: add check-all shortcut

A shortcut for `waf check --alltests`.
This commit is contained in:
Gustavo Jose de Sousa 2016-01-27 16:39:40 +00:00 committed by Lucas De Marchi
parent 8718f5be4f
commit fff14f6262
1 changed files with 8 additions and 0 deletions

View File

@ -123,6 +123,10 @@ def build(bld):
bld.load('ardupilotwaf')
bld.load('gtest')
if bld.cmd == 'check-all':
bld.options.all_tests = True
bld.cmd = 'check'
#generate mavlink headers
bld(
features='mavgen',
@ -191,6 +195,10 @@ ardupilotwaf.build_command('check',
program_group_list='all',
doc='builds all programs and run tests',
)
ardupilotwaf.build_command('check-all',
program_group_list='all',
doc='shortcut for `waf check --alltests`',
)
ardupilotwaf.build_command('copter',
targets='bin/arducopter',