Module Name:    src
Committed By:   jruoho
Date:           Tue Apr 10 03:59:59 UTC 2012

Modified Files:
        src/tests/lib/libc/gen: t_fpsetmask.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/gen/t_fpsetmask.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/libc/gen/t_fpsetmask.c
diff -u src/tests/lib/libc/gen/t_fpsetmask.c:1.3 src/tests/lib/libc/gen/t_fpsetmask.c:1.4
--- src/tests/lib/libc/gen/t_fpsetmask.c:1.3	Wed Oct 19 15:27:16 2011
+++ src/tests/lib/libc/gen/t_fpsetmask.c	Tue Apr 10 03:59:59 2012
@@ -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 @@ sigfpe(int s, siginfo_t *si, void *c)
 									\
 	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			\

Reply via email to