Don't rebuild tests during listing.

`mesontest --list` doesn't need to rebuild tests.
pull/2015/head
Elliott Sales de Andrade 7 years ago committed by Jussi Pakkanen
parent 241790f72d
commit c0ab6e9d5b
  1. 2
      mesontest.py

@ -602,7 +602,7 @@ def run(args):
sys.exit("Could not find requested program: %s" % check_bin)
options.wd = os.path.abspath(options.wd)
if not options.no_rebuild:
if not options.list and not options.no_rebuild:
if not rebuild_all(options.wd):
sys.exit(-1)

Loading…
Cancel
Save