aboutsummaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-06-30 00:31:54 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-06-30 11:18:26 -0400
commitc0ab6e9d5b9cb5e98d3d17eca42b9d596b873b0a (patch)
tree47499078272282213cb8b7da48f8dadb8842e6e6 /mesontest.py
parent241790f72d527b75ffd941dc0422ffbcd38e884b (diff)
downloadmeson-c0ab6e9d5b9cb5e98d3d17eca42b9d596b873b0a.zip
meson-c0ab6e9d5b9cb5e98d3d17eca42b9d596b873b0a.tar.gz
meson-c0ab6e9d5b9cb5e98d3d17eca42b9d596b873b0a.tar.bz2
Don't rebuild tests during listing.
`mesontest --list` doesn't need to rebuild tests.
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesontest.py b/mesontest.py
index 9421c7f..7f0d342 100755
--- a/mesontest.py
+++ b/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)