diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-03-24 22:52:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 22:52:15 +0200 |
commit | 54767ab482eb30a843974e985d2998f5476c906c (patch) | |
tree | 34e083053ab4f12e1643b826ef12d55a8446dfdc /run_project_tests.py | |
parent | c8826e907a3e1a2428ddec73133f3c3e6ea859a2 (diff) | |
parent | 1767c57492529fc7c3823871f861db35b89f5c1f (diff) | |
download | meson-54767ab482eb30a843974e985d2998f5476c906c.zip meson-54767ab482eb30a843974e985d2998f5476c906c.tar.gz meson-54767ab482eb30a843974e985d2998f5476c906c.tar.bz2 |
Merge pull request #8568 from dcbaker/submit/qt-dependency-factory
QT: use a proper dependency factory
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index eb918c1..2883e7e 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -853,7 +853,7 @@ def have_java(): return True return False -def skippable(suite, test): +def skippable(suite: str, test: str) -> bool: # Everything is optional when not running on CI if not under_ci: return True @@ -901,11 +901,6 @@ def skippable(suite, test): if test.endswith('34 gir static lib'): return True - # No frameworks test should be skipped on linux CI, as we expect all - # prerequisites to be installed - if mesonlib.is_linux(): - return False - # Boost test should only be skipped for windows CI build matrix entries # which don't define BOOST_ROOT if test.endswith('1 boost'): @@ -913,14 +908,22 @@ def skippable(suite, test): return 'BOOST_ROOT' not in os.environ return False - # Qt is provided on macOS by Homebrew - if test.endswith('4 qt') and mesonlib.is_osx(): - return False + # Not all OSes have all of the methods for qt (qmake and pkg-config), don't + # fail if that happens. + # + # On macOS we should have all of the requirements at all times. + if test.endswith('4 qt'): + return not mesonlib.is_osx() # Bindgen isn't available in all distros if test.endswith('12 bindgen'): return False + # No frameworks test should be skipped on linux CI, as we expect all + # prerequisites to be installed + if mesonlib.is_linux(): + return False + # Other framework tests are allowed to be skipped on other platforms return True |