From 0bde042c118e4bf7460c3b1018236bea659420d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Sun, 28 Aug 2022 16:22:16 +0200 Subject: [PATCH] Always print warnings/failures in integration test This makes it easier to debug issues when they appear in the CI. --- scripts/integration_test.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/scripts/integration_test.sh b/scripts/integration_test.sh index de517eda6..6e889b17b 100755 --- a/scripts/integration_test.sh +++ b/scripts/integration_test.sh @@ -355,23 +355,16 @@ do then continue fi - if [ "$arg_verbose" != "1" ] - then - continue - fi echo "[!] Warning: $stderr" cat "$stderr" done if test -n "$(find . -maxdepth 1 -name 'fail_*' -print -quit)" then - if [ "$arg_verbose" == "1" ] - then - for fail in fail_* - do - cat "$fail" - done - fi + for fail in fail_* + do + cat "$fail" + done print_results echo "[-] Test failed. See errors above." exit 1