13 lines
529 B
Bash
Executable file
13 lines
529 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_shortcuts test_editor_svmap test_terrain test_library test_glb_view test_spawns test_testrun test_bauen test_resize_dialog test_updater test_gui_smoke test_rmb_vorrang; 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
|