aboutsummaryrefslogtreecommitdiff
path: root/run_cross_test.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-01-23 15:23:13 +0000
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-09-10 07:20:41 +0000
commit88e13c5f7c8e977ed879cabaa2800c211a536b60 (patch)
tree3e168d5b347d8925cc78885de845febc2cc92fa4 /run_cross_test.py
parent79b2eeb1baae4097335997c191e1eb9626f27ce5 (diff)
downloadmeson-88e13c5f7c8e977ed879cabaa2800c211a536b60.zip
meson-88e13c5f7c8e977ed879cabaa2800c211a536b60.tar.gz
meson-88e13c5f7c8e977ed879cabaa2800c211a536b60.tar.bz2
Split tests out from 'common' which require a native compiler
Split out tests (and parts of tests) which require a native compiler from the 'common' suite to a new suite called 'native', so we can selectively avoid running those tests when only a cross-compiler is available. Also move test '211 cmake module' to 'cmake' suite, since it appears that the way we use cmake requires a native compiler.
Diffstat (limited to 'run_cross_test.py')
-rwxr-xr-xrun_cross_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_cross_test.py b/run_cross_test.py
index 1e67876..269eb01 100755
--- a/run_cross_test.py
+++ b/run_cross_test.py
@@ -26,7 +26,7 @@ from mesonbuild.coredata import version as meson_version
def runtests(cross_file, failfast):
- tests = ['--only', 'common']
+ tests = ['--only', 'common', 'native']
cmd = mesonlib.python_command + ['run_project_tests.py', '--backend', 'ninja'] + (['--failfast'] if failfast else []) + tests + ['--cross-file', cross_file]
return subprocess.call(cmd)