Apparent failure to fail in summary

View: New views
3 Messages — Rating Filter:   Alert me  

Apparent failure to fail in summary

by Reuben Thomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am having some problem with a DejaGnu test suite, but the problem itself
is not what I'm writing about. At the end of a testsuite, I get the
following:

                 === zile Summary ===

WARNING: zile_version failed:
couldn't fork child process: resource temporarily unavailable
make[4]: Leaving directory `/local/build/cc/zile-2.3.1.1/src/testsuite'

note that DejaGnu itself does not fail, and the make continues; in this
case, it finishes successfully.

Since there was a problem with forking, DejaGnu should surely have caused
the make to fail!

The same had already happened in several tests, e.g.:

Running /local/build/cc/zile-2.3.1.1/src/testsuite/zile.test/yank.exp ...
ERROR: tcl error sourcing
/local/build/cc/zile-2.3.1.1/src/testsuite/zile.test/yank.
exp.
ERROR: couldn't fork child process: resource temporarily unavailable
     while executing
"exec cp $test_path/zile_test.input $edit_file"
     (procedure "interactive_test" line 7)
     invoked from within
"interactive_test yank "^@^N^N^W^N^N^N^Y^X^S^X^C""
     (file "/local/build/cc/zile-2.3.1.1/src/testsuite/zile.test/yank.exp"
line 1)
     invoked from within
"source /local/build/cc/zile-2.3.1.1/src/testsuite/zile.test/yank.exp"
     ("uplevel" body line 1)
     invoked from within
"uplevel #0 source
/local/build/cc/zile-2.3.1.1/src/testsuite/zile.test/yank.exp"
     invoked from within
"catch "uplevel #0 source $test_file_name""

Again, why doesn't this cause the test suite as a whole to fail?

--
http://rrt.sc3d.org/ | Eschatology Generally Breeds Dire Fanaticism


_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@...
http://lists.gnu.org/mailman/listinfo/bug-dejagnu

Re: Apparent failure to fail in summary

by Ben Elliston-37 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I am having some problem with a DejaGnu test suite, but the problem itself
> is not what I'm writing about. At the end of a testsuite, I get the
> following:

> note that DejaGnu itself does not fail, and the make continues; in
> this case, it finishes successfully.

How are you invoking runtest from your Makefile?

Ben


_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@...
http://lists.gnu.org/mailman/listinfo/bug-dejagnu

Re: Apparent failure to fail in summary

by Reuben Thomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 11 Jan 2009, Ben Elliston wrote:

>> I am having some problem with a DejaGnu test suite, but the problem itself
>> is not what I'm writing about. At the end of a testsuite, I get the
>> following:
>
>> note that DejaGnu itself does not fail, and the make continues; in
>> this case, it finishes successfully.
>
> How are you invoking runtest from your Makefile?

Using automake 1.10.

--
http://rrt.sc3d.org/
Kleineken: refreshes the dimensions other beers cannot reach


_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@...
http://lists.gnu.org/mailman/listinfo/bug-dejagnu