summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-25 12:36:28 +0100
committerDavid Robillard <d@drobilla.net>2020-10-25 12:37:45 +0100
commitd6984670107b73122d4105d6039a7ce41df9702a (patch)
tree59404b88ad484a9f9933d8e2e415d670a0956534
parent54f837713a447a49f3be2d47e22364f8420c5f0d (diff)
downloadautowaf-d6984670107b73122d4105d6039a7ce41df9702a.tar.gz
autowaf-d6984670107b73122d4105d6039a7ce41df9702a.tar.bz2
autowaf-d6984670107b73122d4105d6039a7ce41df9702a.zip
Rename test_wrapper option to wrapper
This can be used in projects without tests, particularly when cross-compiling.
-rw-r--r--extras/autowaf.py6
1 files 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):