From 4d94eb65794d724e82648f4e3a32d0119bb1c763 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 26 Dec 2023 12:25:01 +0100 Subject: [PATCH] Add debug info in the logs --- .github/workflows/GnuTests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 87c97ff2e70..63e1cd85c67 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -230,12 +230,16 @@ jobs: local test_type=$3 # "standard" or "root" if test -f "${ref_log_file}"; then - echo "Reference ${test_type} test log SHA1/ID: $(sha1sum -- "${ref_log_file}")" + echo "Reference ${test_type} test log SHA1/ID: $(sha1sum -- "${ref_log_file}") - ${test_type}" REF_ERROR=$(sed -n "s/^ERROR: \([[:print:]]\+\).*/\1/p" "${ref_log_file}"| sort) NEW_ERROR=$(sed -n "s/^ERROR: \([[:print:]]\+\).*/\1/p" "${new_log_file}" | sort) REF_FAILING=$(sed -n "s/^FAIL: \([[:print:]]\+\).*/\1/p" "${ref_log_file}"| sort) NEW_FAILING=$(sed -n "s/^FAIL: \([[:print:]]\+\).*/\1/p" "${new_log_file}" | sort) - + echo "Detailled information:" + echo "REF_ERROR = ${REF_ERROR}" + echo "NEW_ERROR = ${NEW_ERROR}" + echo "REF_FAILING = ${REF_FAILING}" + echo "NEW_FAILING = ${NEW_FAILING}" # Compare failing and error tests for LINE in ${NEW_FAILING} do