Regression: Add ANSI colours to highlight test status
authorAndreas Hansson <andreas.hansson@arm.com>
Sat, 14 Apr 2012 09:44:27 +0000 (05:44 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Sat, 14 Apr 2012 09:44:27 +0000 (05:44 -0400)
commitb9bc530ad20bceeed6e43ea459d271046f43e70c
tree8ff4ae20d6d05f4ca7267b0f5339e56c2b5e92a7
parentb6aa6d55eb856f99a06c400b5dcda118c46dacfa
Regression: Add ANSI colours to highlight test status

This patch adds a very basic pretty-printing of the test status
(passed or failed) to highlight failing tests even more: green for
passed, and red for failed. The printing only uses ANSI it the target
output is a tty and supports ANSI colours. Hence, any regression
scripts that are outputting to files or sending e-mails etc should
still be fine.
SConstruct
src/python/m5/util/terminal.py
tests/SConscript