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 Point to port-macppc/46319 when failing o...



details:   https://anonhg.NetBSD.org/src/rev/e92bdd0b62d2
branches:  trunk
changeset: 778716:e92bdd0b62d2
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Apr 10 03:59:59 2012 +0000

description:
Point to port-macppc/46319 when failing on macppc.

diffstat:

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

diffs (27 lines):

diff -r 0127f4d59807 -r e92bdd0b62d2 tests/lib/libc/gen/t_fpsetmask.c
--- a/tests/lib/libc/gen/t_fpsetmask.c  Tue Apr 10 02:39:33 2012 +0000
+++ b/tests/lib/libc/gen/t_fpsetmask.c  Tue Apr 10 03:59:59 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_fpsetmask.c,v 1.3 2011/10/19 15:27:16 njoly Exp $ */
+/*     $NetBSD: t_fpsetmask.c,v 1.4 2012/04/10 03:59:59 jruoho Exp $ */
 
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -27,6 +27,7 @@
  */
 
 #include <atf-c.h>
+#include <atf-c/config.h>
 
 #include <stdio.h>
 #include <signal.h>
@@ -292,7 +293,8 @@
                                                                        \
        ATF_TC_BODY(m##_##t, tc)                                        \
        {                                                               \
-                                                                       \
+               if (strcmp(atf_config_get("atf_arch"), "macppc") == 0)  \
+                       atf_tc_expect_fail("PR port-macppc/46319");     \
                if (system("cpuctl identify 0 | grep -q QEMU") == 0)    \
                        atf_tc_skip("Test not applicable on QEMU");     \
                if (system("cpuctl identify 0 | grep -q                 \



Home | Main Index | Thread Index | Old Index