Skip to content

[SYCL][E2E] Add build-mode and run-mode to list of build-specific features #17363

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 2 commits into from
Mar 20, 2025

Conversation

ayylol
Copy link
Contributor

@ayylol ayylol commented Mar 7, 2025

We throw an error if a non build-specific feature is reported as true when in build-only (we expect this to never be the case), so when we do UNSUPPORTED: build-only this would make the test unresolved.

Also if we don't have run-mode marked as a build specific feature when in build-only mode a test marked as REQUIRES: run-mode would run, since that feature would be considered "unknown" rather than false.

@ayylol ayylol requested a review from a team as a code owner March 7, 2025 18:13
@ayylol ayylol requested a review from sergey-semenov March 7, 2025 18:13
@ayylol ayylol temporarily deployed to WindowsCILock March 7, 2025 18:13 — with GitHub Actions Inactive
@ayylol ayylol temporarily deployed to WindowsCILock March 7, 2025 18:57 — with GitHub Actions Inactive
@ayylol ayylol temporarily deployed to WindowsCILock March 7, 2025 18:57 — with GitHub Actions Inactive
@ayylol ayylol requested a review from aelovikov-intel March 19, 2025 14:27
@aelovikov-intel
Copy link
Contributor

@ayylol , please merge origin/sycl to re-trigger testing. Results are too old.

@ayylol
Copy link
Contributor Author

ayylol commented Mar 20, 2025

@intel/llvm-gatekeepers this is ready to merge, thanks :)

@sarnex sarnex merged commit 050ac51 into intel:sycl Mar 20, 2025
22 checks passed
@ayylol ayylol deleted the e2eexpr-feat branch March 20, 2025 16:06
sarnex pushed a commit that referenced this pull request May 27, 2025
Currently when we check `REQUIRES`/`UNSUPPORTED` statements in
`build-only` mode we throw an error if any feature that is not in
`build_specific_features` evaluates to true. Since this is error will
only trigger when a test queries for one of these features, it can be
easy to miss adding new build-specific features to this list (see
#17985, and #17363).

This pr changes this check to be done for all features when in
`build-only`, not just those queried by a test. If any available feature
does not appear in `build_specific_features` then an error is thrown.
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