Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/gen Expect failure only when running under qe...



details:   https://anonhg.NetBSD.org/src/rev/7602582dbf91
branches:  trunk
changeset: 937672:7602582dbf91
user:      gson <gson%NetBSD.org@localhost>
date:      Sun Aug 23 11:04:58 2020 +0000

description:
Expect failure only when running under qemu's TCG CPU emulation, not
when running under hardware virtualization such as qemu -accel nvmm.

diffstat:

 tests/lib/libc/gen/t_fpsetmask.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ff80400a339c -r 7602582dbf91 tests/lib/libc/gen/t_fpsetmask.c
--- a/tests/lib/libc/gen/t_fpsetmask.c  Sun Aug 23 11:00:18 2020 +0000
+++ b/tests/lib/libc/gen/t_fpsetmask.c  Sun Aug 23 11:04:58 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_fpsetmask.c,v 1.20 2019/04/25 20:48:54 kamil Exp $ */
+/*     $NetBSD: t_fpsetmask.c,v 1.21 2020/08/23 11:04:58 gson Exp $ */
 
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -311,7 +311,7 @@
                                                                        \
                FPU_PREREQ();                                           \
                                                                        \
-               if (isQEMU())                                           \
+               if (isQEMU_TCG())                                       \
                        atf_tc_expect_fail("PR misc/44767");            \
                                                                        \
                m(t##_ops);                                             \



Home | Main Index | Thread Index | Old Index