aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2023-06-25 19:02:38 +0200
committerEli Schwartz <eschwartz93@gmail.com>2023-06-26 23:06:29 -0400
commitc900e6b0b321ceed4f269965741201f835d00a89 (patch)
treeb8556dcb9de60b977ab99ecfc2ad940aa3467e2a /test cases
parenta71846d7494f3035677bee5f38b3fc94fb18938b (diff)
downloadmeson-c900e6b0b321ceed4f269965741201f835d00a89.zip
meson-c900e6b0b321ceed4f269965741201f835d00a89.tar.gz
meson-c900e6b0b321ceed4f269965741201f835d00a89.tar.bz2
mintro: record subproject in install_plan
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/99 install all targets/meson.build2
-rw-r--r--test cases/unit/99 install all targets/subprojects/subproject/aaa.txt1
-rw-r--r--test cases/unit/99 install all targets/subprojects/subproject/bbb.txt1
-rw-r--r--test cases/unit/99 install all targets/subprojects/subproject/meson.build5
4 files changed, 9 insertions, 0 deletions
diff --git a/test cases/unit/99 install all targets/meson.build b/test cases/unit/99 install all targets/meson.build
index 75b4590..c5f33a0 100644
--- a/test cases/unit/99 install all targets/meson.build
+++ b/test cases/unit/99 install all targets/meson.build
@@ -1,5 +1,7 @@
project('install tag', 'c')
+subproject('subproject')
+
subdir('subdir')
# Those files should not be tagged
diff --git a/test cases/unit/99 install all targets/subprojects/subproject/aaa.txt b/test cases/unit/99 install all targets/subprojects/subproject/aaa.txt
new file mode 100644
index 0000000..43d5a8e
--- /dev/null
+++ b/test cases/unit/99 install all targets/subprojects/subproject/aaa.txt
@@ -0,0 +1 @@
+AAA
diff --git a/test cases/unit/99 install all targets/subprojects/subproject/bbb.txt b/test cases/unit/99 install all targets/subprojects/subproject/bbb.txt
new file mode 100644
index 0000000..ba62923
--- /dev/null
+++ b/test cases/unit/99 install all targets/subprojects/subproject/bbb.txt
@@ -0,0 +1 @@
+BBB
diff --git a/test cases/unit/99 install all targets/subprojects/subproject/meson.build b/test cases/unit/99 install all targets/subprojects/subproject/meson.build
new file mode 100644
index 0000000..ff474ac
--- /dev/null
+++ b/test cases/unit/99 install all targets/subprojects/subproject/meson.build
@@ -0,0 +1,5 @@
+project('subproject')
+
+install_data('aaa.txt')
+
+install_data('bbb.txt', install_tag: 'data')