summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-27 21:07:07 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-30 22:58:04 +0100
commit3eb5cf2914de4ab185c91136fc2de115933a4a37 (patch)
treed9ac0e5d7d84190357a801a79840a8fb7f659b6e /selftest/wscript
parent7c1a88439664d8c19341cecddb428cac918042be (diff)
downloadsamba-3eb5cf2914de4ab185c91136fc2de115933a4a37.tar.gz
samba-3eb5cf2914de4ab185c91136fc2de115933a4a37.tar.bz2
samba-3eb5cf2914de4ab185c91136fc2de115933a4a37.zip
selftest: Prevent error about unfinished test command when using --list.
Diffstat (limited to 'selftest/wscript')
-rw-r--r--selftest/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/wscript b/selftest/wscript
index 1509b1a5a4..7dd3ed265f 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -199,7 +199,7 @@ def cmd_testonly(opt):
print("ERROR: test failed with exit code %d" % ret)
sys.exit(ret)
- if not os.path.exists(st_done):
+ if not Options.options.LIST and not os.path.exists(st_done):
print("ERROR: test command failed to complete")
sys.exit(1)