Skip to content

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

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
merged 1 commit into from
Aug 7, 2025

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 #19727
@aelovikov-intel
Copy link
Contributor Author

Copy link
Contributor

@KornevNikita KornevNikita left a comment

Choose a reason for hiding this comment

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

Nightly is okay, test_event occasionally fails among all branches.

@aelovikov-intel aelovikov-intel merged commit 7761eb2 into sycl-rel-6_2 Aug 7, 2025
23 of 26 checks passed
@aelovikov-intel aelovikov-intel deleted the e2e-preview-param branch August 7, 2025 13:33
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