gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]