Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
This commit is contained in:
parent
59b4f8a08b
commit
263eee9471
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.30 2014/12/27 17:55:05 martin Exp $
|
||||
# $NetBSD: Makefile,v 1.31 2015/01/03 14:23:53 gson Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -16,6 +16,8 @@ CPPFLAGS+= -DHAVE_FENV_H
|
|||
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
|
||||
|
|
|
@ -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.3 2015/01/03 14:23:53 gson 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_HEAD(fmod, tc)
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue