Module Name: src Committed By: gson Date: Tue Aug 25 13:39:16 UTC 2020
Modified Files: src/tests/lib/libm: t_fmod.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libm/t_fmod.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libm/t_fmod.c diff -u src/tests/lib/libm/t_fmod.c:1.3 src/tests/lib/libm/t_fmod.c:1.4 --- src/tests/lib/libm/t_fmod.c:1.3 Sat Jan 3 14:23:53 2015 +++ src/tests/lib/libm/t_fmod.c Tue Aug 25 13:39:16 2020 @@ -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_HEAD(fmod, tc) 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);