McRogueFace/tests/demo
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
..
screens refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
screenshots refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
__init__.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
demo_main.py fix: Resolve --exec double script execution bug 2025-11-26 13:20:22 -05:00