summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-05-28 15:04:09 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2024-05-28 15:04:09 +0300
commitedc29433fa08b4e5aeb67649a29fc7713af13d04 (patch)
tree48c3a9434d45286938e483b1aac75eb291a37215
parent8b99e2aa66ba39e4e1114effea6ef7430881eca4 (diff)
tests : fix test-tokenizer-0.sh
-rwxr-xr-xtests/test-tokenizer-0.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-tokenizer-0.sh b/tests/test-tokenizer-0.sh
index 1fec8bbf..4d2b8365 100755
--- a/tests/test-tokenizer-0.sh
+++ b/tests/test-tokenizer-0.sh
@@ -28,6 +28,8 @@ printf "Tokenizing using (cpp) llama.cpp ...\n"
cat /tmp/test-tokenizer-0-$name-py.log | grep "tokenized in"
cat /tmp/test-tokenizer-0-$name-cpp.log | grep "tokenized in"
+set +e
+
diff $input.tok $input.tokcpp > /dev/null 2>&1
if [ $? -eq 0 ]; then