This is the mail archive of the gcc@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: Running a Single GCC Test Case


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.


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