diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-06-29 17:12:49 +0530 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-07-01 13:59:48 +0000 |
| commit | ae8d044cb6dca20c1d6504a27660bcbed16db438 (patch) | |
| tree | 9e014e61387e087c5e7efc09499efff1f4af7306 /run_unittests.py | |
| parent | 6bdacba001739983a9e5b7f78ba9d33ac7ebe6c9 (diff) | |
| download | meson-ae8d044cb6dca20c1d6504a27660bcbed16db438.tar.gz | |
Allow command lists for find_program cross file overrides
This is accepted by all other binaries in the cross file. With this
change, we also don't check whether the specified command exists at
configure time, but that's probably a feature anyway.
Fixes https://github.com/mesonbuild/meson/issues/3737
Diffstat (limited to 'run_unittests.py')
| -rwxr-xr-x | run_unittests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py index 0abe419e6..8b664a30c 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3207,7 +3207,8 @@ class LinuxlikeTests(BasePlatformTests): c = '/usr/bin/cc' ar = '/usr/bin/ar' strip = '/usr/bin/ar' -sometool.py = '%s' +sometool.py = ['{0}'] +someothertool.py = '{0}' [properties] @@ -3216,7 +3217,7 @@ system = 'linux' cpu_family = 'arm' cpu = 'armv7' # Not sure if correct. endian = 'little' -''' % os.path.join(testdir, 'some_cross_tool.py')) +'''.format(os.path.join(testdir, 'some_cross_tool.py'))) crossfile.flush() self.meson_cross_file = crossfile.name self.init(testdir) |
