From 662e45fda230e6885343fb64248d1be9505e8b76 Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Wed, 17 Feb 2016 12:55:59 +0000 Subject: [PATCH] waf: move --check-verbose option declaration We move it to the correct "scope", that is, ardupilotwaf.py, where it's really used. --- Tools/ardupilotwaf/ardupilotwaf.py | 5 +++++ wscript | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index e19b48f23b..cc54385b52 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -316,6 +316,11 @@ def options(opt): 'examples. The special group "all" selects all programs.', ) + g = opt.ap_groups['check'] + g.add_option('--check-verbose', + action='store_true', + help='Output all test programs') + def build(bld): global LAST_IDX # FIXME: This is done to prevent same task generators being created with diff --git a/wscript b/wscript index b9dea106db..dd56ca9925 100644 --- a/wscript +++ b/wscript @@ -57,11 +57,6 @@ def options(opt): default='sitl', help='Target board to build, choices are %s' % boards_names) - g = opt.ap_groups['check'] - g.add_option('--check-verbose', - action='store_true', - help='Output all test programs') - g.add_option('--no-submodule-update', dest='submodule_update', action='store_false',