From e30f490bef55f0897bdf5ebf757324b181b4de42 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 23 Dec 2022 14:44:05 +0100 Subject: 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. --- test/end-to-end/target-cache/TARGETS | 5 ++++- test/end-to-end/target-cache/target-cache-hit.sh | 2 +- 2 files changed, 5 insertions(+), 2 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 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" -- cgit v1.2.3