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

Do not rely on the actual value returned from strcmp in tests, only the sign. #205

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

jboynes
Copy link
Contributor

@jboynes jboynes commented Sep 7, 2023

Fix for issue #204 where the test suite fails intermittently on some platforms.

@aentinger
Copy link
Contributor

That's a good one, thank you for the fix. I'll check tomorrow if the new test cases make semantic sense too.

@jboynes jboynes mentioned this pull request Sep 7, 2023
@per1234 per1234 linked an issue Sep 7, 2023 that may be closed by this pull request
@per1234 per1234 added the bug label Sep 7, 2023
Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

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

LGTM 👍 though the test cases themselves may need an overhaul, they are not very expressive.

@aentinger aentinger merged commit e9d4d01 into arduino:master Sep 8, 2023
3 checks passed
@jboynes jboynes deleted the test_compareTo branch September 8, 2023 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent failure with test case String::compareTo(const char *)
3 participants