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

cppformat tests fail on ARM #202

Closed
vitaut opened this issue Sep 9, 2015 · 2 comments
Closed

cppformat tests fail on ARM #202

vitaut opened this issue Sep 9, 2015 · 2 comments

Comments

@vitaut
Copy link
Contributor

vitaut commented Sep 9, 2015

From https://bugzilla.redhat.com/show_bug.cgi?id=1260297#c2 :

[ RUN      ] FormatterTest.FormatLongDouble
/builddir/build/BUILD/cppformat-1.1.0/test/format-test.cc:1166: Failure
Value of: format("{0:+010.4g}", 392.65l)
  Actual: "+0000392.7"
Expected: "+0000392.6"

[...]

[ RUN      ] FormatIntTest.FormatDec
/builddir/build/BUILD/cppformat-1.1.0/test/format-test.cc:1387: Failure
Value of: format_decimal(static_cast<char>(-42))
  Actual: "214"
Expected: "-42"

[...]

[  PASSED  ] 89 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] FormatterTest.FormatLongDouble
[  FAILED  ] FormatIntTest.FormatDec
@vitaut
Copy link
Contributor Author

vitaut commented Sep 9, 2015

The rounding issue in FormatLongDouble was fixed in 948317b.

@vitaut
Copy link
Contributor Author

vitaut commented Sep 9, 2015

The FormatIntTest.FormatDec failure was fixed in 8450f5e .

@vitaut vitaut closed this as completed Sep 9, 2015
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

No branches or pull requests

1 participant