File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,13 @@ LOGS=${1-logs}
5
5
for a in $( find " $LOGS " -type f -name " *.log" ) ; do
6
6
if tail -100 " $a " 2> /dev/null | grep " ^[A-Za-z]*Error" > /dev/null; then
7
7
echo :" :" error file=$a :" :" ==== ERROR IN LOG FILE $a ====
8
+ echo " ::group::$a "
8
9
cat " $a "
10
+ echo " ::endgroup::"
9
11
elif tail -20 " $a " 2> /dev/null | grep -E " ^(Warning: Error testing|^sage .*doctest.*failed)" > /dev/null; then
10
12
echo :" :" warning file=$a :" :" ==== TESTSUITE FAILURE IN LOG FILE $a ====
13
+ echo " ::group::$a "
11
14
cat " $a "
15
+ echo " ::endgroup::"
12
16
fi
13
17
done
Original file line number Diff line number Diff line change @@ -230,11 +230,11 @@ ARG EXTRA_CONFIGURE_ARGS=""
230
230
EOF
231
231
if [ ${WITH_SYSTEM_SPKG} = " force" ]; then
232
232
cat << EOF
233
- $RUN echo "****** Configuring: ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} *******"; ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} || (echo "********** configuring without forcing ***********"; cat config.log; ./configure --enable-build-as-root; cat config.log; exit 1) $ENDRUN
233
+ $RUN echo "****** Configuring: ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} *******"; ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} || (echo "********** configuring without forcing ***********"; echo "::group::config.log"; cat config.log; echo "::endgroup::"; ./configure --enable-build-as-root; echo "::group::config.log"; cat config.log; echo "::endgroup::" ; exit 1) $ENDRUN
234
234
EOF
235
235
else
236
236
cat << EOF
237
- $RUN echo "****** Configuring: ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} *******"; ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} || (cat config.log; exit 1) $ENDRUN
237
+ $RUN echo "****** Configuring: ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} *******"; ./configure --enable-build-as-root $CONFIGURE_ARGS \$ {EXTRA_CONFIGURE_ARGS} || (echo "::group::config.log"; cat config.log; echo "::endgroup::" ; exit 1) $ENDRUN
238
238
EOF
239
239
fi
240
240
cat << EOF
You can’t perform that action at this time.
0 commit comments