mesontest: Fix --list option

The listing code path could not be hit when running mesontest --list
pull/1087/head
Thibault Saunier 8 years ago
parent 587a0bb3d1
commit 9644e8b8de
  1. 4
      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()

Loading…
Cancel
Save