scopedvr-map-editor/tools/run_tests.sh
slyphax 26bcbe0cdd Terrain-Pinsel: Kante-Regler (Falloff), Einebnen, Rampe, Druck-Stärke, Mal-Slot-Ersatz
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 09:52:03 +01:00

13 lines
623 B
Bash
Executable file

#!/bin/bash
# Regression: alle Editor-Testsuiten (Karte t_3a998ae4)
cd "$(dirname "$0")/.."
GODOT=${GODOT:-/opt/data/home/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 test_inspector test_pinsel_werkzeuge test_terrain_mirror test_mal_fein; 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