Skip to content

[SYCL][NFC] Avoid XPASS-es in some graph tests #12421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AlexeySachkov
Copy link
Contributor

A couple of graph related tests were marked as XFAILed on OpenCL backend and it works just fine for intel/llvm. At intel/llvm we launch E2E tests for multiple targets in one LIT run, but there are some side effects of that mechanism like treating XFAIL as UNSUPPORTED.

We have downstream testing environments where E2E tests are launched for a single target. When those tests are launched on an OpenCL device without graphs support, they do early exit with exit code zero which is equivalent to PASS from LIT point of view. That turns into an XPASS due to XFAIL in the test, causing our CI to report failures.

Changed XFAIL to UNSUPPORTED, which will work for all possible environments, regardless of amount of targets for E2E tests and status of graphs support on OpenCL devices used in testing.

A couple of graph related tests were marked as `XFAIL`ed on OpenCL
backend and it works just fine for intel/llvm. At intel/llvm we launch
E2E tests for multiple targets in one LIT run, but there are some side
effects of that mechanism like treating `XFAIL` as `UNSUPPORTED`.

We have downstream testing environments where E2E tests are launched for
a single target. When those tests are launched on an OpenCL device
without graphs support, they do early exit with exit code zero which is
equivalent to `PASS` from LIT point of view. That turns into an `XPASS`
due to `XFAIL` in the test, causing our CI to report failures.

Changed `XFAIL` to `UNSUPPORTED`, which will work for all possible
environments, regardless of amount of targets for E2E tests and status
of graphs support on OpenCL devices used in testing.
@EwanC
Copy link
Contributor

EwanC commented Jan 19, 2024

@intel/llvm-gatekeepers I think this can be merged

@AlexeySachkov AlexeySachkov merged commit 5aff928 into intel:sycl Jan 19, 2024
@AlexeySachkov AlexeySachkov deleted the private/asachkov/fix-xpass-in-graph-tests branch May 22, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants