summaryrefslogtreecommitdiff
path: root/test/end-to-end/built-in-rules/TARGETS
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-06-28 19:14:43 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2022-06-28 19:22:10 +0200
commitc29b5de236525b04a852d06d53e76ff341a86fa3 (patch)
tree3496703ff445c2c9e4dfed51afdd73230ad27d77 /test/end-to-end/built-in-rules/TARGETS
parent684cf178ef455ee21a03e2458cdf59afa584498f (diff)
downloadjustbuild-c29b5de236525b04a852d06d53e76ff341a86fa3.tar.gz
Generic: add support for out_dirs
Before this patch, the built-in "generic" type allowed for just output files, listed in the field "outs". Now, the type also supports output directories, listed in the "out_dirs" field. The output directories are created before the command is executed.
Diffstat (limited to 'test/end-to-end/built-in-rules/TARGETS')
-rw-r--r--test/end-to-end/built-in-rules/TARGETS9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/end-to-end/built-in-rules/TARGETS b/test/end-to-end/built-in-rules/TARGETS
new file mode 100644
index 00000000..4991c5c3
--- /dev/null
+++ b/test/end-to-end/built-in-rules/TARGETS
@@ -0,0 +1,9 @@
+{ "generic_out_dirs":
+ { "type": ["@", "rules", "shell/test", "script"]
+ , "name": ["generic_out_dirs"]
+ , "test": ["generic_out_dirs.sh"]
+ , "deps": [["test/end-to-end", "tool-under-test"]]
+ }
+, "TESTS":
+ {"type": "install", "tainted": ["test"], "deps": ["generic_out_dirs"]}
+}