Commit 1a214664 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

More details about failing test subprocesses.

parent 8a374507
...@@ -224,8 +224,11 @@ tst_cb(const struct vev *ve, int what) ...@@ -224,8 +224,11 @@ tst_cb(const struct vev *ve, int what)
free(jp->tmpdir); free(jp->tmpdir);
if (stx) { if (stx) {
printf("# top TEST %s FAILED (%.3f)\n", printf("# top TEST %s FAILED (%.3f)",
jp->tst->filename, t); jp->tst->filename, t);
if (WIFSIGNALED(stx))
printf(" signal=%d", WTERMSIG(stx));
printf(" exit=%d", WEXITSTATUS(stx));
if (!vtc_continue) { if (!vtc_continue) {
/* XXX kill -9 other jobs ? */ /* XXX kill -9 other jobs ? */
exit(2); exit(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment