Skip to content
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

fix: Use transitioned target platform for platform_transition_test #965

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

fmeum
Copy link
Member

@fmeum fmeum commented Oct 14, 2024

The target platform of a test rule matters for the resolution of the execution platform of the test action, either via test toolchains or --use_target_platform_for_tests. With an outgoing transition, tests would run on the wrong platform in these cases, so use an incoming transition for the test rule.

@fmeum fmeum requested a review from alexeagle October 14, 2024 13:24
@fmeum fmeum changed the title platform_transition_test: Use transitioned target platform fix: Use transitioned target platform for platform_transition_test Oct 14, 2024
The target platform of a test rule matters for the resolution of the execution platform of the test action, either via test toolchains or `--use_target_platform_for_tests`. With an outgoing transition, tests would run on the wrong platform in these cases, so use an incoming transition for the test rule.
@fmeum fmeum merged commit 64eb5f8 into main Oct 15, 2024
22 checks passed
@fmeum fmeum deleted the fmeum/test-target-platform branch October 15, 2024 14:12
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