tests: Warn not fail when reading invalid pickle status files
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 1 Sep 2016 16:27:20 +0000 (17:27 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 16 Mar 2017 13:51:37 +0000 (13:51 +0000)
commite2805f825a7983fdc1cf802ad2935b89e4d7ec8f
tree87fc34181b13ed34e0b1b804ac50c606a4f82fac
parent083cd6da788ce3d89a959aa2a847a622e0385afa
tests: Warn not fail when reading invalid pickle status files

With this change, the test script will output a warning when it reads
an incomplete (e.g., when a regression is still running) or corrupt
status file instead of throwing an exception. When the scipt is used
to show the results the corrupt file is skipped; when it is used to
test if all regressions run successfully it will return an error value
(2).

Change-Id: Ie7d9b457b200e3abc7ae6238e3efbf3d18cf4297
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2320
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
tests/tests.py