From 90988f578c83a73596f30b1cd8ec7c5ecebe613e Mon Sep 17 00:00:00 2001 From: Rupert Steel Date: Wed, 2 May 2018 17:25:30 +1200 Subject: [PATCH] Enable console colour in the approval tests on windows. --- scripts/approvalTests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index ee6a8f15..9ce927b6 100755 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -12,6 +12,10 @@ import difflib import scriptCommon from scriptCommon import catchPath +if os.name == 'nt': + # Enable console colours on windows + os.system('') + rootPath = os.path.join(catchPath, 'projects/SelfTest/Baselines')