aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-07-23 18:40:25 +0300
committerGitHub <noreply@github.com>2021-07-23 18:40:25 +0300
commitdb6efa06c2138c7f24c94a3586649eecd44b3d04 (patch)
tree6448099a9986701496be930a3008c67f3184242f /run_project_tests.py
parent5583e44826e66f5721c9c18378f932760baf2263 (diff)
parent3c81ff8f0017ac56ed35b1c7f999c56a7e88bd89 (diff)
downloadmeson-db6efa06c2138c7f24c94a3586649eecd44b3d04.zip
meson-db6efa06c2138c7f24c94a3586649eecd44b3d04.tar.gz
meson-db6efa06c2138c7f24c94a3586649eecd44b3d04.tar.bz2
Merge pull request #9005 from jon-turney/xskip-ci-2
Add expected skip annotations for non-linux CI runs to framework tests
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 57a8188..648ec47 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -962,12 +962,6 @@ def skip_dont_care(t: TestDef) -> bool:
if not t.category.endswith('frameworks'):
return True
- # For the moment, all skips in jobs which don't set MESON_CI_JOBNAME are
- # treated as expected. In the future, we should make it mandatory to set
- # MESON_CI_JOBNAME for all CI jobs.
- if ci_jobname is None:
- return True
-
return False
def skip_csharp(backend: Backend) -> bool:
@@ -1490,6 +1484,9 @@ def clear_transitive_files() -> None:
mesonlib.windows_proof_rm(str(d))
if __name__ == '__main__':
+ if under_ci and not ci_jobname:
+ raise SystemExit('Running under CI but MESON_CI_JOBNAME is not set')
+
setup_vsenv()
try: