Skip to content

[SYCL][E2E] Better control of testing preview-mode #19758

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

Merged

Conversation

aelovikov-intel
Copy link
Contributor

Before the PR we had two modes:

  • Default, auto-detect preview support in toolchain and have individual tests run dedicated RUN-lines
  • --param test-preview-mode=<anything but False>, run entire suite in preview mode using non-preview RUN-lines. Special RUN-lines dedicated to preview are ignored.

This PR changes it to this:

  • Only allow test-preview-mode to be unset or set to True/False, fatal error on any other value.
  • If True/unset behave as in two previous scenarios
  • If False, only execute RUN-lines without preview markup

I need this for compatibility testing because preview mode isn't backward ABI-compatible and I'm going to cherry-pick this to sycl-rel-6_[23]

For trunk, I think we should just remove special RUN-lines and rely on "full preview" mode job in CI, but that will be a separate PR (because I wouldn't be able to backport such a big change).

Cherry-picks #19727

Before the PR we had two modes:

* Default, auto-detect preview support in toolchain and have individual
tests run dedicated `RUN`-lines
* `--param test-preview-mode=<anything but False>`, run entire suite in
preview mode using non-preview `RUN`-lines. Special `RUN`-lines
dedicated to preview are ignored.

This PR changes it to this:

* Only allow `test-preview-mode` to be unset or set to True/False, fatal
error on any other value.
* If True/unset behave as in two previous scenarios
* If False, only execute `RUN`-lines without preview markup

I need this for compatibility testing because preview mode isn't
backward ABI-compatible and I'm going to cherry-pick this to
`sycl-rel-6_[23]`

For trunk, I think we should just remove special `RUN`-lines and rely on
"full preview" mode job in CI, but that will be a separate PR (because I
wouldn't be able to backport such a big change).

Cherry-picks intel#19727
@aelovikov-intel aelovikov-intel merged commit 348fb0b into intel:sycl-rel-6_3 Aug 11, 2025
23 checks passed
@aelovikov-intel aelovikov-intel deleted the cherry-pick-19727 branch August 11, 2025 15:18
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.

3 participants