tests: Make it possible to run functional tests on Windows

This commit is contained in:
Chun Kuan Lee
2018-08-20 02:54:54 +08:00
parent 3832c25f17
commit 2148c36b6e
5 changed files with 59 additions and 26 deletions

View File

@ -25,10 +25,6 @@ def main():
parser.add_argument('--html', dest='html', action='store_true', help='outputs the combined log as html. Requires jinja2. pip install jinja2')
args, unknown_args = parser.parse_known_args()
if args.color and os.name != 'posix':
print("Color output requires posix terminal colors.")
sys.exit(1)
if args.html and args.color:
print("Only one out of --color or --html should be specified")
sys.exit(1)