diff options
| author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-01-23 18:47:43 +0000 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-09-10 07:20:41 +0000 |
| commit | 79b2eeb1baae4097335997c191e1eb9626f27ce5 (patch) | |
| tree | e5262bedea3c9df3eccaef87d1c6ee7a7d95c904 /test cases | |
| parent | 7996ca3d5506c401756a29e9ed3c6969eb96f116 (diff) | |
| download | meson-79b2eeb1baae4097335997c191e1eb9626f27ce5.tar.gz | |
Identify machine in error accesing compiler object for missing language
Also add a failing test case for that error.
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/failing/109 compiler no lang/meson.build | 2 | ||||
| -rw-r--r-- | test cases/failing/109 compiler no lang/test.json | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test cases/failing/109 compiler no lang/meson.build b/test cases/failing/109 compiler no lang/meson.build new file mode 100644 index 000000000..366bbdd5d --- /dev/null +++ b/test cases/failing/109 compiler no lang/meson.build @@ -0,0 +1,2 @@ +project('compiler without lang') +meson.get_compiler('c') diff --git a/test cases/failing/109 compiler no lang/test.json b/test cases/failing/109 compiler no lang/test.json new file mode 100644 index 000000000..c613d5d87 --- /dev/null +++ b/test cases/failing/109 compiler no lang/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/109 compiler no lang/meson.build:2:6: ERROR: Tried to access compiler for language \"c\", not specified for host machine." + } + ] +} |
