McRogueFace/tests
John McCardle ce0be78b73 fix: Resolve --exec double script execution bug
Scripts passed to --exec were executing twice because GameEngine
constructor ran scripts, and main.cpp created two GameEngine instances.

- Move exec_scripts from constructor to new executeStartupScripts() method
- Call executeStartupScripts() once after final engine setup in main.cpp
- Remove double-execution workarounds from tests
- Delete duplicate test_viewport_visual.py (flaky due to race condition)
- Fix test constructor syntax and callback signatures

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 13:20:22 -05:00
..
benchmarks refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
demo fix: Resolve --exec double script execution bug 2025-11-26 13:20:22 -05:00
geometry_demo fix: Refine geometry demos for 1024x768 and fix animations 2025-11-26 04:54:13 -05:00
integration Squashed commit of the following: [alpha_presentable] 2025-07-15 21:30:49 -04:00
notes feat: Exit on first Python callback exception (closes #133) 2025-11-26 10:26:30 -05:00
regression refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
unit fix: Resolve --exec double script execution bug 2025-11-26 13:20:22 -05:00
run_tests.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00