Tests: expand disasm integration tests for Xbox container unpacking, hex, and fssm export #2121
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2121
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2121/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@heditrigui on GitHub · 2026-11-25 05:11 UTC · original
heditrigui:tests/disasm-xbox-container-and-cli-e2e→main· +160 −0 · 1 files · 1 commits · merged 2026-11-25 10:42 UTCSummary
Expands end-to-end integration test coverage for the
xcl disasmCLI subcommand incrates/xcl/tests/disasm_e2e.rs:xcl disasmprints usage help on stdout and exits with code 2.xcl disasmparses Xbox container layouts (XDAT / XBCH / FSSM), dumps extended header and post-code information with--hex, and exports unpacked FSSM data with--fssm.Tested
python -m pytest scripts/(25 passed in 0.67s).scripts/pr_check.py --local.Not tested
tests/integration suites are non-runtime code).AI use
@futurepro62 on GitHub · 2026-11-25 05:19 UTC · original · edited 2026-11-25 05:24 UTC
Full-suite run, since this PR has no test report yet. Tested exact head
da247f1(on its base6020a33).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1144 passed, 0 failed, 44 ignored. SKIPPED (no wave64):a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu,a_per_lane_2d_or_3d_group_runs_on_the_gpu,coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu,cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu,gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware,the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.disasm_missing_arguments_prints_help_and_exits_two,disasm_xbox_container_unpacks_fssm_and_supports_hex_and_fssm_export.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1155 passed, 0 failed, 46 ignored. SKIPPED:f16_programs_on_the_gpu(f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))),f16_programs_on_the_gpu(f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))),f16_programs_on_the_gpu(f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))),f16_programs_on_the_gpu(f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))),f32_programs_on_the_gpu(f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))),f32_programs_on_the_gpu(f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).--skipleaves out tests that fail on main6020a33too, not because of this PR. On NVIDIA:heap_window_out_of_memory_falls_back_to_the_switch_form(#1651), the fourgpu::recomp::lower_dxil::tests::*_programs_on_the_gputests,const_and_null_mask_operands_agree_with_hlsl_on_the_gpuandmask_ff0_and_flbit_agree_with_hlsl_on_the_gpu(follow-up on #1651) fail becauserunner::skip_testturns their skips into failures underXCL_REQUIRE_GPU=mesh, andgpu::dxil::fuzz_testsseeds 70, 545, 1019 and 1507 failCreateComputePipelineStatewithE_OUTOFMEMORYon this card (drivers 616.64 and 621.40). On AMD:fuzz_validate_and_gpu_1fails on seed 540 (res[833]0x7 vs CPU 0x6). The AMD run does not setXCL_REQUIRE_GPU.Not tested
AI use
@luckyteagirl on GitHub · 2026-11-25 05:33 UTC · original
Windows integration run on exact head
da247f147a2ab71bbb133d1ff81b2a2fa814f9b2(clean detached worktree).Tested: Windows 11 build 26200, Rust 1.99.0 MSVC.
cargo test --locked -p xcl --test disasm_e2e -j 2 -- --test-threads=1 --show-outputbuilt the CLI and ran all seven integration tests: 7 passed, 0 failed, 0 ignored. Both new cases passed: the missing-argument exit/help check and the synthetic Xbox container unpacking, hex output, and FSSM export check. No explicit skips were logged.I did not run the full workspace suite or use a retail game file; the container is generated by the test. This is a native Windows CLI check, not a GPU test.
AI use: OpenAI Codex (GPT-6, exact variant not exposed in this session) ran the integration suite, checked the live head and worktree state, and drafted this report.
@DavidM1911 on GitHub · 2026-11-25 06:17 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!