From a04eac7aa2f5f9388cf92a8a79e0bd6938f8fd22 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Nov 2011 13:08:37 +1100 Subject: build: only run symbol checking if running all tests this makes it much faster to run 1 test Pair-Programmed-With: Amitay Isaacs --- selftest/wscript | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'selftest/wscript') 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') -- cgit