diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-09 16:57:04 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-01-09 14:03:03 -0500 |
commit | 747d4f2b03d471efd01a6929dc4bd2c789b1c610 (patch) | |
tree | 3cbdd7346d679cbe455ccd10e540cefa0e25582d /run_project_tests.py | |
parent | 00f62d07558f74f57972f35eb9508d0a78019cc2 (diff) | |
download | meson-747d4f2b03d471efd01a6929dc4bd2c789b1c610.zip meson-747d4f2b03d471efd01a6929dc4bd2c789b1c610.tar.gz meson-747d4f2b03d471efd01a6929dc4bd2c789b1c610.tar.bz2 |
We only need Ninja 1.5.x for the core code
This change helps us run on older distros such as Ubuntu LTS which is
very lazy in updating even non-core and stable packages such as Ninja.
Ninja 1.6.x is only needed for running the tests.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 18988fb..2834254 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -112,7 +112,8 @@ def setup_commands(backend): test_commands = ['xcodebuild', '-target', 'RUN_TESTS'] else: backend_flags = [] - ninja_command = environment.detect_ninja() + # We need at least 1.6 because of -w dupbuild=err + ninja_command = environment.detect_ninja(version='1.6') if ninja_command is None: raise RuntimeError('Could not find Ninja v1.6 or newer') if do_debug: |