testsuite: Add --status to runtest invocation
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 18 Jan 2016 18:54:04 +0000 (13:54 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 19 Jan 2016 15:45:58 +0000 (10:45 -0500)
commit10eadbcc2866f11bd93ef379c76524521abdc218
treee624af3bfcd28e71a41121da0b6fd28edbe7457d
parentbef95aacb8501edb086381b3d413485d732f00f3
testsuite: Add --status to runtest invocation

By default, if a test driver (a test .exp) ends with an uncaught
error/exception, the runtest command will still have a return code of 0
(success).  However, if a test (or the environment) is broken and does
not work properly, it should be considered as failed so that we can
notice it and fix it.

Passing the --status flag to runtest will make it return an error if one
of the test it runs ends up with an uncaught error.

gdb/testsuite/ChangeLog:

* Makefile.in (check-single): Pass --status to runtest.
(check/%.exp): Likewise.
gdb/testsuite/Makefile.in
This page took 0.026677 seconds and 4 git commands to generate.