From 39f0445a99cbb1256c531f8ec827aea424e328c3 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 30 May 2025 14:33:01 +0200 Subject: 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. --- test/end-to-end/serve-service/data/targets/TARGETS.deep | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/end-to-end/serve-service/data/targets/TARGETS.deep (limited to 'test/end-to-end/serve-service/data/targets/TARGETS.deep') 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"}] + } + ] + } +} -- cgit v1.2.3