mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 09:35:39 +00:00
Enable SSL test scripts to dump logs on stdout
This commit is contained in:
parent
225684015d
commit
341e3789a3
|
@ -1072,7 +1072,7 @@ run_client() {
|
||||||
cp $CLI_OUT c-cli-${TESTS}.log
|
cp $CLI_OUT c-cli-${TESTS}.log
|
||||||
echo " ! outputs saved to c-srv-${TESTS}.log, 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
|
if [ "X${USER:-}" = Xbuildbot -o "X${LOGNAME:-}" = Xbuildbot -o "${LOG_FAILURE_ON_STDOUT:-0}" != 0 ]; then
|
||||||
echo " ! server output:"
|
echo " ! server output:"
|
||||||
cat c-srv-${TESTS}.log
|
cat c-srv-${TESTS}.log
|
||||||
echo " ! ==================================================="
|
echo " ! ==================================================="
|
||||||
|
|
|
@ -177,7 +177,7 @@ fail() {
|
||||||
fi
|
fi
|
||||||
echo " ! outputs saved to o-XXX-${TESTS}.log"
|
echo " ! outputs saved to o-XXX-${TESTS}.log"
|
||||||
|
|
||||||
if [ "X${USER:-}" = Xbuildbot -o "X${LOGNAME:-}" = Xbuildbot ]; then
|
if [ "X${USER:-}" = Xbuildbot -o "X${LOGNAME:-}" = Xbuildbot -o "${LOG_FAILURE_ON_STDOUT:-0}" != 0 ]; then
|
||||||
echo " ! server output:"
|
echo " ! server output:"
|
||||||
cat o-srv-${TESTS}.log
|
cat o-srv-${TESTS}.log
|
||||||
echo " ! ========================================================"
|
echo " ! ========================================================"
|
||||||
|
|
Loading…
Reference in a new issue