aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-11-09 18:58:28 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-11-09 15:00:28 -0500
commit5603f90287695fc6e092f2701ec222e4fddc3899 (patch)
tree0ed330e523a5575d1a551cc5d4d0f4cc2565ea83 /run_project_tests.py
parent5fdac48250c0e4a7ad6e9b92041ab7b4d1bd02ec (diff)
downloadmeson-5603f90287695fc6e092f2701ec222e4fddc3899.zip
meson-5603f90287695fc6e092f2701ec222e4fddc3899.tar.gz
meson-5603f90287695fc6e092f2701ec222e4fddc3899.tar.bz2
Allow tests to mark themselves as skipped during runtime.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index e373ffa..b70fecc 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -379,7 +379,7 @@ def run_tests(extra_args):
futures.append((testname, t, result))
for (testname, t, result) in futures:
result = result.result()
- if result is None:
+ if result is None or 'MESON_SKIP_TEST' in result.stdo:
print('Skipping:', t)
current_test = ET.SubElement(current_suite, 'testcase', {'name' : testname,
'classname' : name})