aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/8 recursive
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/8 recursive')
-rw-r--r--meson/test cases/failing/8 recursive/meson.build3
-rw-r--r--meson/test cases/failing/8 recursive/subprojects/a/meson.build3
-rw-r--r--meson/test cases/failing/8 recursive/subprojects/b/meson.build3
-rw-r--r--meson/test cases/failing/8 recursive/test.json7
4 files changed, 16 insertions, 0 deletions
diff --git a/meson/test cases/failing/8 recursive/meson.build b/meson/test cases/failing/8 recursive/meson.build
new file mode 100644
index 000000000..f3152946d
--- /dev/null
+++ b/meson/test cases/failing/8 recursive/meson.build
@@ -0,0 +1,3 @@
+project('recursive', 'c')
+
+a = subproject('a')
diff --git a/meson/test cases/failing/8 recursive/subprojects/a/meson.build b/meson/test cases/failing/8 recursive/subprojects/a/meson.build
new file mode 100644
index 000000000..7c6040bc6
--- /dev/null
+++ b/meson/test cases/failing/8 recursive/subprojects/a/meson.build
@@ -0,0 +1,3 @@
+project('a', 'c')
+
+b = subproject('b')
diff --git a/meson/test cases/failing/8 recursive/subprojects/b/meson.build b/meson/test cases/failing/8 recursive/subprojects/b/meson.build
new file mode 100644
index 000000000..d0beeb7d9
--- /dev/null
+++ b/meson/test cases/failing/8 recursive/subprojects/b/meson.build
@@ -0,0 +1,3 @@
+project('b', 'c')
+
+a = subproject('a')
diff --git a/meson/test cases/failing/8 recursive/test.json b/meson/test cases/failing/8 recursive/test.json
new file mode 100644
index 000000000..b4c964c0f
--- /dev/null
+++ b/meson/test cases/failing/8 recursive/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/8 recursive/subprojects/b/meson.build:3:0: ERROR: Recursive include of subprojects: a => b => a."
+ }
+ ]
+}