aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-14 10:05:57 -0400
committerJack Lloyd <[email protected]>2018-04-14 10:05:57 -0400
commit92605ef479e6b12a095a5451d20bcbcc72007c09 (patch)
treef2a8541c0dd4a15c5681316954b0fdb69f604aaa /configure.py
parent7b466251c4260a0c822baeaa2857d54f8d0dbb1e (diff)
Add an explicit test mode build
GH #1537
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index bf4cf1365..8e2c807a2 100755
--- a/configure.py
+++ b/configure.py
@@ -3,7 +3,7 @@
"""
Configuration program for botan
-(C) 2009,2010,2011,2012,2013,2014,2015,2016,2017 Jack Lloyd
+(C) 2009,2010,2011,2012,2013,2014,2015,2016,2017,2018 Jack Lloyd
(C) 2015,2016,2017 Simon Warta (Kullo GmbH)
Botan is released under the Simplified BSD License (see license.txt)
@@ -460,6 +460,12 @@ def process_command_line(args): # pylint: disable=too-many-locals
build_group.add_option('--with-fuzzer-lib', metavar='LIB', default=None, dest='fuzzer_lib',
help='additionally link in LIB')
+ build_group.add_option('--test-mode', action='store_true', default=False,
+ help=optparse.SUPPRESS_HELP)
+
+ build_group.add_option('--with-debug-asserts', action='store_true', default=False,
+ help=optparse.SUPPRESS_HELP)
+
docs_group = optparse.OptionGroup(parser, 'Documentation Options')
docs_group.add_option('--with-documentation', action='store_true',
@@ -1947,7 +1953,8 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch,
'with_valgrind': options.with_valgrind,
'with_openmp': options.with_openmp,
- 'with_debug_asserts': options.debug_mode,
+ 'with_debug_asserts': options.with_debug_asserts,
+ 'test_mode': options.test_mode,
'mod_list': sorted([m.basename for m in modules])
}