This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][Revised] PR55679: skip invalid tests from r194458 on darwin
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, dodji at redhat dot com, konstantin dot s dot serebryany at gmail dot com, mikestump at comcast dot net, iain at codesourcery dot com, glider at google dot com
- Date: Fri, 14 Dec 2012 16:20:18 +0100
- Subject: Re: [PATCH][Revised] PR55679: skip invalid tests from r194458 on darwin
- References: <20121214151347.GA6550@bromo.med.uc.edu>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Dec 14, 2012 at 10:13:47AM -0500, Jack Howarth wrote:
> 2012-12-14 Jack Howarth <howarth@bromo.med.uc.edu>
>
> PR sanitizer/55679
> * g++.dg/asan/interception-test-1.C: Skip on darwin.
> * lib/target-supports.exp (check_effective_target_swapcontext): Use
> check_no_compiler_messages to test support in ucontext.h.
Ok with:
> --- gcc/testsuite/lib/target-supports.exp (revision 194495)
> +++ gcc/testsuite/lib/target-supports.exp (working copy)
> @@ -736,7 +736,14 @@ proc check_effective_target_setrlimit {}
>
> # Return 1 if the target supports swapcontext, 0 otherwise.
> proc check_effective_target_swapcontext {} {
> - return [check_function_available "swapcontext"]
> + return [check_no_compiler_messages swapcontext object {
This should be executable instead of object.
Jakub