aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-09-09 21:35:43 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-09-12 20:32:07 +0300
commitb63710863b277c19ab38eef8f47ff9df5f173822 (patch)
tree0849c2d43e6123382209938767b0844487db722d /mesonbuild/mtest.py
parent9b50a4aac1dda2d4a5b4659d874faef29543eea2 (diff)
downloadmeson-b63710863b277c19ab38eef8f47ff9df5f173822.zip
meson-b63710863b277c19ab38eef8f47ff9df5f173822.tar.gz
meson-b63710863b277c19ab38eef8f47ff9df5f173822.tar.bz2
Renamed test serialisation from is_cross to is_cross_built for clarity.
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index 6a0cc25..4e049a8 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -195,10 +195,10 @@ class TestHarness:
def run_single_test(self, wrap, test):
if test.fname[0].endswith('.jar'):
cmd = ['java', '-jar'] + test.fname
- elif not test.is_cross and run_with_mono(test.fname[0]):
+ elif not test.is_cross_built and run_with_mono(test.fname[0]):
cmd = ['mono'] + test.fname
else:
- if test.is_cross:
+ if test.is_cross_built:
if test.exe_runner is None:
# Can not run test on cross compiled executable
# because there is no execute wrapper.