diff options
| author | martin <martin@NetBSD.org> | 2012-05-30 06:01:22 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2012-05-30 06:01:22 +0000 |
| commit | 71c6750bd7d0a4dc94687ccd8fe5a6ccfa1abbd2 (patch) | |
| tree | 16b97a5f53eb90e3bfb2005acf2e38c8a57300ea /tests/lib/libexecinfo | |
| parent | 72fb2570c6ddbdd46399ea2e729fba5b45a28a05 (diff) | |
Skip test on non-amd64 machines for now, pointing to PR 46490.
Diffstat (limited to 'tests/lib/libexecinfo')
| -rw-r--r-- | tests/lib/libexecinfo/t_backtrace.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/lib/libexecinfo/t_backtrace.c b/tests/lib/libexecinfo/t_backtrace.c index 93e9f5d528b..b37dec75992 100644 --- a/tests/lib/libexecinfo/t_backtrace.c +++ b/tests/lib/libexecinfo/t_backtrace.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_backtrace.c,v 1.2 2012/05/28 09:51:34 martin Exp $ */ +/* $NetBSD: t_backtrace.c,v 1.3 2012/05/30 06:01:22 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -29,9 +29,10 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_backtrace.c,v 1.2 2012/05/28 09:51:34 martin Exp $"); +__RCSID("$NetBSD: t_backtrace.c,v 1.3 2012/05/30 06:01:22 martin Exp $"); #include <atf-c.h> +#include <atf-c/config.h> #include <string.h> #include <stdlib.h> #include <execinfo.h> @@ -96,6 +97,12 @@ ATF_TC_HEAD(backtrace_fmt_basic, tc) ATF_TC_BODY(backtrace_fmt_basic, tc) { + const char *arch = atf_config_get("atf_machine"); + + if (strcmp(arch, "amd64") != 0) + atf_tc_skip("PR toolchain/46490: libexecinfo only" + " works on amd64 currently"); + myfunc(12); } |
