Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/tests/lib/libm Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/ce61b311c16d
branches: netbsd-7
changeset: 798832:ce61b311c16d
user: snj <snj%NetBSD.org@localhost>
date: Mon Jan 12 21:03:09 2015 +0000
description:
Pull up following revision(s) (requested by gson in ticket #413):
tests/lib/libm/Makefile: revision 1.31
tests/lib/libm/t_fmod.c: revision 1.3
Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
diffstat:
tests/lib/libm/Makefile | 4 +++-
tests/lib/libm/t_fmod.c | 7 ++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r 876d5b1790e4 -r ce61b311c16d tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile Mon Jan 12 21:02:09 2015 +0000
+++ b/tests/lib/libm/Makefile Mon Jan 12 21:03:09 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2014/08/10 11:30:51 martin Exp $
+# $NetBSD: Makefile,v 1.26.2.1 2015/01/12 21:03:09 snj Exp $
.include <bsd.own.mk>
@@ -14,6 +14,8 @@
COPTS+= -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
.endif
+CPPFLAGS.t_fmod.c+= -I${.CURDIR}/../libc/gen
+
TESTS_C+= t_acos
TESTS_C+= t_asin
TESTS_C+= t_atan
diff -r 876d5b1790e4 -r ce61b311c16d tests/lib/libm/t_fmod.c
--- a/tests/lib/libm/t_fmod.c Mon Jan 12 21:02:09 2015 +0000
+++ b/tests/lib/libm/t_fmod.c Mon Jan 12 21:03:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fmod.c,v 1.2 2014/02/27 17:26:02 joerg Exp $ */
+/* $NetBSD: t_fmod.c,v 1.2.6.1 2015/01/12 21:03:09 snj Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -33,6 +33,8 @@
#include <float.h>
#include <math.h>
+#include "isqemu.h"
+
ATF_TC(fmod);
ATF_TC_HEAD(fmod, tc)
{
@@ -41,6 +43,9 @@
ATF_TC_BODY(fmod, tc)
{
+ if (isQEMU())
+ atf_tc_expect_fail("PR misc/44767");
+
ATF_CHECK(fmodf(2.0, 1.0) == 0);
ATF_CHECK(fmod(2.0, 1.0) == 0);
ATF_CHECK(fmodl(2.0, 1.0) == 0);
Home |
Main Index |
Thread Index |
Old Index