diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-12-23 14:44:05 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-12-23 17:08:12 +0100 |
commit | e30f490bef55f0897bdf5ebf757324b181b4de42 (patch) | |
tree | 454820c144bf51fb7fee3c419d3fe5a31db3abc0 /test/end-to-end/target-cache | |
parent | 408c7be636d247f9131b465fe6e78aa36946ecba (diff) | |
download | justbuild-e30f490bef55f0897bdf5ebf757324b181b4de42.tar.gz |
end-to-end tests: go through a single target for just-mr
... so that we can switch in one go and have all tests use a new
just-mr tool, e.g., once we consider the C++ implementation fully
ready. This single point of switch will be relevant as the next
commit will add the first end-to-end test for just-mr itself.
Diffstat (limited to 'test/end-to-end/target-cache')
-rw-r--r-- | test/end-to-end/target-cache/TARGETS | 5 | ||||
-rw-r--r-- | test/end-to-end/target-cache/target-cache-hit.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/end-to-end/target-cache/TARGETS b/test/end-to-end/target-cache/TARGETS index 853335a9..09057dd2 100644 --- a/test/end-to-end/target-cache/TARGETS +++ b/test/end-to-end/target-cache/TARGETS @@ -2,7 +2,10 @@ { "type": ["@", "rules", "shell/test", "script"] , "name": ["target-cache-hit"] , "test": ["target-cache-hit.sh"] - , "deps": [["test/end-to-end", "tool-under-test"], ["", "bin/just-mr.py"]] + , "deps": + [ ["test/end-to-end", "tool-under-test"] + , ["test/end-to-end", "mr-tool-under-test"] + ] } , "artifacts-sync": { "type": ["@", "rules", "shell/test", "script"] diff --git a/test/end-to-end/target-cache/target-cache-hit.sh b/test/end-to-end/target-cache/target-cache-hit.sh index 25940966..e4776f2f 100644 --- a/test/end-to-end/target-cache/target-cache-hit.sh +++ b/test/end-to-end/target-cache/target-cache-hit.sh @@ -17,7 +17,7 @@ set -eu readonly JUST="$PWD/bin/tool-under-test" -readonly JUST_MR="$PWD/bin/just-mr.py" +readonly JUST_MR="$PWD/bin/mr-tool-under-test" readonly LBRDIR="$TEST_TMPDIR/local-build-root" readonly TESTDIR="$TEST_TMPDIR/test-root" |