Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm When failing, point to PR lib/44057 and the d...
details: https://anonhg.NetBSD.org/src/rev/33527e3c1bdf
branches: trunk
changeset: 764541:33527e3c1bdf
user: martin <martin%NetBSD.org@localhost>
date: Tue Apr 26 20:20:16 2011 +0000
description:
When failing, point to PR lib/44057 and the discussion therein about the
relevant compiler bug.
diffstat:
tests/lib/libm/t_tanh.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 58e7ae7b933d -r 33527e3c1bdf tests/lib/libm/t_tanh.c
--- a/tests/lib/libm/t_tanh.c Tue Apr 26 19:58:12 2011 +0000
+++ b/tests/lib/libm/t_tanh.c Tue Apr 26 20:20:16 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_tanh.c,v 1.2 2011/04/08 06:37:50 jruoho Exp $ */
+/* $NetBSD: t_tanh.c,v 1.3 2011/04/26 20:20:16 martin Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_tanh.c,v 1.2 2011/04/08 06:37:50 jruoho Exp $");
+__RCSID("$NetBSD: t_tanh.c,v 1.3 2011/04/26 20:20:16 martin Exp $");
#include <math.h>
@@ -56,8 +56,10 @@
d = tanh(-0.0);
f = tanhf(-0.0);
- ATF_REQUIRE(signbit(d) != 0);
- ATF_REQUIRE(signbit(f) != 0);
+ ATF_REQUIRE_MSG(signbit(d) != 0,
+ "compiler bug, waiting for newer gcc import, see PR lib/44057");
+ ATF_REQUIRE_MSG(signbit(f) != 0,
+ "compiler bug, waiting for newer gcc import, see PR lib/44057");
#endif
}
Home |
Main Index |
Thread Index |
Old Index