diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-10 09:55:16 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-10 10:38:38 +0100 |
commit | e98893681f9a1d534a88401c00d8fda845e667ea (patch) | |
tree | 2d18556e409fe65685b216adb12dada82d70311c /test/end-to-end/TARGETS | |
parent | b95cd9ee451ff26295d099a8a31340b99b8f0558 (diff) | |
download | justbuild-e98893681f9a1d534a88401c00d8fda845e667ea.tar.gz |
Tests: Add TEST_BOOTSTRAP_JUST_MR config var to decide which just-mr is used in the end-to-end tests
Diffstat (limited to 'test/end-to-end/TARGETS')
-rw-r--r-- | test/end-to-end/TARGETS | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/end-to-end/TARGETS b/test/end-to-end/TARGETS index 27a8c755..040fee64 100644 --- a/test/end-to-end/TARGETS +++ b/test/end-to-end/TARGETS @@ -2,7 +2,15 @@ {"type": "install", "files": {"bin/tool-under-test": [".", "just"]}} , "mr-tool-under-test": { "type": "install" - , "files": {"bin/mr-tool-under-test": ["", "bin/just-mr.py"]} + , "arguments_config": ["TEST_BOOTSTRAP_JUST_MR"] + , "files": + { "bin/mr-tool-under-test": + { "type": "if" + , "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"} + , "then": ["", "bin/just-mr.py"] + , "else": [".", "just-mr"] + } + } } , "TESTS": { "type": "install" |