Testrunner: Print colored text only when printing on terminal

Test: ./art/test/testrunner/testrunner.py
Change-Id: Ica9701d6acd459d47fb63a722234fa17b141c33f
1 file changed