Elemente, Kombos, Fallen, KI mit Vorausschau, Kampagne, Hotseat und Netzwerk, Werkstatt, Erfolge, Tagesaufgaben, Tests und Exporte. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QPgKvy5W9WRNFHjkm5QsHx
9 lines
427 B
Bash
Executable File
9 lines
427 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Führt Import und alle Headless-Prüfungen aus. Aufruf: tests/run_headless.sh [godot-binary]
|
|
set -euo pipefail
|
|
GODOT="${1:-godot}"
|
|
cd "$(dirname "$0")/.."
|
|
"$GODOT" --headless --path . --import > /dev/null 2>&1 || true
|
|
"$GODOT" --headless --path . -s tests/test_runner.gd 2>&1 | tee /tmp/dinger_tests.log | grep -E "FEHLER|Prüfungen|SCRIPT ERROR" || true
|
|
grep -q " 0 fehlgeschlagen" /tmp/dinger_tests.log
|