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

Don't test jj_realistic_needs_to_be_more_clever on Windows #1584

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

EliahKagan
Copy link
Contributor

@EliahKagan EliahKagan commented Sep 6, 2024

This conditionally marks the jj_realistic_needs_to_be_more_clever test as ignored, when the target is Windows. But the test is still built on Windows, and can be run with:

cargo nextest run -p gix -- --ignored jj_realistic_needs_to_be_more_clever

This is a workaround for #1575.

When run on Windows, the test previously checked if it was running on CI and skipped its contents. This removes that logic, since the test no longer runs by default on CI or otherwise.

This conditionally marks the `jj_realistic_needs_to_be_more_clever`
test as ignored, when the target is Windows. But the test is still
built on Windows, and can be run with:

    cargo nextest run -p gix -- --ignored jj_realistic_needs_to_be_more_clever

This is a workaround for Byron#1575.

When run on Windows, the test previously checked if it was running
on CI and skipped its contents. This removes that logic, since the
test no longer runs by default on CI or otherwise.
Copy link
Owner

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a lot! Using a conditional ignore is so much better! Now that no runtime information is used anymore, this works.

@Byron Byron merged commit 5242aad into Byron:main Sep 6, 2024
15 checks passed
@EliahKagan EliahKagan deleted the jj-realistic-ignore branch September 6, 2024 10:34
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