From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/failing/63 grab sibling/meson.build | 3 +++ meson/test cases/failing/63 grab sibling/subprojects/a/meson.build | 3 +++ meson/test cases/failing/63 grab sibling/subprojects/b/meson.build | 3 +++ meson/test cases/failing/63 grab sibling/subprojects/b/sneaky.c | 6 ++++++ meson/test cases/failing/63 grab sibling/test.json | 7 +++++++ 5 files changed, 22 insertions(+) create mode 100644 meson/test cases/failing/63 grab sibling/meson.build create mode 100644 meson/test cases/failing/63 grab sibling/subprojects/a/meson.build create mode 100644 meson/test cases/failing/63 grab sibling/subprojects/b/meson.build create mode 100644 meson/test cases/failing/63 grab sibling/subprojects/b/sneaky.c create mode 100644 meson/test cases/failing/63 grab sibling/test.json (limited to 'meson/test cases/failing/63 grab sibling') diff --git a/meson/test cases/failing/63 grab sibling/meson.build b/meson/test cases/failing/63 grab sibling/meson.build new file mode 100644 index 000000000..60b926a95 --- /dev/null +++ b/meson/test cases/failing/63 grab sibling/meson.build @@ -0,0 +1,3 @@ +project('master', 'c') + +subproject('a') diff --git a/meson/test cases/failing/63 grab sibling/subprojects/a/meson.build b/meson/test cases/failing/63 grab sibling/subprojects/a/meson.build new file mode 100644 index 000000000..6dd9f61fc --- /dev/null +++ b/meson/test cases/failing/63 grab sibling/subprojects/a/meson.build @@ -0,0 +1,3 @@ +project('a', 'c') + +executable('sneaky', '../b/sneaky.c') diff --git a/meson/test cases/failing/63 grab sibling/subprojects/b/meson.build b/meson/test cases/failing/63 grab sibling/subprojects/b/meson.build new file mode 100644 index 000000000..7c70fe55b --- /dev/null +++ b/meson/test cases/failing/63 grab sibling/subprojects/b/meson.build @@ -0,0 +1,3 @@ +projecT('b', 'c') + +message('I do nothing.') diff --git a/meson/test cases/failing/63 grab sibling/subprojects/b/sneaky.c b/meson/test cases/failing/63 grab sibling/subprojects/b/sneaky.c new file mode 100644 index 000000000..46718c6cc --- /dev/null +++ b/meson/test cases/failing/63 grab sibling/subprojects/b/sneaky.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char **argv) { + printf("I can only come into existence via trickery.\n"); + return 0; +} diff --git a/meson/test cases/failing/63 grab sibling/test.json b/meson/test cases/failing/63 grab sibling/test.json new file mode 100644 index 000000000..91715c7cf --- /dev/null +++ b/meson/test cases/failing/63 grab sibling/test.json @@ -0,0 +1,7 @@ +{ + "stdout": [ + { + "line": "test cases/failing/63 grab sibling/subprojects/a/meson.build:3:0: ERROR: Sandbox violation: Tried to grab file sneaky.c outside current (sub)project." + } + ] +} -- cgit 1.2.3-korg ref='/AGL/meta-agl-demo/refs/?h=flounder/6.0.0&id=cd9d5aee1e0a13601e620492bfaa5065f0cdadfc'>refslogtreecommitdiffstats
blob: c91e11704d2cfc82a8132019240370a3e9cf9d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56