Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm Only expect the fmod test case to fail when u...



details:   https://anonhg.NetBSD.org/src/rev/705264d8d785
branches:  trunk
changeset: 1013309:705264d8d785
user:      gson <gson%NetBSD.org@localhost>
date:      Tue Aug 25 13:39:16 2020 +0000

description:
Only expect the fmod test case to fail when using qemu's TCG CPU emulation,
and not under hardware virtualization such as qemu -accel nvmm.

diffstat:

 tests/lib/libm/t_fmod.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 47602fe103fd -r 705264d8d785 tests/lib/libm/t_fmod.c
--- a/tests/lib/libm/t_fmod.c   Tue Aug 25 13:36:41 2020 +0000
+++ b/tests/lib/libm/t_fmod.c   Tue Aug 25 13:39:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fmod.c,v 1.3 2015/01/03 14:23:53 gson Exp $ */
+/* $NetBSD: t_fmod.c,v 1.4 2020/08/25 13:39:16 gson Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
 
 ATF_TC_BODY(fmod, tc)
 {
-       if (isQEMU())
+       if (isQEMU_TCG())
                atf_tc_expect_fail("PR misc/44767");
 
        ATF_CHECK(fmodf(2.0, 1.0) == 0);



Home | Main Index | Thread Index | Old Index