aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-11-12 14:18:08 +0100
committerGaëtan Gilbert2020-11-12 14:18:08 +0100
commit0cbd6c27cd66ee5517db0d4ecbd86dab80d12763 (patch)
treee703f496e3ad4a63d1f71e334b50dd53571c6e6a
parent9dfc627ccac11b46bc11bcc11e9609b952d35fdd (diff)
Print failed test suite logs in CI
in addition to having them as artefacts
-rwxr-xr-xtest-suite/report.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/report.sh b/test-suite/report.sh
index 5b74bee0c7..0b8497b809 100755
--- a/test-suite/report.sh
+++ b/test-suite/report.sh
@@ -21,7 +21,7 @@ cp summary.log "$SAVEDIR"/
rm "$FAILED"
# print info
-if [ -n "$APPVEYOR" ] || [ -n "$PRINT_LOGS" ]; then
+if [ -n "$CI" ] || [ -n "$PRINT_LOGS" ]; then
find logs/ -name '*.log' -not -name 'summary.log' -print0 | while IFS= read -r -d '' file; do
printf '%s\n' "$file"
cat "$file"