summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-11-01 13:54:31 -0700
committerJelmer Vernooij <jelmer@samba.org>2014-11-24 13:06:46 +0100
commitb7efc124065612d9c4c35e2e7447a5ee5d150d1f (patch)
treee2b619e964c2d2030a2a03e77de885488069cf7e /selftest/wscript
parent869a9f7a3a01810c1c1e3287b82034f67457b0b5 (diff)
downloadsamba-b7efc124065612d9c4c35e2e7447a5ee5d150d1f.tar.gz
Print number of slow tests from script rather than wscript.
Change-Id: I6eaa0803b95cc81f514a2176f4e06f1e3fff4077 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Mon Nov 24 13:06:46 CET 2014 on sn-devel-104
Diffstat (limited to 'selftest/wscript')
-rw-r--r--selftest/wscript5
1 files changed, 2 insertions, 3 deletions
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)