From c72715db685c35c7ca3198c2cbd5bb680259c822 Mon Sep 17 00:00:00 2001 From: fxxf Date: Fri, 17 Jun 2022 02:44:36 +0300 Subject: [PATCH] test (failing): 127 subproject object as a dependency --- .../failing/127 subproject object as a dependency/main.c | 1 + .../127 subproject object as a dependency/meson.build | 4 ++++ .../subprojects/sub/meson.build | 1 + .../127 subproject object as a dependency/test.json | 7 +++++++ 4 files changed, 13 insertions(+) create mode 100644 test cases/failing/127 subproject object as a dependency/main.c create mode 100644 test cases/failing/127 subproject object as a dependency/meson.build create mode 100644 test cases/failing/127 subproject object as a dependency/subprojects/sub/meson.build create mode 100644 test cases/failing/127 subproject object as a dependency/test.json diff --git a/test cases/failing/127 subproject object as a dependency/main.c b/test cases/failing/127 subproject object as a dependency/main.c new file mode 100644 index 000000000..78f2de106 --- /dev/null +++ b/test cases/failing/127 subproject object as a dependency/main.c @@ -0,0 +1 @@ +int main(void) { return 0; } diff --git a/test cases/failing/127 subproject object as a dependency/meson.build b/test cases/failing/127 subproject object as a dependency/meson.build new file mode 100644 index 000000000..0114b9a31 --- /dev/null +++ b/test cases/failing/127 subproject object as a dependency/meson.build @@ -0,0 +1,4 @@ +project('test', 'c') + +executable( + 'main', 'main.c', dependencies: subproject('sub')) diff --git a/test cases/failing/127 subproject object as a dependency/subprojects/sub/meson.build b/test cases/failing/127 subproject object as a dependency/subprojects/sub/meson.build new file mode 100644 index 000000000..0adfd6a6e --- /dev/null +++ b/test cases/failing/127 subproject object as a dependency/subprojects/sub/meson.build @@ -0,0 +1 @@ +project('sub') diff --git a/test cases/failing/127 subproject object as a dependency/test.json b/test cases/failing/127 subproject object as a dependency/test.json new file mode 100644 index 000000000..af7310f7f --- /dev/null +++ b/test cases/failing/127 subproject object as a dependency/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/127 subproject object as a dependency/meson.build:3:0: ERROR: Argument is of an unacceptable type 'SubprojectHolder'." + } + ] +}