aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/45 abspath to srcdir
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/45 abspath to srcdir')
-rw-r--r--meson/test cases/failing/45 abspath to srcdir/meson.build3
-rw-r--r--meson/test cases/failing/45 abspath to srcdir/test.json7
2 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/failing/45 abspath to srcdir/meson.build b/meson/test cases/failing/45 abspath to srcdir/meson.build
new file mode 100644
index 000000000..964a19b56
--- /dev/null
+++ b/meson/test cases/failing/45 abspath to srcdir/meson.build
@@ -0,0 +1,3 @@
+project('meson', 'c')
+
+include_directories(meson.current_source_dir())
diff --git a/meson/test cases/failing/45 abspath to srcdir/test.json b/meson/test cases/failing/45 abspath to srcdir/test.json
new file mode 100644
index 000000000..177bac1bc
--- /dev/null
+++ b/meson/test cases/failing/45 abspath to srcdir/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/failing/45 abspath to srcdir/meson.build:3:0: ERROR: Tried to form an absolute path to a source dir."
+ }
+ ]
+}