summaryrefslogtreecommitdiff
path: root/examples/server/tests/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/tests/tests.sh')
-rwxr-xr-xexamples/server/tests/tests.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/server/tests/tests.sh b/examples/server/tests/tests.sh
new file mode 100755
index 00000000..17a4e6fc
--- /dev/null
+++ b/examples/server/tests/tests.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -eu
+
+if [ $# -lt 1 ]
+then
+ # Start @llama.cpp scenario
+ behave --summary --stop --no-capture --exclude 'issues|wrong_usages' --tags llama.cpp
+else
+ behave "$@"
+fi
+