diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2025-05-06 16:31:00 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2025-05-12 18:30:04 +0200 |
commit | 7e503da6c18c50e03d3cb1f5d7490f3c805f3b63 (patch) | |
tree | 28ac42340ae5aa1d368b6d5a126763ed4ab2bfae /test/end-to-end/remote-execution | |
parent | fe4006fce755432b1ae3a273873f3649512c7f94 (diff) | |
download | justbuild-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/remote-execution')
-rw-r--r-- | test/end-to-end/remote-execution/native-protocol.sh | 2 | ||||
-rw-r--r-- | test/end-to-end/remote-execution/split-splice.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/end-to-end/remote-execution/native-protocol.sh b/test/end-to-end/remote-execution/native-protocol.sh index 00e1dd91..99ed1475 100644 --- a/test/end-to-end/remote-execution/native-protocol.sh +++ b/test/end-to-end/remote-execution/native-protocol.sh @@ -59,7 +59,7 @@ EOF cat > TARGETS <<EOF { "test": { "type": "generic" - , "cmds": ["cp -r ${DIRNAME} ${OUT_DIRNAME}"] + , "cmds": ["mkdir -p ${OUT_DIRNAME}", "cp -r ${DIRNAME} ${OUT_DIRNAME}"] , "deps": [["TREE", null, "${DIRNAME}"]] , "out_dirs": ["${OUT_DIRNAME}"] } diff --git a/test/end-to-end/remote-execution/split-splice.sh b/test/end-to-end/remote-execution/split-splice.sh index 20b509f8..8340194a 100644 --- a/test/end-to-end/remote-execution/split-splice.sh +++ b/test/end-to-end/remote-execution/split-splice.sh @@ -106,7 +106,8 @@ cat > TARGETS <<'EOF' { "type": "generic" , "out_dirs": ["tree"] , "cmds": - [ "for i in $(seq 21846); do echo foo > tree/$(printf '%0192d' $i).txt; done" + [ "mkdir -p tree" + , "for i in $(seq 21846); do echo foo > tree/$(printf '%0192d' $i).txt; done" , "echo foo > tree/magic_word.txt" ] } |