[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 06/07: ci: improve log print logic in test script
From: |
gnunet |
Subject: |
[taler-exchange] 06/07: ci: improve log print logic in test script |
Date: |
Sat, 09 Sep 2023 05:03:28 +0200 |
This is an automated email from the git hooks/post-receive script.
devan-carpenter pushed a commit to branch master
in repository exchange.
commit 0d27232838053b4ecb1c682df8a723cfca382ea4
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Fri Sep 8 14:11:37 2023 -0400
ci: improve log print logic in test script
---
ci/jobs/2-test/test.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ci/jobs/2-test/test.sh b/ci/jobs/2-test/test.sh
index 06bc1809..39fca5c1 100755
--- a/ci/jobs/2-test/test.sh
+++ b/ci/jobs/2-test/test.sh
@@ -23,11 +23,11 @@ print_logs()
{
for i in src/*/test-suite.log
do
- FAILURE="$(grep '^FAIL:' ${i} | cut -d' ' -f2)"
- if [ ! -z "${FAILURE}" ]; then
+ for FAILURE in $(grep '^FAIL:' ${i} | cut -d' ' -f2)
+ do
echo "Printing ${FAILURE}.log"
tail "$(dirname $i)/${FAILURE}.log"
- fi
+ done
done
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated (a4427442 -> 01196043), gnunet, 2023/09/08
- [taler-exchange] 01/07: docs: make doxygen fail on warnings, gnunet, 2023/09/08
- [taler-exchange] 02/07: ci: add docs dependencies to container environment, gnunet, 2023/09/08
- [taler-exchange] 06/07: ci: improve log print logic in test script,
gnunet <=
- [taler-exchange] 05/07: ci: install full gnunet package for gnunettest dep, gnunet, 2023/09/08
- [taler-exchange] 03/07: ci: add codespell job, gnunet, 2023/09/08
- [taler-exchange] 04/07: ci: setup postgresql inside test job, gnunet, 2023/09/08
- [taler-exchange] 07/07: ci: add wget to container env testing deps, gnunet, 2023/09/08