Question about Dejagnu C++ Execution Test

Jeff Law law@redhat.com
Mon Aug 20 15:24:00 GMT 2012


On 08/17/2012 09:34 PM, Iyer, Balaji V wrote:
> Hello Everyone I have a question regarding a DejaGNU execution tests
> for C++. For C I used several C-torture routines (e.g.
> c-torture-execute) to add execution tests into the testsuite. I am
> not able to find a similar set of routine to use in C++. Can someone
> please point me if similar functions exists for C++? Also, any
> advice/pointers on how to write one would be great also.
>
> Any help on this topic is greatly appreciated!
The c++ testsuite uses the "dg" testing framework within dejagnu.

If you look at g++.dg/tree-ssa/20040317-1.C you'll see an example of how 
to set up an execution test.

Jeff



More information about the Gcc mailing list