1
0
mirror of https://github.com/ggerganov/llama.cpp.git synced 2025-01-26 20:22:25 +01:00
llama.cpp/examples/server/tests/tests.sh

15 lines
222 B
Bash
Raw Normal View History

#!/bin/bash
# make sure we are in the right directory
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR
set -eu
if [ $# -lt 1 ]
then
pytest -v -x
else
pytest "$@"
fi