From 3eb5cf2914de4ab185c91136fc2de115933a4a37 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 27 Nov 2011 21:07:07 +0100 Subject: selftest: Prevent error about unfinished test command when using --list. --- selftest/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selftest/wscript') 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) -- cgit