This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: GCC dejagnu testsuite: how to check for non-zero exit code?
- From: Jim Wilson <wilson at specifix dot com>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Fri, 07 Jul 2006 15:49:24 -0700
- Subject: Re: GCC dejagnu testsuite: how to check for non-zero exit code?
- References: <44AD7732.9040501@gmail.com>
FX Coudert wrote:
I'd like to include cases in the gfortran testsuite to check that we
correctly issue a run-time error, and exit with non-zero code.
Try dg-error. There are lots of examples to look at in existing
testcases, including in the gfortran.dg directory.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com