1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03: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:
H.J. Lu
2017-10-04 14:31:16 -07:00
parent 7e16a5d1d1
commit 758f1bfa2a
2 changed files with 5 additions and 1 deletions

View File

@@ -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>