13 lines
436 B
Bash
Executable file
13 lines
436 B
Bash
Executable file
#!/bin/bash
|
|
# Regression: alle Editor-Testsuiten (Karte t_3a998ae4)
|
|
cd "$(dirname "$0")/.."
|
|
GODOT=~/bin/godot4
|
|
rc=0
|
|
for t in test_ux test_editor_svmap test_terrain test_library test_spawns test_testrun test_bauen; do
|
|
"$GODOT" --headless --path . --script "res://tests/$t.gd" > "/tmp/$t.log" 2>&1
|
|
code=$?
|
|
line=$(grep -E "ALL OK|FAILED" "/tmp/$t.log" | tail -1)
|
|
echo "$t: exit=$code $line"
|
|
[ $code -ne 0 ] && rc=1
|
|
done
|
|
exit $rc
|