This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFA] PR 11530: Fix and test case
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <tromey at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 6 May 2010 00:11:19 +0200
- Subject: RE: [RFA] PR 11530: Fix and test case
- References: <36245.8778698512$1272577829@news.gmane.org> <m3mxwkzwb4.fsf@fleche.redhat.com>
> Pierre> +struct a
> Pierre> + {
> Pierre> + union
> Pierre> + {
> Pierre> + int i;
> Pierre> + };
> Pierre> + } a;
>
> Since this is a C extension, I think that the test cases should
> probably
> be dependent on using GCC.
I have no idea how to do this....
After lokking into several testsuite exp files:
If the compiler is not gcc we should skip the test,
is that what you want?
if {![test_compiler_info gcc-*]} {
return 0
}
Would this fit?
Pierre