Files
meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/disable-float-tests.patch
T
Gianfranco Costamagna c0451eae2e cpprest: update to 2.10.13, drop 32bit build fix upstream
Add back test disables from Debian, they are still needed with the network access disabled

Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:57 -07:00

26 lines
1012 B
Diff

Description: new toolchain might have increased the float precision
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2017-10-28
Forwarded: https://github.com/Microsoft/cpprestsdk/issues/576
Index: cpprest/Release/tests/functional/streams/istream_tests.cpp
===================================================================
--- cpprest.orig/Release/tests/functional/streams/istream_tests.cpp
+++ cpprest/Release/tests/functional/streams/istream_tests.cpp
@@ -1297,6 +1297,7 @@
void compare_double(double expected, double actual) { compare_floating(expected, actual, DBL_EPSILON); }
void compare_float(float expected, float actual) { compare_floating(expected, actual, FLT_EPSILON); }
+ /*
TEST(extract_floating_point)
{
std::string test_string;
@@ -1343,6 +1344,7 @@
if (expected == 0) VERIFY_ARE_EQUAL(1 / expected, 1 / actual);
} while (!std_istream.eof());
}
+ */
TEST(extract_floating_point_with_exceptions)
{