mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
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
This commit is contained in:
parent
869a9f7a3a
commit
b7efc12406
@ -22,6 +22,8 @@ if ($#ARGV >= 1) {
|
||||
}
|
||||
}
|
||||
|
||||
print "TOP $max slowest tests\n";
|
||||
|
||||
while(<$fh>)
|
||||
{
|
||||
if (m/^testsuite: (.*)/) {
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user