summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript/show_testsuite_time2
-rw-r--r--selftest/wscript5
2 files changed, 4 insertions, 3 deletions
diff --git a/script/show_testsuite_time b/script/show_testsuite_time
index fb9ea2f94f4..6e5808a0115 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 fd925311a2a..cf57adc83f3 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)