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

This commit is contained in:
jruoho 2012-04-10 03:59:59 +00:00
parent a74ccce819
commit 97f06f6fb9

View File

@ -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 \