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: gengtype plugin improvement last4round - .... testcases?


2010/11/25 Basile Starynkevitch <basile@starynkevitch.net>:
> What should be the form of a testcase for gengtype in plugin mode?
> I would imagine that we could run it in plugin mode on a tiny plugin.c
> containing some GTY, and request the resulting generated gt-plugin.h to
> contain so expected regular expression (or just some expected words)
> but I don't know how to code that.

Or have some little source file that includes gt-plugin.h and fails to
compile if any of the expected symbols are undefined.

I am not familiar with dejagnu, so I cannot offer further advice.

-- 
Laurynas


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