diff options
-rwxr-xr-x | script/show_testsuite_time | 2 | ||||
-rw-r--r-- | selftest/wscript | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/script/show_testsuite_time b/script/show_testsuite_time index fb9ea2f94f..6e5808a011 100755 --- a/script/show_testsuite_time +++ b/script/show_testsuite_time @@ -22,6 +22,8 @@ if ($#ARGV >= 1) { } } +print "TOP $max slowest tests\n"; + while(<$fh>) { if (m/^testsuite: (.*)/) { diff --git a/selftest/wscript b/selftest/wscript index fd925311a2..cf57adc83f 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -135,10 +135,10 @@ def cmd_testonly(opt): 'nmblookup4:nmblookup4,' + 'smbclient3:smbclient,' + 'smbclient4:smbclient4,' + - 'smbtorture4:smbtorture,' + + 'smbtorture4:smbtorture,' + 'ntlm_auth3:ntlm_auth') - env.OPTIONS = '--binary-mapping=%s' % binary_mapping + env.OPTIONS = '--binary-mapping=%s' % binary_mapping if not Options.options.SLOWTEST: env.OPTIONS += ' --exclude=${srcdir}/selftest/slow' if Options.options.QUICKTEST: @@ -241,7 +241,6 @@ def cmd_testonly(opt): subunit_file = "%s/subunit" % env.SELFTEST_PREFIX if os.path.exists(subunit_file): nb = Options.options.NB_SLOWEST - print "TOP %d slowest tests" % nb cmd = "./script/show_testsuite_time %s %d" % (subunit_file, nb) runcmd = EXPAND_VARIABLES(opt, cmd) RUN_COMMAND(runcmd, env=env) |