From d6984670107b73122d4105d6039a7ce41df9702a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 25 Oct 2020 12:36:28 +0100 Subject: Rename test_wrapper option to wrapper This can be used in projects without tests, particularly when cross-compiling. --- extras/autowaf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/autowaf.py b/extras/autowaf.py index 058246f..ada981f 100644 --- a/extras/autowaf.py +++ b/extras/autowaf.py @@ -108,9 +108,6 @@ def set_options(opt): opts.add_option('--no-coverage', action='store_true', dest='no_coverage', help='do not instrument code for test coverage') - test_opts.add_option('--wrapper', type='string', - dest='test_wrapper', - help='command prefix for tests (e.g. valgrind)') test_opts.add_option('--test-filter', type='string', dest='test_filter', help='regular expression for tests to run') @@ -119,6 +116,9 @@ def set_options(opt): run_opts = opt.add_option_group('Run options') run_opts.add_option('--cmd', type='string', dest='cmd', help='command to run from build directory') + run_opts.add_option('--wrapper', type='string', + dest='wrapper', + help='command prefix for running executables') class ConfigureContext(Configure.ConfigurationContext): -- cgit v1.2.1