diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2022-03-28 19:33:52 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-03-28 19:33:52 +0300 |
commit | 6256b277687cba68e527712c3a7d327f480ab005 (patch) | |
tree | 9e0ac18411b3cefd9b02459d725b438044efaae8 /test cases/failing/69 dual override | |
parent | 479a84455f6b838e862b7b68b6edd8968dd8fe1c (diff) | |
download | meson-dircondense64.zip meson-dircondense64.tar.gz meson-dircondense64.tar.bz2 |
Condense test directory names.dircondense64
Diffstat (limited to 'test cases/failing/69 dual override')
-rw-r--r-- | test cases/failing/69 dual override/meson.build | 5 | ||||
-rw-r--r-- | test cases/failing/69 dual override/overrides.py | 4 | ||||
-rw-r--r-- | test cases/failing/69 dual override/test.json | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/test cases/failing/69 dual override/meson.build b/test cases/failing/69 dual override/meson.build new file mode 100644 index 0000000..e5f86ba --- /dev/null +++ b/test cases/failing/69 dual override/meson.build @@ -0,0 +1,5 @@ +project('yo dawg', 'c') + +p = find_program('overrides.py') +meson.override_find_program('override', p) +meson.override_find_program('override', p) diff --git a/test cases/failing/69 dual override/overrides.py b/test cases/failing/69 dual override/overrides.py new file mode 100644 index 0000000..49e9b7a --- /dev/null +++ b/test cases/failing/69 dual override/overrides.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python3 + +print('Yo dawg, we put overrides in your overrides,') +print('so now you can override when you override.') diff --git a/test cases/failing/69 dual override/test.json b/test cases/failing/69 dual override/test.json new file mode 100644 index 0000000..784d6b2 --- /dev/null +++ b/test cases/failing/69 dual override/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/69 dual override/meson.build:5:6: ERROR: Tried to override executable \"override\" which has already been overridden." + } + ] +} |