Skip to content

Commit e53bc29

Browse files
authored
clean up before and after test
1 parent 18ed9ed commit e53bc29

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/gguf-split/tests.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ CUR_DIR=$(pwd)
2525

2626
mkdir -p "$WORK_PATH"
2727

28+
# Clean up in case of previously failed test
29+
rm -f $WORK_PATH/ggml-model-split*.gguf $WORK_PATH/ggml-model-merge*.gguf
30+
2831
# 1. Get a model
2932
(
3033
cd $WORK_PATH
@@ -81,3 +84,6 @@ echo
8184
$MAIN --model $WORK_PATH/ggml-model-split-2G-00001-of-00002.gguf --random-prompt --n-predict 32
8285
echo PASS
8386
echo
87+
88+
# Clean up
89+
rm -f $WORK_PATH/ggml-model-split*.gguf $WORK_PATH/ggml-model-merge*.gguf

0 commit comments

Comments
 (0)