summaryrefslogtreecommitdiff
path: root/test cases/unit
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-10-17 20:07:04 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-06-30 19:42:43 +0300
commit4a371c97f422d0dc68fece2fe56d544ccd6558e9 (patch)
treea505a49b9f6ec5aae7daaef52487b2ea91fa57a7 /test cases/unit
parenteb3b35ae024651743bc1e2b8e50566b6f53d95ae (diff)
downloadmeson-4a371c97f422d0dc68fece2fe56d544ccd6558e9.tar.gz
wrap: Apply patch even in VCS cases
Diffstat (limited to 'test cases/unit')
-rw-r--r--test cases/unit/78 wrap-git/meson.build4
-rw-r--r--test cases/unit/78 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build3
-rw-r--r--test cases/unit/78 wrap-git/subprojects/wrap_git_upstream/main.c4
3 files changed, 11 insertions, 0 deletions
diff --git a/test cases/unit/78 wrap-git/meson.build b/test cases/unit/78 wrap-git/meson.build
new file mode 100644
index 000000000..b0af30a3f
--- /dev/null
+++ b/test cases/unit/78 wrap-git/meson.build
@@ -0,0 +1,4 @@
+project('test-wrap-git')
+
+exe = subproject('wrap_git').get_variable('exe')
+test('test1', exe)
diff --git a/test cases/unit/78 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build b/test cases/unit/78 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build
new file mode 100644
index 000000000..2570f7777
--- /dev/null
+++ b/test cases/unit/78 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build
@@ -0,0 +1,3 @@
+project('foo', 'c')
+
+exe = executable('app', 'main.c')
diff --git a/test cases/unit/78 wrap-git/subprojects/wrap_git_upstream/main.c b/test cases/unit/78 wrap-git/subprojects/wrap_git_upstream/main.c
new file mode 100644
index 000000000..8488f4e58
--- /dev/null
+++ b/test cases/unit/78 wrap-git/subprojects/wrap_git_upstream/main.c
@@ -0,0 +1,4 @@
+int main(void)
+{
+ return 0;
+}