diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-06 22:27:20 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-06 23:45:17 +0200 |
commit | eba3a7ed601fb0f8293bdfc6e61d34f5e3f9da41 (patch) | |
tree | 2f6714155398bc1a517674b2b974ed84b2c1850a /run_unittests.py | |
parent | 2897b7d3b0322d052e9f933074c092fbfddd757e (diff) | |
download | meson-eba3a7ed601fb0f8293bdfc6e61d34f5e3f9da41.zip meson-eba3a7ed601fb0f8293bdfc6e61d34f5e3f9da41.tar.gz meson-eba3a7ed601fb0f8293bdfc6e61d34f5e3f9da41.tar.bz2 |
Fix compiler arg checking if ccache is used.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 36d899a..21d029d 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -334,6 +334,8 @@ class LinuxlikeTests(unittest.TestCase): self.init(testdir) cmds = self.get_meson_log_compiler_checks() for cmd in cmds: + if cmd[0] == 'ccache': + cmd = cmd[1:] # Verify that -I flags from the `args` kwarg are first # This is set in the '43 has function' test case self.assertEqual(cmd[2], '-I/tmp') |