summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--selftest/wscript7
2 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0552052332..3b40c73d95 100644
--- a/Makefile
+++ b/Makefile
@@ -13,20 +13,20 @@ uninstall:
$(WAF) uninstall
test:
- $(WAF) test --dup-symbol-check $(TEST_OPTIONS)
+ $(WAF) test $(TEST_OPTIONS)
help:
@echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
$(WAF) --help
subunit-test:
- $(WAF) test --dup-symbol-check --filtered-subunit $(TEST_OPTIONS)
+ $(WAF) test --filtered-subunit $(TEST_OPTIONS)
testenv:
- $(WAF) test --dup-symbol-check --testenv $(TEST_OPTIONS)
+ $(WAF) test --testenv $(TEST_OPTIONS)
quicktest:
- $(WAF) test --dup-symbol-check --quick $(TEST_OPTIONS)
+ $(WAF) test --quick $(TEST_OPTIONS)
dist:
touch .tmplock
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')