On Wed, 2014-06-25 at 20:25 +0600, Roman Gareev wrote: > Dear gcc contributors, > > could you please answer a few questions about unit tests? Is it > possible to use them in gcc? Or maybe there is some analogue? I would > be very grateful for your comments.
In GCC we have a DejaGnu based test suite. It's not a framework like CppUnit but you can write unit tests in it, too. For more info see https://gcc.gnu.org/install/test.html http://www.delorie.com/gnu/docs/dejagnu/dejagnu_6.html and the various test case examples in the source tree under gcc/testsuite. Cheers, Oleg