From 2274627436257c28a82cedec28e18398a517b51d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 29 May 2024 13:01:01 +0200 Subject: test: Use own installed just and just-mr targets... ...which do not stage also the debug source and header files (while in debug mode), as this is unnecessary bloat in the tests. As the tool-under-test and mr-tool-under-test targets should be used instead of the regular install targets also in the various extra rules in end-to-end and utils, move their definition in the outmost test TARGETS file. --- test/end-to-end/target-cache/TARGETS | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'test/end-to-end/target-cache') diff --git a/test/end-to-end/target-cache/TARGETS b/test/end-to-end/target-cache/TARGETS index 5a2b0412..36f8a59b 100644 --- a/test/end-to-end/target-cache/TARGETS +++ b/test/end-to-end/target-cache/TARGETS @@ -2,16 +2,15 @@ { "type": ["end-to-end", "with remote"] , "name": ["target-cache-hit"] , "test": ["target-cache-hit.sh"] - , "deps": - [["end-to-end", "tool-under-test"], ["end-to-end", "mr-tool-under-test"]] + , "deps": [["", "tool-under-test"], ["", "mr-tool-under-test"]] } , "artifacts-sync": { "type": ["@", "rules", "shell/test", "script"] , "name": ["artifacts-sync"] , "test": ["artifacts-sync.sh"] , "deps": - [ ["end-to-end", "tool-under-test"] - , ["end-to-end", "mr-tool-under-test"] + [ ["", "tool-under-test"] + , ["", "mr-tool-under-test"] , ["./", "data", "greetlib"] , ["./", "data", "pydicts"] , "bootstrap-src-staged" @@ -21,8 +20,7 @@ { "type": ["@", "rules", "shell/test", "script"] , "name": ["export-extern"] , "test": ["export-extern.sh"] - , "deps": - [["end-to-end", "tool-under-test"], ["end-to-end", "mr-tool-under-test"]] + , "deps": [["", "tool-under-test"], ["", "mr-tool-under-test"]] } , "bootstrap-src-staged": {"type": "install", "dirs": [[["@", "src", "", "bootstrap-src"], "src"]]} -- cgit v1.2.3