Fix xcode backend to run "meson test" instead of the nonexistent meson_test.py.
This commit is contained in:
parent
1ea96b710b
commit
58ce5fe62d
|
@ -565,9 +565,7 @@ class XCodeBackend(backends.Backend):
|
|||
self.write_line(');')
|
||||
self.write_line('runOnlyForDeploymentPostprocessing = 0;')
|
||||
self.write_line('shellPath = /bin/sh;')
|
||||
script_root = self.environment.get_script_dir()
|
||||
test_script = os.path.join(script_root, 'meson_test.py')
|
||||
cmd = mesonlib.python_command + [test_script, test_data, '--wd', self.environment.get_build_dir()]
|
||||
cmd = mesonlib.meson_command + ['test', test_data, '-C', self.environment.get_build_dir()]
|
||||
cmdstr = ' '.join(["'%s'" % i for i in cmd])
|
||||
self.write_line('shellScript = "%s";' % cmdstr)
|
||||
self.write_line('showEnvVarsInLog = 0;')
|
||||
|
|
Loading…
Reference in New Issue