run_project_tests: Allow matrix tests to skip

Since they generate some tests that are only valid on specific operating
systems.
This commit is contained in:
Dylan Baker 2020-04-14 12:45:14 -07:00
parent d887a8faff
commit a3f39fde1b
1 changed files with 5 additions and 1 deletions

View File

@ -734,7 +734,11 @@ def skippable(suite, test):
# Scientific libraries are skippable on certain systems
# See the discussion here: https://github.com/mesonbuild/meson/pull/6562
if any([test.endswith(x) for x in ['17 mpi', '25 hdf5', '30 scalapack']]) and skip_scientific:
if any([x in test for x in ['17 mpi', '25 hdf5', '30 scalapack']]) and skip_scientific:
return True
# These create OS specific tests, and need to be skippable
if any([x in test for x in ['16 sdl', '17 mpi']]):
return True
# No frameworks test should be skipped on linux CI, as we expect all