diff options
Diffstat (limited to 'test/end-to-end/git-import')
-rw-r--r-- | test/end-to-end/git-import/TARGETS | 13 | ||||
-rwxr-xr-x | test/end-to-end/git-import/chained-import.sh | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/test/end-to-end/git-import/TARGETS b/test/end-to-end/git-import/TARGETS index ef379f37..bcf8cf56 100644 --- a/test/end-to-end/git-import/TARGETS +++ b/test/end-to-end/git-import/TARGETS @@ -29,7 +29,18 @@ } , "TESTS": { "type": "install" + , "arguments_config": ["TEST_BOOTSTRAP_JUST_MR"] , "tainted": ["test"] - , "deps": ["chained-import", "deduplicate"] + , "deps": + { "type": "++" + , "$1": + [ ["deduplicate"] + , { "type": "if" + , "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"} + , "then": [] + , "else": ["chained-import", "deduplicate"] + } + ] + } } } diff --git a/test/end-to-end/git-import/chained-import.sh b/test/end-to-end/git-import/chained-import.sh index e9f98198..b3b2d5b9 100755 --- a/test/end-to-end/git-import/chained-import.sh +++ b/test/end-to-end/git-import/chained-import.sh @@ -82,7 +82,7 @@ EOF echo cat repos.json echo -"${JUST_MR}" --norc --just "${JUST}" --local-build-root "${LBR}" install -o "${OUT}" 2>&1 +"${JUST_MR}" -L '["env", "PATH='"${PATH}"'"]' --norc --just "${JUST}" --local-build-root "${LBR}" install -o "${OUT}" 2>&1 echo cat "${OUT}/out.txt" echo |