aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/81 wrap-git
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-07-30 19:46:57 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-08-01 22:00:06 -0700
commit4d2a17041f0dd54001a7d32b36e75608330f41f5 (patch)
treeff356660cc03ba080819694b3da6886dfa5be782 /test cases/unit/81 wrap-git
parent3a4d8dde52a5755901ec97784e9f3d883162873b (diff)
downloadmeson-4d2a17041f0dd54001a7d32b36e75608330f41f5.zip
meson-4d2a17041f0dd54001a7d32b36e75608330f41f5.tar.gz
meson-4d2a17041f0dd54001a7d32b36e75608330f41f5.tar.bz2
run dircondensor.py
Diffstat (limited to 'test cases/unit/81 wrap-git')
-rw-r--r--test cases/unit/81 wrap-git/meson.build4
-rw-r--r--test cases/unit/81 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build3
-rw-r--r--test cases/unit/81 wrap-git/subprojects/wrap_git_upstream/main.c4
3 files changed, 11 insertions, 0 deletions
diff --git a/test cases/unit/81 wrap-git/meson.build b/test cases/unit/81 wrap-git/meson.build
new file mode 100644
index 0000000..b0af30a
--- /dev/null
+++ b/test cases/unit/81 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/81 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build b/test cases/unit/81 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build
new file mode 100644
index 0000000..2570f77
--- /dev/null
+++ b/test cases/unit/81 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/81 wrap-git/subprojects/wrap_git_upstream/main.c b/test cases/unit/81 wrap-git/subprojects/wrap_git_upstream/main.c
new file mode 100644
index 0000000..8488f4e
--- /dev/null
+++ b/test cases/unit/81 wrap-git/subprojects/wrap_git_upstream/main.c
@@ -0,0 +1,4 @@
+int main(void)
+{
+ return 0;
+}