aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 793e326..93c9083 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5926,10 +5926,7 @@ class NativeFileTests(BasePlatformTests):
# invokes our python wrapper
batfile = os.path.join(self.builddir, 'binary_wrapper{}.bat'.format(self.current_wrapper))
with open(batfile, 'wt') as f:
- if mesonbuild.environment.detect_msys2_arch():
- f.write(r'@python3 {} %*'.format(filename))
- else:
- f.write('@{} {} %*'.format(sys.executable, filename))
+ f.write(r'@{} {} %*'.format(sys.executable, filename))
return batfile
def helper_for_compiler(self, lang, cb, for_machine = MachineChoice.HOST):