summaryrefslogtreecommitdiffstats
path: root/test cases/warning/5 fallback consistency/subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/warning/5 fallback consistency/subprojects')
-rw-r--r--test cases/warning/5 fallback consistency/subprojects/foo.wrap6
-rw-r--r--test cases/warning/5 fallback consistency/subprojects/foo/meson.build6
2 files changed, 12 insertions, 0 deletions
diff --git a/test cases/warning/5 fallback consistency/subprojects/foo.wrap b/test cases/warning/5 fallback consistency/subprojects/foo.wrap
new file mode 100644
index 0000000..28055d9
--- /dev/null
+++ b/test cases/warning/5 fallback consistency/subprojects/foo.wrap
@@ -0,0 +1,6 @@
+[wrap-file]
+source_url = http://host.invalid/foo.tar.gz
+source_filename = foo.tar.gz
+
+[provide]
+foo = bar_dep
diff --git a/test cases/warning/5 fallback consistency/subprojects/foo/meson.build b/test cases/warning/5 fallback consistency/subprojects/foo/meson.build
new file mode 100644
index 0000000..fb58a4a
--- /dev/null
+++ b/test cases/warning/5 fallback consistency/subprojects/foo/meson.build
@@ -0,0 +1,6 @@
+project('sub')
+
+foo_dep = declare_dependency()
+meson.override_dependency('foo', foo_dep)
+
+bar_dep = declare_dependency()