summaryrefslogtreecommitdiff
path: root/test/end-to-end/serve-service/data/targets/TARGETS.deep
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-05-30 14:33:01 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-05-30 17:27:07 +0200
commit39f0445a99cbb1256c531f8ec827aea424e328c3 (patch)
treeb50fbf77522481fdcdaa3e94817257bba7b48c78 /test/end-to-end/serve-service/data/targets/TARGETS.deep
parent7208a562340074935a9cd119569d8007b6897777 (diff)
downloadjustbuild-39f0445a99cbb1256c531f8ec827aea424e328c3.tar.gz
Add test verifying that serve can handle deep trees
Add a test testing the serve instance implicit to the "with serve" rule by asking it to build a target that creates an export target where the output is a deep tree.
Diffstat (limited to 'test/end-to-end/serve-service/data/targets/TARGETS.deep')
-rw-r--r--test/end-to-end/serve-service/data/targets/TARGETS.deep14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/end-to-end/serve-service/data/targets/TARGETS.deep b/test/end-to-end/serve-service/data/targets/TARGETS.deep
new file mode 100644
index 00000000..0d8a8369
--- /dev/null
+++ b/test/end-to-end/serve-service/data/targets/TARGETS.deep
@@ -0,0 +1,14 @@
+{ "": {"type": "export", "target": "deep", "flexible_config": ["DEPTH"]}
+, "deep":
+ { "type": "generic"
+ , "arguments_config": ["DEPTH"]
+ , "deps": ["deep-output.py"]
+ , "out_dirs": ["out"]
+ , "cmds":
+ [ { "type": "join_cmd"
+ , "$1":
+ ["python3", "deep-output.py", "out", {"type": "var", "name": "DEPTH"}]
+ }
+ ]
+ }
+}