From: Jelmer Vernooij Date: Sun, 27 Nov 2011 20:07:07 +0000 (+0100) Subject: selftest: Prevent error about unfinished test command when using --list. X-Git-Tag: ldb-1.1.4~3 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=3eb5cf2914de4ab185c91136fc2de115933a4a37 selftest: Prevent error about unfinished test command when using --list. --- diff --git a/selftest/wscript b/selftest/wscript index 1509b1a5a43..7dd3ed265f1 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)