tools: make color output work on windows

This commit is contained in:
Bert Belder 2018-09-02 23:37:14 +02:00
parent be8f49b332
commit 2e3a8b495d
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
6 changed files with 115 additions and 4 deletions

View file

@ -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