Skip to content

Commit 96023e5

Browse files
lslusarczykCopilot
andauthored
Update devops/actions/run-tests/benchmark/action.yml
Co-authored-by: Copilot <[email protected]>
1 parent d96fa0d commit 96023e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devops/actions/run-tests/benchmark/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ runs:
193193
echo "-----"
194194

195195
WORKDIR="$(realpath ./llvm_test_workdir)"
196-
if [ -n "$WORKDIR" ] && [ -d "$WORKDIR" ]; then rm -rf "$WORKDIR" ; fi
196+
if [ -n "$WORKDIR" ] && [ -d "$WORKDIR" ] && [[ "$WORKDIR" == *llvm_test_workdir* ]]; then rm -rf "$WORKDIR" ; fi
197197

198198
taskset -c "$CORES" ./devops/scripts/benchmarks/main.py "$WORKDIR" \
199199
--sycl "$(realpath ./toolchain)" \

0 commit comments

Comments
 (0)