This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.4 PATCH: Fix libffi testsuite on MIPS


Rainer Orth wrote:

Andreas Tobler writes:

I think with the dg framework you can xfail your specified target on each testcase. Like /* { dg-do run { xfail mips*-*-* } } */


Since this problem will affect all libffi closure tests on all platforms
that lack the necessary support, I think it might be easier to provide a
single location to XFAIL them wholesale instead of having to many
individual tests.

Ok, I will think about how to solve that. We have at least a flag (FFI_CLOSURES) which tells if closures are implemented.
I may can use this flag to decide whether to xfail or not.
Another way could be splitting ffi_call and closure tests into two separate directories.


Give me some time, and/or file a bug :)

Thanks for the suggestion.

Andreas



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]