summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'selftest')
-rw-r--r--selftest/wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/selftest/wscript b/selftest/wscript
index 4d3d8f2841..b469709a8a 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -205,5 +205,12 @@ def cmd_testonly(opt):
# main test entry point
def cmd_test(opt):
'''Run the test suite (see test options below)'''
+
+ # if running all tests, then force a symbol check
+ env = LOAD_ENVIRONMENT()
+ CHECK_MAKEFLAGS(env)
+ if not Options.options.TESTS:
+ Options.options.DUP_SYMBOLCHECK = True
+
Scripting.commands.append('build')
Scripting.commands.append('testonly')