test: main's source checks pass again after #2061 and #2046 #2068

Merged
hckrman101 merged 1 commit from ci-fix-main-tests into main 2026-11-11 02:18:14 +00:00
hckrman101 commented 2026-11-11 01:42:29 +00:00 (Migrated from github.com)

Main's "Game-free source regressions" fails on both OSes since #2061 and on Windows since #2046:

  • tests/test_make_game_ngx.py (Linux and Windows): the Linux builder's apply_mode now calls self.switching() (#2061), and the test's stub window had none: AttributeError: 'types.SimpleNamespace' object has no attribute 'switching'. The stub gets switching=lambda: False.
  • tests/test_pipeline_state_portable.py (Windows): clang fails -Werror on std::fopen (-Wdeprecated-declarations, MSVC's CRT). The fixture is now built with -D_CRT_SECURE_NO_WARNINGS.

Checked: test_make_game_ngx.py passes locally (Linux). The portable test skips here (no Vulkan headers), so its Windows fix is checked by this PR's CI.

Main's "Game-free source regressions" fails on both OSes since #2061 and on Windows since #2046: - `tests/test_make_game_ngx.py` (Linux and Windows): the Linux builder's `apply_mode` now calls `self.switching()` (#2061), and the test's stub window had none: `AttributeError: 'types.SimpleNamespace' object has no attribute 'switching'`. The stub gets `switching=lambda: False`. - `tests/test_pipeline_state_portable.py` (Windows): clang fails `-Werror` on `std::fopen` (`-Wdeprecated-declarations`, MSVC's CRT). The fixture is now built with `-D_CRT_SECURE_NO_WARNINGS`. Checked: `test_make_game_ngx.py` passes locally (Linux). The portable test skips here (no Vulkan headers), so its Windows fix is checked by this PR's CI.
Commenting is not possible because the repository is archived.
No description provided.