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/TARGETS | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'test/end-to-end/TARGETS') diff --git a/test/end-to-end/TARGETS b/test/end-to-end/TARGETS index 2bb71e8f..be347ae9 100644 --- a/test/end-to-end/TARGETS +++ b/test/end-to-end/TARGETS @@ -1,27 +1,4 @@ -{ "tool-under-test": - { "type": "install" - , "dirs": [[["@", "src", "", "installed just"], "."]] - , "files": {"bin/tool-under-test": ["@", "src", "", "just"]} - } -, "mr-tool-under-test": - { "type": "install" - , "arguments_config": ["TEST_BOOTSTRAP_JUST_MR"] - , "dirs": - { "type": "if" - , "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"} - , "then": [] - , "else": [[["@", "src", "", "installed just-mr"], "."]] - } - , "files": - { "bin/mr-tool-under-test": - { "type": "if" - , "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"} - , "then": ["@", "src", "", "bin/just-mr.py"] - , "else": ["@", "src", "", "just-mr"] - } - } - } -, "git-import-under-test": +{ "git-import-under-test": { "type": "install" , "files": {"bin/git-import-under-test": ["@", "src", "", "bin/just-import-git.py"]} -- cgit v1.2.3