ext,test: Provide default terminal size
authorJason Lowe-Power <jason@lowepower.com>
Tue, 12 Mar 2019 16:01:09 +0000 (09:01 -0700)
committerJason Lowe-Power <jason@lowepower.com>
Thu, 21 Mar 2019 15:57:10 +0000 (15:57 +0000)
commitf871fd33e11f9c989a865db20d2e478b0b4418b5
treea624de10101674a259c5745ccb6ac5928f10e5de
parent541d89953a4d2264702b90204ed91bb589a056ae
ext,test: Provide default terminal size

When creating the separator for printing things to the terminal (=.*) we
use an ioctl that isn't supported in some sandboxed environments. When
running on the Google jenkins server (kokoro) it errors with an IOError.

Change-Id: I148dd87cffe6e93d6723a386aecf9a9ea6c5b455
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17449
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
ext/testlib/terminal.py