mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 23:04:28 +01:00
ssl-opt.sh: include test name in log files
This is a convenience for when we get log files from failed CI runs, or attach them to bug reports, etc. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
3f3302f183
commit
d06125c649
@ -697,19 +697,19 @@ run_test() {
|
|||||||
|
|
||||||
# run the commands
|
# run the commands
|
||||||
if [ -n "$PXY_CMD" ]; then
|
if [ -n "$PXY_CMD" ]; then
|
||||||
echo "$PXY_CMD" > $PXY_OUT
|
printf "# $NAME\n$PXY_CMD\n" > $PXY_OUT
|
||||||
$PXY_CMD >> $PXY_OUT 2>&1 &
|
$PXY_CMD >> $PXY_OUT 2>&1 &
|
||||||
PXY_PID=$!
|
PXY_PID=$!
|
||||||
wait_proxy_start "$PXY_PORT" "$PXY_PID"
|
wait_proxy_start "$PXY_PORT" "$PXY_PID"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
check_osrv_dtls
|
check_osrv_dtls
|
||||||
echo "$SRV_CMD" > $SRV_OUT
|
printf "# $NAME\n$SRV_CMD\n" > $SRV_OUT
|
||||||
provide_input | $SRV_CMD >> $SRV_OUT 2>&1 &
|
provide_input | $SRV_CMD >> $SRV_OUT 2>&1 &
|
||||||
SRV_PID=$!
|
SRV_PID=$!
|
||||||
wait_server_start "$SRV_PORT" "$SRV_PID"
|
wait_server_start "$SRV_PORT" "$SRV_PID"
|
||||||
|
|
||||||
echo "$CLI_CMD" > $CLI_OUT
|
printf "# $NAME\n$CLI_CMD\n" > $CLI_OUT
|
||||||
eval "$CLI_CMD" >> $CLI_OUT 2>&1 &
|
eval "$CLI_CMD" >> $CLI_OUT 2>&1 &
|
||||||
wait_client_done
|
wait_client_done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user