This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: plugins & PCH are incompatible ...
- From: Diego Novillo <dnovillo at google dot com>
- To: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 May 2009 08:59:32 -0400
- Subject: Re: plugins & PCH are incompatible ...
- References: <49F6F5DC.9000104@starynkevitch.net> <Pine.LNX.4.64.0904281310500.8284@digraph.polyomino.org.uk> <49F706D3.7000708@starynkevitch.net> <b798aad50905120510t6f9844ebm2f67503b3a4c095e@mail.gmail.com> <4A0971BA.40807@starynkevitch.net>
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.