diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2016-11-22 14:13:15 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-11-22 14:13:20 -0300 |
commit | 9644e8b8defd4c21c2d1453f65d3bc6307bace54 (patch) | |
tree | 417c5499e09b7338b36c2d4c5c6f891875b469f5 | |
parent | 587a0bb3d14addcacd62282a46957b86d582f1be (diff) | |
download | meson-9644e8b8defd4c21c2d1453f65d3bc6307bace54.zip meson-9644e8b8defd4c21c2d1453f65d3bc6307bace54.tar.gz meson-9644e8b8defd4c21c2d1453f65d3bc6307bace54.tar.bz2 |
mesontest: Fix --list option
The listing code path could not be hit when running mesontest --list
-rwxr-xr-x | mesontest.py | 4 |
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() |