27 lines
555 B
Bash
Executable File
27 lines
555 B
Bash
Executable File
#!/bin/bash
|
|
# Godot Test Runner - All Tests
|
|
# Usage: ./scripts/run_all.sh
|
|
|
|
set -e
|
|
|
|
GODOT_BIN="${GODOT_BIN:-godot}"
|
|
|
|
echo "=========================================="
|
|
echo "Running All Tests"
|
|
echo "=========================================="
|
|
echo ""
|
|
|
|
"$GODOT_BIN" --headless --path . -s res://tests/test_runner.gd
|
|
EXIT_CODE=$?
|
|
|
|
echo ""
|
|
echo "=========================================="
|
|
if [ $EXIT_CODE -eq 0 ]; then
|
|
echo "✓ All tests passed"
|
|
else
|
|
echo "✗ Some tests failed"
|
|
fi
|
|
echo "=========================================="
|
|
|
|
exit $EXIT_CODE
|