scripts : fix spelling typo in messages and comments (#9782)

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
This commit is contained in:
standby24x7 2024-10-08 15:19:53 +09:00 committed by GitHub
parent 6374743747
commit fa42aa6d89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ rm -rf "$build_dir" && mkdir "$build_dir" || abort "Failed to make $build_dir"
########################################################### ###########################################################
# Note: test-eval-callback requires -DLLAMA_CURL # Note: test-eval-callback requires -DLLAMA_CURL
cmake -B "./$build_dir" -DCMAKE_BUILD_TYPE=Debug -DGGML_CUDA=1 -DLLAMA_CURL=1 || abort "Failed to build enviroment" cmake -B "./$build_dir" -DCMAKE_BUILD_TYPE=Debug -DGGML_CUDA=1 -DLLAMA_CURL=1 || abort "Failed to build environment"
pushd "$build_dir" pushd "$build_dir"
make -j || abort "Failed to compile" make -j || abort "Failed to compile"
popd > /dev/null || exit 1 popd > /dev/null || exit 1
@ -127,7 +127,7 @@ printf "\n\nGathering tests that fit REGEX: ${test_suite} ...\n"
pushd "$build_dir" pushd "$build_dir"
tests=($(ctest -R ${test_suite} -V -N | grep -E " +Test +#[0-9]+*" | cut -d':' -f2 | awk '{$1=$1};1')) tests=($(ctest -R ${test_suite} -V -N | grep -E " +Test +#[0-9]+*" | cut -d':' -f2 | awk '{$1=$1};1'))
if [ ${#tests[@]} -eq 0 ]; then if [ ${#tests[@]} -eq 0 ]; then
abort "No tests avaliable... check your compliation process..." abort "No tests available... check your compilation process..."
fi fi
popd > /dev/null || exit 1 popd > /dev/null || exit 1
@ -137,7 +137,7 @@ popd > /dev/null || exit 1
# Select test number # Select test number
if [ -z $test_number ]; then if [ -z $test_number ]; then
# List out avaliable tests # List out available tests
printf "Which test would you like to debug?\n" printf "Which test would you like to debug?\n"
id=0 id=0
for s in "${tests[@]}" for s in "${tests[@]}"