summaryrefslogtreecommitdiff
path: root/tools/test.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-09-02 23:37:14 +0200
committerBert Belder <bertbelder@gmail.com>2018-09-24 13:45:03 -0700
commit2e3a8b495d5d6c5ad595d65cedafcc2b0d75d559 (patch)
tree10938fe00a8d5a92190c478eddded382d2c7fea4 /tools/test.py
parentbe8f49b33263238f17d8cbb334a36db6385fced2 (diff)
tools: make color output work on windows
Diffstat (limited to 'tools/test.py')
-rwxr-xr-xtools/test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test.py b/tools/test.py
index b8f49cf2b..3cd03e916 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -5,7 +5,7 @@ import os
import sys
from check_output_test import check_output_test
from setup_test import setup_test
-from util import executable_suffix, run, build_path
+from util import build_path, enable_ansi_colors, executable_suffix, run
from unit_tests import unit_tests
from util_test import util_test
import subprocess
@@ -28,6 +28,8 @@ def main(argv):
print "Usage: tools/test.py [build_dir]"
sys.exit(1)
+ enable_ansi_colors()
+
http_server.spawn()
# Internal tools testing