diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-05-28 14:16:44 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-06-19 02:43:23 +0200 |
commit | bf5934ca1b80930d8fd2f19ef12e32092b34fa4d (patch) | |
tree | 2fd7daad9400ce2c4d94d780e39db0d3df3c09e3 /lib | |
parent | 59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5 (diff) | |
download | samba-bf5934ca1b80930d8fd2f19ef12e32092b34fa4d.tar.gz samba-bf5934ca1b80930d8fd2f19ef12e32092b34fa4d.tar.bz2 samba-bf5934ca1b80930d8fd2f19ef12e32092b34fa4d.zip |
tdb/wscript: Remove unecessary semicolons.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tdb/wscript | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript index d475204d0b..e28e43acac 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -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? |