1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

tdb/wscript: Remove unecessary semicolons.

This commit is contained in:
Jelmer Vernooij 2012-05-28 14:16:44 +02:00
parent 59daf91f39
commit bf5934ca1b

View File

@ -167,7 +167,7 @@ def build(bld):
def testonly(ctx):
'''run tdb testsuite'''
import Utils, samba_utils, shutil
ecode = 0;
ecode = 0
test_prefix = "%s/st" % (Utils.g_module.blddir)
shutil.rmtree(test_prefix, ignore_errors=True)
@ -192,15 +192,15 @@ def testonly(ctx):
if ret != 0:
print("%s failed:" % f)
samba_utils.RUN_COMMAND("cat " + os.path.join(testdir, 'test-output'))
ecode = ret;
break;
ecode = ret
break
if ecode == 0:
cmd = os.path.join(Utils.g_module.blddir, 'tdbtorture')
ret = samba_utils.RUN_COMMAND(cmd)
print("testsuite returned %d" % ret)
if ret != 0:
ecode = ret;
ecode = ret
sys.exit(ecode)
# WAF doesn't build the unit tests for this, maybe because they don't link with tdb?