diff options
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..999b8bc --- /dev/null +++ b/test cases/failing/69 dual override/meson.build @@ -0,0 +1,5 @@ +project('yo dawg') + +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." + } + ] +} |