From c29b5de236525b04a852d06d53e76ff341a86fa3 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Tue, 28 Jun 2022 19:14:43 +0200 Subject: 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. --- test/end-to-end/built-in-rules/TARGETS | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/end-to-end/built-in-rules/TARGETS (limited to 'test/end-to-end/built-in-rules/TARGETS') 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"]} +} -- cgit v1.2.3