Source-Changes-HG archive

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

[src/trunk]: src/tests Even these naive test cases caught one (QEMU?) bug; co...



details:   https://anonhg.NetBSD.org/src/rev/2efd93991116
branches:  trunk
changeset: 763559:2efd93991116
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Mar 25 04:26:41 2011 +0000

description:
Even these naive test cases caught one (QEMU?) bug; comment PR # 44767.

diffstat:

 tests/include/sys/t_bitops.c |  5 ++++-
 tests/lib/libm/t_floor.c     |  7 +++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 32da7d40db5f -r 2efd93991116 tests/include/sys/t_bitops.c
--- a/tests/include/sys/t_bitops.c      Fri Mar 25 00:45:24 2011 +0000
+++ b/tests/include/sys/t_bitops.c      Fri Mar 25 04:26:41 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_bitops.c,v 1.3 2011/03/24 07:37:04 jruoho Exp $ */
+/*     $NetBSD: t_bitops.c,v 1.4 2011/03/25 04:26:42 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -155,6 +155,9 @@
 ATF_TC(ilog2_2);
 ATF_TC_HEAD(ilog2_2, tc)
 {
+       /*
+        * This may fail under QEMU; see PR misc/44767.
+        */
        atf_tc_set_md_var(tc, "descr", "Test log2(3) vs. ilog2(3)");
 }
 
diff -r 32da7d40db5f -r 2efd93991116 tests/lib/libm/t_floor.c
--- a/tests/lib/libm/t_floor.c  Fri Mar 25 00:45:24 2011 +0000
+++ b/tests/lib/libm/t_floor.c  Fri Mar 25 04:26:41 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_floor.c,v 1.1 2011/03/24 15:43:06 jruoho Exp $ */
+/* $NetBSD: t_floor.c,v 1.2 2011/03/25 04:26:41 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_floor.c,v 1.1 2011/03/24 15:43:06 jruoho Exp $");
+__RCSID("$NetBSD: t_floor.c,v 1.2 2011/03/25 04:26:41 jruoho Exp $");
 
 #include <math.h>
 #include <limits.h>
@@ -41,6 +41,9 @@
 ATF_TC(floor);
 ATF_TC_HEAD(floor, tc)
 {
+       /*
+        * This may fail under QEMU; see PR misc/44767.
+        */
        atf_tc_set_md_var(tc, "descr", "A basic test of floor(3)");
 }
 



Home | Main Index | Thread Index | Old Index