xg_xs: gate oracle test modules behind opt-in oracle feature (fixes #303) #366

Closed
github-bot wants to merge 1 commit from gh-pr/366/head into gh-pr/366/base
Owner

@⁠FilimonEnc on GitHub · 2026-11-24 16:31 UTC · original
FilimonEnc:fix/xg-xs-gate-oracle → main · +16 −12 · 3 files · 1 commits · closed without merging

crates/compat/xg_xs/src/oracle.rs is not part of the open repository, causing cargo test -p xg_xs on a clean checkout to fail with E0583: file not found for module oracle.

Gate mod oracle;, mod oracle_3d;, mod oracle_xs;, mod oracle_msaa;, mod dcc_oracle; and DCC oracle modules behind #[cfg(all(test, feature = "oracle"))]. This allows cargo test -p xg_xs to cleanly build and run all 19 non-oracle unit tests on a clean checkout.

Fixes #303.

**@⁠FilimonEnc** on GitHub · 2026-11-24 16:31 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/366) `FilimonEnc:fix/xg-xs-gate-oracle` → `main` · +16 −12 · 3 files · 1 commits · closed without merging `crates/compat/xg_xs/src/oracle.rs` is not part of the open repository, causing `cargo test -p xg_xs` on a clean checkout to fail with `E0583: file not found for module oracle`. Gate `mod oracle;`, `mod oracle_3d;`, `mod oracle_xs;`, `mod oracle_msaa;`, `mod dcc_oracle;` and DCC oracle modules behind `#[cfg(all(test, feature = "oracle"))]`. This allows `cargo test -p xg_xs` to cleanly build and run all 19 non-oracle unit tests on a clean checkout. Fixes #303.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:20:26 +00:00
github-bot closed this pull request 2026-11-26 06:20:26 +00:00
Author
Owner

@⁠omonkeyz on GitHub · 2026-11-25 13:51 UTC · original

Thanks for the fix. #310 makes the same change (oracle test modules behind an opt-in feature, named console-oracle) and was applied first, so this one is superseded.

**@⁠omonkeyz** on GitHub · 2026-11-25 13:51 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/366#issuecomment-7164382835) Thanks for the fix. #310 makes the same change (oracle test modules behind an opt-in feature, named console-oracle) and was applied first, so this one is superseded.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.