aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-09-27 08:36:09 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2019-09-28 18:11:06 +0300
commitd6c4e79c8443005639c60693510a5f62d6e0dc96 (patch)
treeeffd9ade757d72202de272c70be57748a3b460fc /mesonbuild/mtest.py
parentf724cc2042681357be93842e5e752fe36fd49ade (diff)
downloadmeson-d6c4e79c8443005639c60693510a5f62d6e0dc96.zip
meson-d6c4e79c8443005639c60693510a5f62d6e0dc96.tar.gz
meson-d6c4e79c8443005639c60693510a5f62d6e0dc96.tar.bz2
mtest: Don't require an exe wrapper for if the cross file says we don't need one
Fixes #5970
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index e9bdefd..7943041 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -460,7 +460,7 @@ class SingleTestRunner:
elif not self.test.is_cross_built and run_with_mono(self.test.fname[0]):
return ['mono'] + self.test.fname
else:
- if self.test.is_cross_built:
+ if self.test.is_cross_built and self.test.needs_exe_wrapper:
if self.test.exe_runner is None:
# Can not run test on cross compiled executable
# because there is no execute wrapper.