mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
s4-test: silence a tap2subunit error
This commit is contained in:
parent
762ad1c4ba
commit
3bb59255bb
@ -139,7 +139,7 @@ else:
|
||||
def smb4torture_testsuites(prefix):
|
||||
return filter(lambda x: x.startswith(prefix), smb4torture_testsuite_list)
|
||||
|
||||
sub = subprocess.Popen("tap2subunit", stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True)
|
||||
sub = subprocess.Popen("tap2subunit 2> /dev/null", stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True)
|
||||
sub.communicate("")
|
||||
if sub.returncode != 0:
|
||||
tap2subunit = "PYTHONPATH=%s/../lib/subunit/python:%s/../lib/testtools %s %s/../lib/subunit/filters/tap2subunit" % (samba4srcdir, samba4srcdir, python, samba4srcdir)
|
||||
|
Loading…
Reference in New Issue
Block a user