aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)