This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Running a Single GCC Test Case
- From: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- To: "Shobaki, Ghassan" <Ghassan dot Shobaki at amd dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 21 Jul 2009 01:23:05 +0200
- Subject: Re: Running a Single GCC Test Case
- References: <912DA18E911D8B418824641EF1541F3C0D5AFC@ssvlexmb2.amd.com> <49F7466A.2050505@redhat.com> <534C8623EDA7174AA9FF7ADD752AD8E4319B66@ssvlexmb2.amd.com>
2009/7/21 Shobaki, Ghassan <Ghassan.Shobaki@amd.com>:
> Hi,
>
> Is there a way to run a single test from the GCC test suite under
> gcc/testsuite?
> I could not find the answer in
> http://gcc.gnu.org/install/test.html and the google searches I tried did
> not yield anything useful.
It is written in that page, although it could be more explicit.
<quote>
Likewise, in order to run only the g++ “old-deja” tests in the
testsuite with filenames matching `9805*', you would use
make check-g++ RUNTESTFLAGS="old-deja.exp=9805* other-options"
</quote>
So basically, you need to specify the appropriate .exp file and then
part of the filename. This should do what you want:
make check-gcc RUNTESTFLAGS=i386.exp=sse5-fma.c
Patches to the above webpage to make it clearer are welcome!
Cheers,
Manuel.