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: Question about Dejagnu C++ Execution Test


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


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