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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user