python: Flush the simulation stdout/stderr buffers
Occasionally gem5's stdout/stderr, when run within the TestLib
framework, will be shuffled. This is resolved by flushing the
stdout/stderr buffer before and after simulation.
In addition to this, the verifier.py has been improved to remove
boilerplate gem5 code from the stdout comparison.
Reviewed-by: Jason Lowe-Power <firstname.lastname@example.org>
Reviewed-by: Andreas Sandberg <email@example.com>
Maintainer: Jason Lowe-Power <firstname.lastname@example.org>
Maintainer: Andreas Sandberg <email@example.com>
Tested-by: kokoro <firstname.lastname@example.org>
13 files changed