diff options
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r-- | mesonbuild/mtest.py | 4 |
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. |