-
Notifications
You must be signed in to change notification settings - Fork 25
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
Test failures due to integer size differences between architectures #58
Comments
That's weird. Here's the declaration of the struct for semver: Lines 59 to 64 in 87cc30c
Note that it's explicitly using an |
Hi, why is that test marked TODO if it fails as expected, please? Thanks! |
The point of a TODO is to say "yes, I know this test fails, but want my coverage to be completely, and we will (may?) try to fix it in the future." At that time, it would not longer be a TODO. |
But the test cannot be fixed. It performs as expected. You could only modify the underlying code, i.e the |
I expect one day we will refactor semver to support larger integers, and then the test will pass. I don't know when that will be, but as this is one of the tests from the corpus, I wanted to be sure to include it for completeness. The test should not pass. If it does, it's weird, and I'm curious to know how Postgres was compiled to make that happen. |
See the TAP spec for details on the meaning of TODO tests. |
You can find the logs for all architectures by clicking in the |
Nothing obvious there. Can you send me the |
Oh, never mind, it's in the logs you linked to, thanks. |
I think 07b0c8b fixes the problem, bit of a 🤦🏻 actually. Appreciate the report! |
Hi,
Your package was uploaded to the Debian archive earlier this year, where we use it for internal databases. Thank you for providing the extension!
Perhaps somewhat related to the discussion in #47, we see variances in your test suite across architectures. On both
i386
andarmhf
, the TODO test number 31—which is expected to fail—actually succeeds.Is there a better way to handle it than to disable the test? Thanks!
Kind regards
Felix Lechner
The text was updated successfully, but these errors were encountered: