Test suite modernization
This commit is contained in:
parent
0969f7c2f6
commit
52fdfd0347
141 changed files with 9947 additions and 4665 deletions
21
tests/run_procgen_interactive.py
Normal file
21
tests/run_procgen_interactive.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Standalone runner for the interactive procedural generation demo system.
|
||||
|
||||
Run with: ./mcrogueface ../tests/run_procgen_interactive.py
|
||||
|
||||
Or from the build directory:
|
||||
./mcrogueface --exec ../tests/run_procgen_interactive.py
|
||||
"""
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
# Add the tests directory to path
|
||||
tests_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
if tests_dir not in sys.path:
|
||||
sys.path.insert(0, tests_dir)
|
||||
|
||||
# Import and run the demo system
|
||||
from procgen_interactive.main import main
|
||||
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue