aboutsummaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesontest.py b/mesontest.py
index 3545ed8..ff6baa1 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -519,6 +519,8 @@ TIMEOUT: %4d
if os.path.isfile('build.ninja'):
subprocess.check_call([environment.detect_ninja(), 'all'])
tests = self.get_tests()
+ if not tests:
+ return 0
self.run_tests(tests)
return self.fail_count