diff options
author | fxxf <ff@fxxf.me> | 2022-06-17 02:44:36 +0300 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-16 21:19:06 -0400 |
commit | c72715db685c35c7ca3198c2cbd5bb680259c822 (patch) | |
tree | fd5815a0044b647bf488d323857e5bc4560f832d | |
parent | b7159f4a1a8901bfc4f1ecc7cff29b789c2101e9 (diff) | |
download | meson-c72715db685c35c7ca3198c2cbd5bb680259c822.zip meson-c72715db685c35c7ca3198c2cbd5bb680259c822.tar.gz meson-c72715db685c35c7ca3198c2cbd5bb680259c822.tar.bz2 |
test (failing): 127 subproject object as a dependency
4 files changed, 13 insertions, 0 deletions
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 0000000..78f2de1 --- /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 0000000..0114b9a --- /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 0000000..0adfd6a --- /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 0000000..af7310f --- /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'." + } + ] +} |