summaryrefslogtreecommitdiff
path: root/deps/uv/test/runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/test/runner.c')
-rw-r--r--deps/uv/test/runner.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/uv/test/runner.c b/deps/uv/test/runner.c
index fdd8168411..8c7bd7f053 100644
--- a/deps/uv/test/runner.c
+++ b/deps/uv/test/runner.c
@@ -191,8 +191,10 @@ out:
}
/* Show error and output from processes if the test failed. */
- if (status != 0) {
- LOGF("\n`%s` failed: %s\n", test, errmsg);
+ if (status != 0 || task->show_output) {
+ if (status != 0) {
+ LOGF("\n`%s` failed: %s\n", test, errmsg);
+ }
for (i = 0; i < process_count; i++) {
switch (process_output_size(&processes[i])) {