This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: GCC dejagnu testsuite: how to check for non-zero exit code?


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



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