diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-09-27 08:36:09 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-09-28 18:11:06 +0300 |
commit | d6c4e79c8443005639c60693510a5f62d6e0dc96 (patch) | |
tree | effd9ade757d72202de272c70be57748a3b460fc /mesonbuild/mtest.py | |
parent | f724cc2042681357be93842e5e752fe36fd49ade (diff) | |
download | meson-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.py | 2 |
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. |