From 799614faa3f921ff6ea49e700cbe8a9fb4febf4c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 11 Sep 2019 11:16:53 +0200 Subject: [PATCH] Travis and Appveyor: use HARNESS_VERBOSE_FAILURE rather than HARNESS_VERBOSE This allows for shorter logs, and also logs that only show the details for tests that fail. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9862) --- .travis.yml | 2 +- appveyor.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f97a6bebb..ade61d1d60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -195,7 +195,7 @@ script: if [ -e krb5/src ]; then sudo apt-get -yq install bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python-cjson python-paste python-pyrad slapd tcl-dev tcsh; fi; - if ! HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then + if ! HARNESS_VERBOSE_FAILURE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then echo -e '\052\052 FAILED -- MAKE TEST'; travis_terminate 1; fi; diff --git a/appveyor.yml b/appveyor.yml index 24966c0faa..ab4444d640 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,9 +53,9 @@ test_script: - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { if ($env:EXTENDED_TESTS) { - cmd /c "nmake test V=1 2>&1" + cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes 2>&1" } Else { - cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1" + cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1" } } - ps: >- -- 2.25.1