aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmesontest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesontest.py b/mesontest.py
index 04f72df..d12e7de 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -367,7 +367,9 @@ def run(args):
if options.benchmark:
options.num_processes = 1
th = TestHarness(options)
- if len(options.args) == 0:
+ if options.list:
+ return th.run_special()
+ elif len(options.args) == 0:
return th.doit()
return th.run_special()