This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [GSoC] Question about unit tests
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Roman Gareev <gareevroman at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, Tobias Grosser <tobias at grosser dot es>, Mircea Namolaru <mircea dot namolaru at inria dot fr>
- Date: Fri, 27 Jun 2014 10:22:18 +0200
- Subject: Re: [GSoC] Question about unit tests
- Authentication-results: sourceware.org; auth=none
- References: <CABGF_gcZbqwkTqt-wGvWAAoe5oJmsc-v1WzTHksqg2g81wdR_Q at mail dot gmail dot com>
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