summaryrefslogtreecommitdiff
path: root/test/end-to-end/target-cache
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2025-05-06 16:31:00 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2025-05-12 18:30:04 +0200
commit7e503da6c18c50e03d3cb1f5d7490f3c805f3b63 (patch)
tree28ac42340ae5aa1d368b6d5a126763ed4ab2bfae /test/end-to-end/target-cache
parentfe4006fce755432b1ae3a273873f3649512c7f94 (diff)
downloadjustbuild-7e503da6c18c50e03d3cb1f5d7490f3c805f3b63.tar.gz
Tests: Assume only parents of out_dirs exist
... instead of the full out_dir path, which is not guaranteed by the RBE protocol.
Diffstat (limited to 'test/end-to-end/target-cache')
-rw-r--r--test/end-to-end/target-cache/target-cache-hit.sh2
1 files changed, 1 insertions, 1 deletions
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 929c9b20..ba52fec3 100644
--- a/test/end-to-end/target-cache/target-cache-hit.sh
+++ b/test/end-to-end/target-cache/target-cache-hit.sh
@@ -42,7 +42,7 @@ cat > TARGETS <<EOF
{ "main": {"type": "export", "target": ["./", "main-target"]}
, "main-target":
{ "type": "generic"
- , "cmds": ["echo $RND | tee foo.txt out/bar.txt"]
+ , "cmds": ["mkdir -p out", "echo $RND | tee foo.txt out/bar.txt"]
, "outs": ["foo.txt"]
, "out_dirs": ["out"]
}