feat(gui): Rename gui.py to gui_legacy.py and update references

This commit is contained in:
2026-02-24 20:36:04 -05:00
parent 76ee25b299
commit c4c47b8df9
10 changed files with 25 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ def kill_process_tree(pid):
except Exception as e:
print(f"[Fixture] Error killing process tree {pid}: {e}")
@pytest.fixture(scope="session", params=["gui.py", "gui_2.py"])
@pytest.fixture(scope="session", params=["gui_legacy.py", "gui_2.py"])
def live_gui(request):
"""
Session-scoped fixture that starts a GUI script with --enable-test-hooks.

View File

@@ -67,11 +67,11 @@ def test_performance_parity():
"""
Compare the metrics collected in the parameterized test_performance_benchmarking.
"""
if "gui.py" not in _shared_metrics or "gui_2.py" not in _shared_metrics:
if "gui_legacy.py" not in _shared_metrics or "gui_2.py" not in _shared_metrics:
if len(_shared_metrics) < 2:
pytest.skip("Metrics for both GUIs not yet collected.")
gui_m = _shared_metrics["gui.py"]
gui_m = _shared_metrics["gui_legacy.py"]
gui2_m = _shared_metrics["gui_2.py"]
# FPS Parity Check (+/- 15% leeway for now, target is 5%)