aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing/108 enter subdir twice
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-07-14 18:57:39 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-07-15 00:23:42 +0300
commit7dee480a40462960db93a920d35495e59cbdbf87 (patch)
treefaece84a8ddd239fedf934b8f69d5562ed1dcf7e /test cases/failing/108 enter subdir twice
parentc7a0c5cde4284d5c4fdd0bdf249f95144daad5a6 (diff)
downloadmeson-7dee480a40462960db93a920d35495e59cbdbf87.zip
meson-7dee480a40462960db93a920d35495e59cbdbf87.tar.gz
meson-7dee480a40462960db93a920d35495e59cbdbf87.tar.bz2
Condense test directory names for next release.
Diffstat (limited to 'test cases/failing/108 enter subdir twice')
-rw-r--r--test cases/failing/108 enter subdir twice/meson.build3
-rw-r--r--test cases/failing/108 enter subdir twice/sub/meson.build1
-rw-r--r--test cases/failing/108 enter subdir twice/test.json7
3 files changed, 11 insertions, 0 deletions
diff --git a/test cases/failing/108 enter subdir twice/meson.build b/test cases/failing/108 enter subdir twice/meson.build
new file mode 100644
index 0000000..9343233
--- /dev/null
+++ b/test cases/failing/108 enter subdir twice/meson.build
@@ -0,0 +1,3 @@
+project('subdir2', 'c')
+subdir('sub')
+subdir('sub')
diff --git a/test cases/failing/108 enter subdir twice/sub/meson.build b/test cases/failing/108 enter subdir twice/sub/meson.build
new file mode 100644
index 0000000..d036a3f
--- /dev/null
+++ b/test cases/failing/108 enter subdir twice/sub/meson.build
@@ -0,0 +1 @@
+message('Now in subdir')
diff --git a/test cases/failing/108 enter subdir twice/test.json b/test cases/failing/108 enter subdir twice/test.json
new file mode 100644
index 0000000..0a8e127
--- /dev/null
+++ b/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."
+ }
+ ]
+}