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 & PCH are incompatible ...


On Tue, May 12, 2009 at 08:55, Basile STARYNKEVITCH
<basile@starynkevitch.net> wrote:

> Could anyone please help me on writing such a test case?

Just cut-and-paste from the existing test cases in gcc.dg/plugin:

-  Add a file for the plugin code itself, and other files for the
client code you want to test the plugin with.

- Then edit gcc.dg/plugin/plugin.exp and add the set of files to the
variable 'plugin_test_list'.

That's all you need to do.


Diego.


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