Commit Graph

8 Commits

Author SHA1 Message Date
e890d0a101 docs: fix inaccurate doc paths/flags/env vars and add recommended variables to running.md
- docs/running.md: add Recommended variables (all platforms) table covering async submit/compile, compile-pool sizing, warm-up throttling, heap sizing, input, and telemetry/fault variables on main; update RX 7900 XTX RADV recipe and Reporting section
- runtime/README.md: document LEONIDA_CLWB_PATCH (runtime/src/cpu_emulation.h)
- AGENTS.md: add port_ctl.py (scripts/port_ctl.py) to numpy/Pillow exception list
- d3d12/docs/replay.md: fix nonexistent --looks flag reference to --flow
- docs/port_plan.md, docs/port_status.md, docs/ultrawide.md, docs/victory_gap_gpu.md, docs/victory_gap_media.md: fix typos (chad_dsp.cpp -> chad.cpp, VIctory tests/fidelityfx.rs -> crates/victory-hle/tests/fidelityfx.rs) and clearly mark unmerged-branch paths (runtime/ ultrawide, frame_step.h, media_foundation.cpp, gameinput_xinput.cpp, d3d12_xs_exports_test.cpp, pipeline_queue.h -> pipeline_wait.h)
- tests/test_docs_cli_flags.py: scan .rs sources and clap #[arg(long)] struct fields for d3d12/docs/*.md flags, treat cargo/git-filter-repo flags as foreign, and add docs/port_plan.md to OTHER_PROJECTS

AI-assisted: Antigravity (Gemini 4 Neon). Verified: 13/13 tests/test_docs_*.py pass and scripts/check_no_game_data.py clean.
2026-11-28 09:09:23 -05:00
a9692a8c98 smoke, test_docs_cli_flags: guard stdout encoding and map dev.py smoke subcommand
Address review feedback from @Poussistar on #705:
1. Reconfigure sys.stdout with errors='replace' in scripts/smoke.py's
   __main__ block to satisfy repository-wide test_tool_stdout_encoding.py.
2. Register 'smoke': 'scripts/smoke.py' in tests/test_docs_cli_flags.py
   DEV_PRODUCERS map so fenced docs commands invoking 'dev.py smoke --quick'
   do not report --quick as an unknown flag of dev.py.

AI-assisted (Claude Code)
2026-11-26 00:38:47 +03:00
48cb4bf039 docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT) 2026-11-24 12:06:15 +01:00
a8b7ddbd50 Make main's tests green, part 2: docs drift, bvh_slot_check, find_hash_lookup (#10002)
Seven more test files that fail on main at d083a2c, after #9896:

- test_docs_repeated_lines: tests/semantic/README.md's command block is a fenced block, which the check skips;
  its indented form put two lines with the same 40-character opening three lines apart
- test_docs_repo_paths: docs/retail_boot_intel_host.md names #8554's frame-loop notes instead of a path that
  is not in the tree
- test_docs_env_vars: runtime/README.md documents LEONIDA_RNG_SEED (runtime/shims/bcrypt_rng.cpp)
- test_docs_design_rows: docs/README.md gets one row each for strand_grooms.md and ped_catalogues.md (two
  rows each were merged in), and design.md escapes the pipe in `prim_cnt << 12 \| vtx_cnt`
- test_docs_cli_flags: docs/testing.md passes llvm-mc through LLVM_MC, so `brew --prefix` is no longer read as
  a bench_wave64.py flag; pt-PT's quickstart points to the web checker that replaced tools/pc_checker.py
  (5125a01), as README.md does; the spirv-opt passes docs/embedded_shaders.md quotes join FOREIGN
- test_bvh_slot_check: bvh_match.model_geometries() yields six fields since the render bucket was added;
  unpack the two it needs
- test_joaat_agreement (find_hash_lookup's half): hash over the Latin-1 bytes like hashdict.joaat, as #6254 and
  #7820 proposed

Still red, for a separate change: test_joaat_agreement's leonida_mods half (it hashes UTF-8 bytes like
runtime/src/mods.h, so both sides change together), test_f64_conversion and test_f64_output_modifiers (they
expect the output scaling #6314 gated by MODE) and test_bvh_shaders_stage.
2026-11-24 00:28:18 +01:00
db7f1e3043 gitignore, tests: ignore .pytest_cache from git and document scanners 2026-11-23 23:14:12 +02:00
3ae065426b BUILD-2172: check development CLI flags against each producer (#6590)
Squash-merged after diff review of PR #6590
2026-11-23 11:21:40 -06:00
c806f2a682 test_docs_cli_flags: validate PowerShell (.ps1) script parameters against param() blocks (#6335)
Squash-merged after review of PR #6335 - test_docs_cli_flags: validate PowerShell (.ps1) script parameters against param() blocks
2026-11-23 08:15:31 -06:00
51ffcce973 test: docs name only command-line flags that exist, and fenced commands use their own tool's flags 2026-11-22 14:58:35 -05:00