From dd9f751eadffdc63f25917f1cb8859707b90d3de Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 6 Jun 2016 14:45:40 +0200 Subject: [PATCH] test: don't dump output for skipped tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A skipped test already prints a diagnostic. Dumping its output just prints the same message twice. PR-URL: https://github.com/libuv/libuv/pull/898 Reviewed-By: Saúl Ibarra Corretgé --- test/runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner.c b/test/runner.c index ef3fda57..ee87a298 100644 --- a/test/runner.c +++ b/test/runner.c @@ -281,7 +281,7 @@ out: log_tap_result(test_count, test, status, &processes[i]); /* Show error and output from processes if the test failed. */ - if (status != 0 || task->show_output) { + if ((status != TEST_OK && status != TEST_SKIP) || task->show_output) { fprintf(stderr, "#"); fflush(stderr);