From e53bc29c25a1740676e3de9acfe3e3dc554ed512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigbj=C3=B8rn=20Skj=C3=A6ret?= Date: Sun, 14 Apr 2024 11:04:02 +0200 Subject: [PATCH] clean up before and after test --- examples/gguf-split/tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/gguf-split/tests.sh b/examples/gguf-split/tests.sh index d6079b497..879522f7e 100644 --- a/examples/gguf-split/tests.sh +++ b/examples/gguf-split/tests.sh @@ -25,6 +25,9 @@ CUR_DIR=$(pwd) mkdir -p "$WORK_PATH" +# Clean up in case of previously failed test +rm -f $WORK_PATH/ggml-model-split*.gguf $WORK_PATH/ggml-model-merge*.gguf + # 1. Get a model ( cd $WORK_PATH @@ -81,3 +84,6 @@ echo $MAIN --model $WORK_PATH/ggml-model-split-2G-00001-of-00002.gguf --random-prompt --n-predict 32 echo PASS echo + +# Clean up +rm -f $WORK_PATH/ggml-model-split*.gguf $WORK_PATH/ggml-model-merge*.gguf