[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 8b5f6ef 1/3: Make it simpler to search for er
From: |
Vadim Zeitlin |
Subject: |
[lmi-commits] [lmi] master 8b5f6ef 1/3: Make it simpler to search for errors in the CI build logs |
Date: |
Thu, 28 Oct 2021 20:13:58 -0400 (EDT) |
branch: master
commit 8b5f6ef19b8858d632ca09469eba056929b4b0fe
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>
Make it simpler to search for errors in the CI build logs
Avoid using "***" in the workflow file itself, as otherwise searching
for these characters always found their occurrences in the script itself
first before finding it in the output.
Note that we still want to output "***" if an error really occurs, so
just break them into separate arguments, but still keep them.
---
.github/workflows/ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 69e46b2..07a2973 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -259,7 +259,7 @@ jobs:
|| err=$?
if [ -n "$err" ]; then
- echo '*** Configuring failed, contents of config.log follows: ***'
+ echo '*''** Configuring failed, contents of config.log follows:
*''**'
echo '-----------------------------------------------------------'
cat config.log
echo '-----------------------------------------------------------'
@@ -350,7 +350,7 @@ jobs:
if [ -n "$err" ]; then
if [ -f ${lmi_build_dir}/test-suite.log ]; then
- echo '*** Tests failed, contents of test-suite.log follows:
***'
+ echo '*''** Tests failed, contents of test-suite.log
follows: *''**'
echo
'-----------------------------------------------------------'
cat ${lmi_build_dir}/test-suite.log
echo
'-----------------------------------------------------------'