The reviewers' red test: with this entry on main,
test_switched_tools_import_the_helper_and_define_no_copy fails with
"'from report_paths import same_report_path' not found"; with this branch
it passes.
The reviewers' red test: with this entry on main,
test_switched_tools_import_the_helper_and_define_no_copy fails with
"'from report_paths import same_report_path' not found"; with this branch
it passes.
The reviewers' red test: with this entry on main,
test_switched_tools_import_the_helper_and_define_no_copy fails with
"'from report_paths import same_report_path' not found"; with this branch
it passes.
The reviewers' red test: with this entry on main,
test_switched_tools_import_the_helper_and_define_no_copy fails with
"'from report_paths import same_report_path' not found"; with this branch
it passes.
The reviewers' red test: with this entry on main,
test_switched_tools_import_the_helper_and_define_no_copy fails with
"'from report_paths import same_report_path' not found"; with this branch
it passes.
Independent verdict on the carry PR: '**VERIFY the stride on a real exe**' became an
empty entry and '**Unverified fixed quota** on hardware' lost its words. With no colon
to say where a label ends, the bold words may be the note, so they stay. The
class_id string check also gets a payload (0) that kills its mutation.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The mocked open succeeded on its third call whatever the path, so generating the
probe name once before the loop still passed. The test now pre-creates the first
probe, patches secrets.token_hex with two names and keeps the real os.open.
Reported by andrew-ai on the carry PR.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
**VERIFY: check the stride** before release lost its whole note (the bold branch
of without_marker() dropped everything up to the closing **). A bold run that is
only the label still goes whole; a bold run that holds the note keeps it.
Reported by andrew-ai on the carry PR.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A trace can skip an assert and later stop on a real breakpoint. The global
`int3_skipped` veto hid the later one; each skip now consumes one preceding
`0x80000003` exception at the same recorded address, so only a breakpoint
the trace actually skipped stops naming the end. The test covers a later
breakpoint at another address and a repeat at the same one.
AI-assisted.
The old assertion (S_IMODE(mode) == mode) passes for any 9-bit integer, even 0.
The test now mocks new_file_mode, checks the target's own directory is probed and
the sentinel is returned, and a second test checks an existing file keeps its mode.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- tests: -PrecompileAll is among the switches checked against play-d3d12.ps1,
and it is passed only with the precompile on.
- README.md, docs/launcher.md, d3d12/README.md: the switch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`LEONIDA_SKIP_ASSERTS` records each stepped-over int3 as an exception and
`int3_skipped`, and `LEONIDA_UNIMPLEMENTED=stop` also exits 3, so the old
condition reported such a run as a title breakpoint. The trace's
`int3_skipped` event now vetoes the word, and the docstring says a device
loss and a skipped int3 both win over it.
AI-assisted.
The startup trace's exception-code filter accepted `0x` but not `0X`, so a
trace spelling the breakpoint `0X80000003` classified the exception as
`(other)` and the end fell back to the generic process exit. `_same_code`
already lowercased, so only the filter was strict. The test now covers all
three spellings; it fails on the old filter and passes with it.
AI-assisted.
The preflight added in 218b0328b read -NoDlss out of -PlayArgs with a pattern over
the text. Two reviews of the pull request showed where that goes wrong:
- `-NoDlss: $true`, a space after the colon, binds true, and the gate refused the
run and asked for a DLSS rebuild (andrew-ai, PowerShell 7.6.9);
- `-Adapter 'Fixture -NoDlss Adapter'` binds no switch, and the gate let the run
go on into a build inside the run (merzleckeier, PowerShell 7.4.21).
The gate now asks PowerShell itself: Test-NoDlssBound takes the param block of
scripts\play-d3d12.ps1 and lets it bind the arguments the launch line gives the
script (-Game, -Data, -More, then -PlayArgs); nothing of the play script runs.
The first thing the probe writes is the answer, so text behind a `;` in
-PlayArgs cannot stand in for it. Arguments PowerShell cannot bind (an ambiguous
-No, a switch that does not exist, a value outside a ValidateSet) count as
-NoDlss not said, as the start itself fails on them, and the refusal then says
that they did not bind and with which error. The probe is reached only when the
build's note, the SDK and cargo already say the play script would build.
tests/test_game_gate.py takes the function out of the script and puts 19 lines of
-PlayArgs to PowerShell 7 against the real play script's parameters: bare,
shortened, :$true, : $true, :$false, : $false, alone and among other switches,
the quoted adapter name alone, with -NoDlss:$false and with a real -NoDlss, an
argument that does not bind, and a `; $true` behind the arguments (skipped where
there is no pwsh). A second test holds that no pattern is matched against
-PlayArgs any more.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Dropping -h from run_wine_session.sh or check_no_game_data.py now fails the
test that covers it, and play-linux.sh's usage lists LEONIDA_GAME_DIR with
the other path variables (it already honours it).
AI-assisted.
play-nvidia.ps1 made the layer again with DLSS only when the start's own
switches wanted DLSS ($wantDlss), and it decides that before it reads the
F1 menu's saved settings. A DLSS choice the menu saved behind a replayed
-Resolution (the menu's SAVE AND RESTART) therefore asked for no build: with
a build noted as made without DLSS and NVIDIA's SDK installed afterwards,
every such start fell back from DLSS. get-nvidia-sdks.ps1 says the next
start builds the layer with DLSS; that held only for some switches.
The check now follows the SDK alone: a diag build noted as made without DLSS
is made again when nvsdk_ngx_d.lib is here, unless -NoDlss. It stays the one
check it was; no second one behind the menu.
Two things follow from asking more starts for that build:
- without cargo such a start no longer stops with "No build and no cargo":
it says DLSS waits for cargo and runs the build that is here (a start with
no build at all still stops, as before);
- a dry run, which builds nothing, says that a start builds first and prints
the settings of the start after it; it printed the settings from before
the build without a word.
Test: tests/test_play_nvidia_menu_choice.py, ten cases of launcher dry runs
against a synthetic folder with a stand-in cargo on the PATH (no game files,
no GPU), and one more run for a note whose exe is gone. On main six of the
ten fail (the five that expect the build and the one without cargo); with
this change all pass.
Not in this change: scripts/game-gate.ps1 refuses to run without a build so
that none is made inside a run. A build noted as made without DLSS, with the
SDK there, is now made again by starts that did not ask for it before (the
gate's default Series X start among them), inside the run. A guard there is
a follow-up: the gate needs PowerShell 7, which the PC this was written on
does not have.
Found by ubiquitarianism (ProjectLeonida/mandy#2570, 1 Dec 2026).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
`test_step_script_reads_the_check_loop` pins the runner line of the step; it
follows the workflow's new value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The older-Python stand-in only exited 1, so changing (3, 12) in Test-Python left every test green. A stand-in now
runs Test-Python's own check with sys.version_info set: 3.11.9 is passed over for py -3 and 3.12.0 is taken. The
hanging stand-in sleeps in a Python child with a unique tag on its command line, and the test asserts that no
process holding the tag is left once Resolve-Python returns.
Test-Python's comment now gives the requirement it follows: the repository needs 3.12+ (README.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add an opt-in assets-stage switch to skip audio extraction and conversion, preserve existing audio outputs, and account for the lower disk requirement. AI-assisted implementation; focused tests passed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
test_support_installs_the_finder_only_where_the_tokenizer_is_slow is the one
test keeping the CI workflow red on 85ec1d33b, and it is red for a reason that
has nothing to do with the translator:
AssertionError: <class '_frozen_importlib_external.SourceFileLoader'> is not
<class 'support.PiecewiseLoader'>
support.py installs ToolsFinder just before PathFinder and then imports
rdna2spirv through it, but tests/conftest.py imports rdna2spirv first, for its
own fixtures. A finder can only take an import it is in sys.meta_path for, so
under pytest the module is loaded by PathFinder and stays that way; run as
`python tests/test_piecewise_parse.py` there is no conftest and the test passes.
Green one way, red the other, for the same code.
So conftest now puts tests/semantic on the path and imports support first.
support.py imports rdna2spirv itself, so the line after it stays as it is and
becomes the import that already happened.
Measured, main 85ec1d33b, this machine (CPython 3.14, where needed() is true):
python -m pytest tests/test_piecewise_parse.py 1 failed, 25 passed -> 26 passed
python tests/test_piecewise_parse.py OK, still
the five files ci.yml runs for this area + test_cpu_ref
81 passed, 34 skipped
Written with an AI assistant.
KelboLive's review of #2845: without a systemd scope the peak is the caller
cgroup's lifetime peak, so the one-line summary now says so, which keeps a
comparison table from reading it as the run's own.
The `[ -n "$cg_rel" ]` guard was untested: removing it still passed, because the
fake root had no memory.peak to pick up. The v1 test now has one at the root, so an
empty v2 path reads nothing and dropping the guard fails it (checked: mutation
gives 1 failure).
AI-assisted: yes