From 6d8650257d8c046a68e8cfda8fdcd8fe5db28c36 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Fri, 30 Jan 2015 21:13:01 +0800
Subject: [PATCH 2/5] testenv: allow color printer for Darwin platform.

---
 testenv/misc/colour_terminal.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testenv/misc/colour_terminal.py b/testenv/misc/colour_terminal.py
index b0849c1..16304b6 100644
--- a/testenv/misc/colour_terminal.py
+++ b/testenv/misc/colour_terminal.py
@@ -25,7 +25,7 @@ T_COLORS = {
     'ENDC'   : '\033[0m'
 }
 
-system = True if platform.system() == 'Linux' else False
+system = True if platform.system() in ( 'Linux', 'Darwin' ) else False
 check = False if getenv("MAKE_CHECK") == 'True' else True
 
 def printer (color, string):
-- 
2.2.1

