aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/26 output subdir
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/failing/26 output subdir
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/failing/26 output subdir')
-rw-r--r--meson/test cases/failing/26 output subdir/foo.in1
-rw-r--r--meson/test cases/failing/26 output subdir/meson.build5
-rw-r--r--meson/test cases/failing/26 output subdir/subdir/dummy.txt2
-rw-r--r--meson/test cases/failing/26 output subdir/test.json7
4 files changed, 15 insertions, 0 deletions
diff --git a/meson/test cases/failing/26 output subdir/foo.in b/meson/test cases/failing/26 output subdir/foo.in
new file mode 100644
index 000000000..3d1bf19eb
--- /dev/null
+++ b/meson/test cases/failing/26 output subdir/foo.in
@@ -0,0 +1 @@
+Nothing here.
diff --git a/meson/test cases/failing/26 output subdir/meson.build b/meson/test cases/failing/26 output subdir/meson.build
new file mode 100644
index 000000000..4eb422ce4
--- /dev/null
+++ b/meson/test cases/failing/26 output subdir/meson.build
@@ -0,0 +1,5 @@
+project('outdir path', 'c')
+
+configure_file(input : 'foo.in',
+ output : 'subdir/foo',
+ copy: true)
diff --git a/meson/test cases/failing/26 output subdir/subdir/dummy.txt b/meson/test cases/failing/26 output subdir/subdir/dummy.txt
new file mode 100644
index 000000000..f10acf3e5
--- /dev/null
+++ b/meson/test cases/failing/26 output subdir/subdir/dummy.txt
@@ -0,0 +1,2 @@
+I'm only here because Git is stupid about empty dirs.
+
diff --git a/meson/test cases/failing/26 output subdir/test.json b/meson/test cases/failing/26 output subdir/test.json
new file mode 100644
index 000000000..796468db1
--- /dev/null
+++ b/meson/test cases/failing/26 output subdir/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/26 output subdir/meson.build:3:0: ERROR: Output file name must not contain a subdirectory."
+ }
+ ]
+}