summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/shared
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-20 12:33:06 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2023-01-10 14:47:55 +0100
commita514f75625633a167bb5518b7c90ca4219058d5f (patch)
treeaa8ac17d4021eba89b265d4d654ddb5cf564696b /tests/test_cases/deps/shared
parent995722725a4e7b94bbb0d15de1e8cfcd64dade7b (diff)
downloadrules-cc-a514f75625633a167bb5518b7c90ca4219058d5f.tar.gz
tests: Test rule "install-with-deps"
Diffstat (limited to 'tests/test_cases/deps/shared')
-rw-r--r--tests/test_cases/deps/shared/TARGETS8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_cases/deps/shared/TARGETS b/tests/test_cases/deps/shared/TARGETS
index 82a5818..f89ce0a 100644
--- a/tests/test_cases/deps/shared/TARGETS
+++ b/tests/test_cases/deps/shared/TARGETS
@@ -88,4 +88,12 @@
, "srcs": ["test_diamond.cpp"]
, "private-deps": ["foo_s", "baz"]
}
+, "install_bar_s":
+ {"type": ["@", "rules", "CC", "install-with-deps"], "targets": ["bar_s"]}
+, "install_baz":
+ {"type": ["@", "rules", "CC", "install-with-deps"], "targets": ["baz"]}
+, "install_main":
+ { "type": ["@", "rules", "CC", "install-with-deps"]
+ , "targets": ["main_uses_bar"]
+ }
}