aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-09-20 14:57:20 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-09-21 08:28:26 -0400
commitea4b99947387b8f82073d0ee746445a478d7de95 (patch)
treeb9db584df0d31d0d0ec126c2388591868c47f55e /run_unittests.py
parente049494890c76ab2b74a382dea8f4f1147fe0f25 (diff)
downloadmeson-ea4b99947387b8f82073d0ee746445a478d7de95.zip
meson-ea4b99947387b8f82073d0ee746445a478d7de95.tar.gz
meson-ea4b99947387b8f82073d0ee746445a478d7de95.tar.bz2
Add platform agnostic tests
This adds a new category of tests that does not need to run on all platforms during CI. For now only run them on Linux runners because they are not the bottleneck.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 2421e8d..f438daa 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -54,6 +54,7 @@ from unittests.linuxliketests import LinuxlikeTests
from unittests.pythontests import PythonTests
from unittests.subprojectscommandtests import SubprojectsCommandTests
from unittests.windowstests import WindowsTests
+from unittests.platformagnostictests import PlatformAgnosticTests
def unset_envs():
# For unit tests we must fully control all command lines
@@ -120,7 +121,7 @@ def main():
setup_backend()
cases = ['InternalTests', 'DataTests', 'AllPlatformTests', 'FailureTests',
'PythonTests', 'NativeFileTests', 'RewriterTests', 'CrossFileTests',
- 'TAPParserTests', 'SubprojectsCommandTests',
+ 'TAPParserTests', 'SubprojectsCommandTests', 'PlatformAgnosticTests',
'LinuxlikeTests', 'LinuxCrossArmTests', 'LinuxCrossMingwTests',
'WindowsTests', 'DarwinTests']