Files
llama.cpp/examples/server/tests/tests.sh
T

15 lines
222 B
Bash
Raw Normal View History

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