tests: Add a timeout to getremotetime
The helper is meant to check if the local binary is younger than the
remote binary (on gem5.org). If the call fails it is giving up and
it is just using the local regression (producing a warning).
The code is not handling the blocking behaviour of the connection:
simulaton might stall indefinitely
The patch is addressing this by providing a 10 seconds timeout.
Signed-off-by: Giacomo Travaglini <email@example.com>
Reviewed-by: Nikos Nikoleris <firstname.lastname@example.org>
Tested-by: kokoro <email@example.com>
Reviewed-by: Jason Lowe-Power <firstname.lastname@example.org>
Maintainer: Jason Lowe-Power <email@example.com>
1 file changed