From f49983aa96ac2403f3cd5cd3f49994fb6b86d466 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 3 Mar 2025 11:00:55 +0100 Subject: prune bootstrap sources Originally, it was a good idea to add the full "bin" directory to the bootstrap sources; all scripts there where used in some form or another during bootstap and by taking the whole directory, we wouldn't have to update the target when adding new scripts. However, times have changed. The set of scripts neede for bootstrapping is stable for quite a while now; on the other hand actively-developped tools (like just-lock and just-import-git) now reside in "bin". So, to avoid unnecessary runs of the bootstrap tests, prune the dependency set. While there, also mark as tainted. --- test/bootstrap/TARGETS | 1 + test/end-to-end/target-cache/TARGETS | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/bootstrap/TARGETS b/test/bootstrap/TARGETS index 690b20e9..6910a7ed 100644 --- a/test/bootstrap/TARGETS +++ b/test/bootstrap/TARGETS @@ -77,6 +77,7 @@ } , "staged-sources": { "type": "install" + , "tainted": ["test"] , "dirs": [[["@", "src", "", "bootstrap-src"], "srcs/just"]] } , "pkgconfig-test": diff --git a/test/end-to-end/target-cache/TARGETS b/test/end-to-end/target-cache/TARGETS index 43b8f76d..bc24070c 100644 --- a/test/end-to-end/target-cache/TARGETS +++ b/test/end-to-end/target-cache/TARGETS @@ -35,7 +35,10 @@ , "deps": [["", "mr-tool-under-test"], ["", "tool-under-test"]] } , "bootstrap-src-staged": - {"type": "install", "dirs": [[["@", "src", "", "bootstrap-src"], "src"]]} + { "type": "install" + , "tainted": ["test"] + , "dirs": [[["@", "src", "", "bootstrap-src"], "src"]] + } , "check-sharding": { "type": ["@", "rules", "shell/test", "script"] , "name": ["check-sharding"] -- cgit v1.2.3