aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/4 missing meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/4 missing meson.build')
-rw-r--r--meson/test cases/failing/4 missing meson.build/meson.build3
-rw-r--r--meson/test cases/failing/4 missing meson.build/subdir/dummy.txt1
-rw-r--r--meson/test cases/failing/4 missing meson.build/test.json9
3 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/failing/4 missing meson.build/meson.build b/meson/test cases/failing/4 missing meson.build/meson.build
new file mode 100644
index 000000000..18654be2b
--- /dev/null
+++ b/meson/test cases/failing/4 missing meson.build/meson.build
@@ -0,0 +1,3 @@
+project('missing meson.build', 'c')
+
+subdir('subdir')
diff --git a/meson/test cases/failing/4 missing meson.build/subdir/dummy.txt b/meson/test cases/failing/4 missing meson.build/subdir/dummy.txt
new file mode 100644
index 000000000..03327bdee
--- /dev/null
+++ b/meson/test cases/failing/4 missing meson.build/subdir/dummy.txt
@@ -0,0 +1 @@
+This needs to be here because Git can't handle empty dirs.
diff --git a/meson/test cases/failing/4 missing meson.build/test.json b/meson/test cases/failing/4 missing meson.build/test.json
new file mode 100644
index 000000000..3857090b1
--- /dev/null
+++ b/meson/test cases/failing/4 missing meson.build/test.json
@@ -0,0 +1,9 @@
+{
+ "stdout": [
+ {
+ "match": "re",
+ "comment": "'subdir/meson.build' gets transformed with os.path.sep separators",
+ "line": "test cases/failing/4 missing meson\\.build/meson\\.build:3:0: ERROR: Non\\-existent build file 'subdir[\\\\/]meson\\.build'"
+ }
+ ]
+}