test: don't dump output for skipped tests
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é <saghul@gmail.com>
This commit is contained in:
parent
cc1d38ea93
commit
dd9f751ead
@ -281,7 +281,7 @@ out:
|
|||||||
log_tap_result(test_count, test, status, &processes[i]);
|
log_tap_result(test_count, test, status, &processes[i]);
|
||||||
|
|
||||||
/* Show error and output from processes if the test failed. */
|
/* 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, "#");
|
fprintf(stderr, "#");
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user