mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 03:05:43 +01:00
Scripts print more info on failure within buildbot
This commit is contained in:
parent
c2b0092a1b
commit
7fa67728ad
@ -926,6 +926,15 @@ run_client() {
|
||||
cp $SRV_OUT c-srv-${TESTS}.log
|
||||
cp $CLI_OUT c-cli-${TESTS}.log
|
||||
echo " ! outputs saved to c-srv-${TESTS}.log, c-cli-${TESTS}.log"
|
||||
|
||||
if [ "X${USER:-}" = Xbuildbot -o "X${LOGNAME:-}" = Xbuildbot ]; then
|
||||
echo " ! server output:"
|
||||
cat c-srv-${TESTS}.log
|
||||
echo " ! ==================================================="
|
||||
echo " ! client output:"
|
||||
cat c-cli-${TESTS}.log
|
||||
fi
|
||||
|
||||
FAILED=$(( $FAILED + 1 ))
|
||||
;;
|
||||
esac
|
||||
|
@ -113,6 +113,14 @@ fail() {
|
||||
mv $CLI_OUT o-cli-${TESTS}.log
|
||||
echo " ! outputs saved to o-srv-${TESTS}.log and o-cli-${TESTS}.log"
|
||||
|
||||
if [ "X${USER:-}" = Xbuildbot -o "X${LOGNAME:-}" = Xbuildbot ]; then
|
||||
echo " ! server output:"
|
||||
cat o-srv-${TESTS}.log
|
||||
echo " ! ============================================================"
|
||||
echo " ! client output:"
|
||||
cat o-cli-${TESTS}.log
|
||||
fi
|
||||
|
||||
FAILS=$(( $FAILS + 1 ))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user