From d6c4e79c8443005639c60693510a5f62d6e0dc96 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 27 Sep 2019 08:36:09 -0700 Subject: mtest: Don't require an exe wrapper for if the cross file says we don't need one Fixes #5970 --- mesonbuild/mtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.1