Skip to content
Snippets Groups Projects
Commit fff14f62 authored by Gustavo Jose de Sousa's avatar Gustavo Jose de Sousa Committed by Lucas De Marchi
Browse files

waf: add check-all shortcut

A shortcut for `waf check --alltests`.
parent 8718f5be
No related branches found
No related tags found
No related merge requests found
...@@ -123,6 +123,10 @@ def build(bld): ...@@ -123,6 +123,10 @@ def build(bld):
bld.load('ardupilotwaf') bld.load('ardupilotwaf')
bld.load('gtest') bld.load('gtest')
if bld.cmd == 'check-all':
bld.options.all_tests = True
bld.cmd = 'check'
#generate mavlink headers #generate mavlink headers
bld( bld(
features='mavgen', features='mavgen',
...@@ -191,6 +195,10 @@ ardupilotwaf.build_command('check', ...@@ -191,6 +195,10 @@ ardupilotwaf.build_command('check',
program_group_list='all', program_group_list='all',
doc='builds all programs and run tests', 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', ardupilotwaf.build_command('copter',
targets='bin/arducopter', targets='bin/arducopter',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment