X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/86051ed1b66342bae0e21fd6643e66331ac2c07d..fc0b5cbe2f4272deac718cb99e2c765745c26408:/tools/tesh/run_context.c diff --git a/tools/tesh/run_context.c b/tools/tesh/run_context.c index 3f65821eb4..966d44a550 100644 --- a/tools/tesh/run_context.c +++ b/tools/tesh/run_context.c @@ -402,8 +402,11 @@ void *rctx_wait(void* r) { rctx_free(rctx); else rctx_empty(rctx); - if (errcode) + if (errcode) { + if (!rctx->check_output) + INFO1("Here is the child output:\n%s",rctx->output_got->data); exit (errcode); + } return NULL; }