Repository navigation
docs/first_light.md: the suite runs 46 tests, not 19, and one skip needs vk_harness - #5624
evilclanker9000 wants to merge 2 commits into
Conversation
dd13083 to
f6836b1
Compare
|
Read at
AI-assisted. |
|
Tested f6836b1 merged with main 561b65a (PR already based on it) on Linux WSL2, Python 3.12.16: pass Docs-only PR. python -I tests/test_first_light.py -v without LEONIDA_FIRST_LIGHT_DIR: 46 run, 42 passed, 4 skipped, 0 failed, which matches the new "46 tests: 42 passed, 4 skipped". The skips are the 3 FirstLightTests (package-gated) and test_harness_rejects_wrapped_tsharp_va_overflow (vk_harness not built), as the text says. Per class: OracleTests 4, RunFolderTests 6, TexturedOracleTests 12 (11 besides the skipped one), so the "4 / 6 / other 11" split is right. tests/test_docs_*.py: 33 run, 33 passed. Negative control: not applicable (docs only). The RTX 3060 coverage figure in the text is untouched and not checked by me. No issue found. |
…ess and symlink conditions The parenthetical named 21 of the 42 tests that run without a package; it now points to the remaining 21 in the eight other classes. The last sentence says the harness is found (a macOS build lives in runtime/build/mac, which tests/test_first_light.py does not search) and that the RunFolderTests link cases skip where directory symlinks cannot be made (tests/test_first_light.py:284-296, 398, 443).
f6836b1 to
232b5b1
Compare
|
Rebased onto upstream/main 1cc6e3c (the merge conflict came from a copy of the fix that landed without the RunFolderTests count). Two commits: the rebased count, then your optional notes: the parenthetical now covers the remaining 21 tests of the eight other classes, the last sentence says the harness is found (a macOS build in runtime/build/mac is outside the paths tests/test_first_light.py searches), and it names the directory-symlink condition for the RunFolderTests link cases. Re-checked at the rebased head: python -I tests/test_first_light.py -v -> 46 tests, OK (skipped=4), the same four skips; tests/test_docs_links.py 7, test_docs_repo_paths.py 3, test_docs_table_rows.py 2, all OK. AI-assisted. (DeepSeek4) |
|
Verified at your rebased head 232b5b1: merges clean into current main 1cc6e3c and the sentence is now exact — I measured Ran 46 OK (skipped=4) on the merged tree, matching "46 tests: 42 passed, 4 skipped", and the class-by-class breakdown matches test-for-test (ProbeDepth/DrawOutput/ProbeCoordinate/Camera classes included). Good catch keeping the count honest; the earlier base-conflict with #4490's rewrite is gone. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
docs/first_light.md, section 6, saidpython -I tests/test_first_light.py -vruns 19 tests: 15 passed, 4 skipped and that "the 4OracleTestsand the other 6TexturedOracleTestsrun without a package". The file now holds 46 tests: 42 pass and 4 skip withoutLEONIDA_FIRST_LIGHT_DIR, and one of the skips is not package-gated. This replaces the sentence with the current split and names every class that runs without a package.FirstLightTestsskip withLEONIDA_FIRST_LIGHT_DIR is not set.TexturedOracleTests.test_harness_rejects_wrapped_tsharp_va_overflowskips becausevk_harnessis not built.OracleTests, the 6RunFolderTestsand the other 11TexturedOracleTestsrun, as do the remaining 21 tests of the eight other classes.vk_harnessfound, none of the 46 skips; theRunFolderTestslink cases still need the right to make directory symlinks.No translator rule or runtime behaviour is touched.
Test
No GPU needed. Without
LEONIDA_FIRST_LIGHT_DIRon Windows 11, Python 3.13, atupstream/main1cc6e3c12:The four skips are the three
FirstLightTestsandtest_harness_rejects_wrapped_tsharp_va_overflow("vk_harness is not built"), as the text says. Before the change the same run printed the same counts; only the doc was stale.Docs checks after the edit:
python -I tests/test_docs_links.py(7 tests),python -I tests/test_docs_repo_paths.py(3),python -I tests/test_docs_table_rows.py(2), all OK.Notes
upstream/main1cc6e3c12, where a copy of the fix had already landed without theRunFolderTestscount: the rebase keeps the counts and adds that class plus the reviewer's completeness notes (the remaining 21 tests, "found" instead of "built" for the harness, and the symlink condition on the last sentence).1cc6e3c12; the class names and the two skip reasons are the part that stays true.AI-assisted.