Skip to content

Commit 4837104

Browse files
committed
Don't delete all files...
1 parent f02bd20 commit 4837104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/pathfinding/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" >/dev/null 2>&1 && pwd
88

99
./get-small-data.sh
1010

11-
rm benchmarks/*
11+
find benchmarks/ f -not -name ".gitignore" -delete
1212
./generate_benchmark_scripts.sh
1313
cd ../../../
1414
BUILD_BENCHMARK=1 make GEN=ninja
@@ -19,4 +19,4 @@ COMMIT_HASH=$(git rev-parse --short HEAD)
1919
OUTPUT_FILE="output_${COMMIT_HASH}.timing"
2020

2121
# Run benchmark and save output
22-
build/release/benchmark/benchmark_runner --disable-timeout "benchmark/pathfinding/benchmarks/.*" > "$OUTPUT_FILE" 2>&1
22+
build/release/benchmark/benchmark_runner --disable-timeout "benchmark/pathfinding/benchmarks/.*" > "$OUTPUT_FILE" 2>&1

0 commit comments

Comments
 (0)