mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
test-math-iscanonical.cc: Return errors != 0
Since not all non-zero error counts are errors, return errors != 0 instead. * math/test-math-iscanonical.cc (do_test): Return errors != 0.
This commit is contained in:
parent
7e16a5d1d1
commit
758f1bfa2a
@ -1,3 +1,7 @@
|
||||
2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* math/test-math-iscanonical.cc (do_test): Return errors != 0.
|
||||
|
||||
2017-10-04 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
|
||||
|
@ -42,7 +42,7 @@ do_test (void)
|
||||
#if __HAVE_DISTINCT_FLOAT128
|
||||
check_type<_Float128> ();
|
||||
#endif
|
||||
return errors;
|
||||
return errors != 0;
|
||||
}
|
||||
|
||||
#include <support/test-driver.c>
|
||||
|
Loading…
Reference in New Issue
Block a user