Skip to content

Explicitly skip test_out_ for histc and mean ops#3119

Open
Silv3S wants to merge 2 commits intointel:mainfrom
Silv3S:skip_test_out
Open

Explicitly skip test_out_ for histc and mean ops#3119
Silv3S wants to merge 2 commits intointel:mainfrom
Silv3S:skip_test_out

Conversation

@Silv3S
Copy link
Copy Markdown
Contributor

@Silv3S Silv3S commented Mar 23, 2026

Fixes #2234
Both tests are expected to fail, same as on CUDA. We can utilize skip_list_common.py to mark them as xfails, before the official skip in common_methods_invocations.py is upstreamed

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the XPU test skip configuration to exclude two known-failing out= tests for histc and mean, aligning XPU behavior with how these cases are handled upstream on CUDA.

Changes:

  • Add test_out_histc_xpu_float32 to the XPU skip list for test_ops_xpu.py.
  • Add test_out_mean_xpu_float32 to the XPU skip list for test_ops_xpu.py.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +68 to +70
# For CUDA it's skipped explicitly in common_methods_invocations.py in upstream. We can skip it here
"test_out_histc_xpu_float32",
"test_out_mean_xpu_float32",
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description says these cases will be marked as xfails, but adding them to skip_list_common.py means they are not executed at all (the runner turns this list into pytest -k "not ..."). Either update the PR description/title to reflect that these tests are being skipped, or switch to an actual xfail mechanism if you want the tests to run but be recorded as expected failures.

Copilot uses AI. Check for mistakes.
@Silv3S Silv3S added the disable_all Disable all ci test jobs for the PR, just keep basic lint check label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

disable_all Disable all ci test jobs for the PR, just keep basic lint check

Projects

None yet

2 participants