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 additional guards in tests for mocking #2624

Merged
merged 2 commits into from
Jan 16, 2024
Merged

Conversation

glbrntt
Copy link
Contributor

@glbrntt glbrntt commented Jan 16, 2024

Motivation:

In #2615 some of the syscall tests use a mocking infrastrucutre which is compiled out in release builds. The tests weren't correctly guarded for this so fail to build in release mode.

Modifications:

  • Add missing guards

Result:

Tests compile in release mode

@glbrntt glbrntt added the semver/none No version bump required. label Jan 16, 2024
Motivation:

In apple#2615 some of the syscall tests use a mocking infrastrucutre which is
compiled out in release builds. The tests weren't correctly guarded for
this so fail to build in release mode.

Modifications:

- Add missing guards
- Add missing availability on tests

Result:

Tests compile in release mode
@glbrntt glbrntt enabled auto-merge (squash) January 16, 2024 15:25
@glbrntt glbrntt merged commit 756f25e into apple:main Jan 16, 2024
8 of 10 checks passed
@glbrntt glbrntt deleted the enable-mocking branch January 17, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants