This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r187859 - in /branches/gimple-front-end/gcc: gi...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 24 May 2012 22:33:16 -0000
- Subject: r187859 - in /branches/gimple-front-end/gcc: gi...
Author: dnovillo
Date: Thu May 24 22:33:14 2012
New Revision: 187859
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187859
Log:
Add basic testsuite support for gimple.
Running the gimple testsuite is the same as running any other
testsuite. From <bld>/gcc, run:
$ make check-gimple
I have added a single .gimple test which is currently segfaulting the
parser. This means that you will get the following output from
the testsuite:
Running /usr/local/google/home/dnovillo/gimplefe/gimple-front-end/gcc/testsuite/gimple.dg/dg.exp ...
FAIL: gimple.dg/20120523-1.gimple -O (internal compiler error)
FAIL: gimple.dg/20120523-1.gimple -O (test for excess errors)
=== gimple Summary ===
I will fix this in a separate patch, shortly.
To add gimple tests, simply add .gimple files to the directory
testsuite/gimple.dg. You can use all the dejagnu commands described
in http://gcc.gnu.org/onlinedocs/gccint/Directives.html.
2012-05-24 Diego Novillo <dnovillo@google.com>
gimple/ChangeLog
* Make-lang.in: Add support for check-gimple.
testsuite/ChangeLog.gimplefe
* gimple.dg/20120523-1.gimple: New.
* gimple.dg/dg.exp: New.
* lib/gimple-dg.exp: New.
* lib/gimple.exp: New.
Added:
branches/gimple-front-end/gcc/testsuite/ChangeLog.gimplefe
branches/gimple-front-end/gcc/testsuite/gimple.dg/
branches/gimple-front-end/gcc/testsuite/gimple.dg/20120523-1.gimple
branches/gimple-front-end/gcc/testsuite/gimple.dg/dg.exp
branches/gimple-front-end/gcc/testsuite/lib/gimple-dg.exp
branches/gimple-front-end/gcc/testsuite/lib/gimple.exp
Modified:
branches/gimple-front-end/gcc/gimple/ChangeLog
branches/gimple-front-end/gcc/gimple/Make-lang.in