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: [plugins] RFA: Merge plugins into mainline [5/5 - testsuite]


On Tue, Apr 28, 2009 at 17:10, Janis Johnson <janis187@us.ibm.com> wrote:

> I'd prefer a different mechanism to list the files for each test and
> the list of tests itself, but this is OK, I'll take a closer look at
> that later.

Thanks.  Perhaps a way would be to create two arrays?  One with all
the plugin themselves using the naming convention 'plugin-<name>-*.c'
the other with 'plugin-<name>-test-*.c'.  The second array would have
a list of files in each location.  The loop just needs to go down both
arrays in lockstep.

I'm not quite sure how to code that in tcl, but I bet it's gross.


Diego.


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