aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/108 enter subdir twice
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/108 enter subdir twice')
-rw-r--r--meson/test cases/failing/108 enter subdir twice/meson.build3
-rw-r--r--meson/test cases/failing/108 enter subdir twice/sub/meson.build1
-rw-r--r--meson/test cases/failing/108 enter subdir twice/test.json7
3 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/failing/108 enter subdir twice/meson.build b/meson/test cases/failing/108 enter subdir twice/meson.build
new file mode 100644
index 000000000..9343233d5
--- /dev/null
+++ b/meson/test cases/failing/108 enter subdir twice/meson.build
@@ -0,0 +1,3 @@
+project('subdir2', 'c')
+subdir('sub')
+subdir('sub')
diff --git a/meson/test cases/failing/108 enter subdir twice/sub/meson.build b/meson/test cases/failing/108 enter subdir twice/sub/meson.build
new file mode 100644
index 000000000..d036a3fe5
--- /dev/null
+++ b/meson/test cases/failing/108 enter subdir twice/sub/meson.build
@@ -0,0 +1 @@
+message('Now in subdir')
diff --git a/meson/test cases/failing/108 enter subdir twice/test.json b/meson/test cases/failing/108 enter subdir twice/test.json
new file mode 100644
index 000000000..0a8e12769
--- /dev/null
+++ b/meson/test cases/failing/108 enter subdir twice/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/108 enter subdir twice/meson.build:3:0: ERROR: Tried to enter directory \"sub\", which has already been visited."
+ }
+ ]
+}