If/elif fix so running just mesontest actually runs the tests after doing a rebuild.

This commit is contained in:
Jussi Pakkanen 2016-12-10 19:34:44 +02:00
parent 22aedda6d0
commit f2b3ab826b
1 changed files with 2 additions and 2 deletions

View File

@ -465,8 +465,8 @@ def run(args):
return th.run_special()
if not options.no_rebuild:
if not th.rebuild_all():
return -1
elif len(options.args) == 0:
sys.exit(-1)
if len(options.args) == 0:
return th.doit()
return th.run_special()