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

Add target_os attribute to test framework #5650

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Add target_os attribute to test framework #5650

merged 2 commits into from
Jan 8, 2024

Conversation

dlon
Copy link
Member

@dlon dlon commented Jan 3, 2024

This PR makes it possible to write tests that only run on a specific OS, either Linux, macOS, or Windows. The "OS under test" was also moved to TEST_CONFIG, since it's a constant and we know it in advance.

Closes DES-533.


This change is Reviewable

Copy link

linear bot commented Jan 3, 2024

Copy link
Contributor

@MarkusPettersson98 MarkusPettersson98 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 14 of 14 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dlon dlon force-pushed the add-os-specific-tests branch from 8b0f844 to 1acf4fb Compare January 5, 2024 10:12
@dlon dlon force-pushed the add-os-specific-tests branch from 1acf4fb to 13b25f7 Compare January 8, 2024 10:32
@dlon dlon force-pushed the add-os-specific-tests branch from 13b25f7 to 3b312da Compare January 8, 2024 10:34
Copy link
Contributor

@MarkusPettersson98 MarkusPettersson98 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dlon dlon merged commit e52c463 into main Jan 8, 2024
28 checks passed
@dlon dlon deleted the add-os-specific-tests branch January 8, 2024 10:40
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