Use mach logging for single XHTML tests.

This commit is contained in:
Josh Matthews 2017-11-01 10:39:36 -04:00
parent 1b4bc29507
commit 557e2d65b0

View file

@ -35,7 +35,7 @@ def run_tests(paths=None, **kwargs):
use_mach_logging = False
if len(kwargs["test_list"]) == 1:
file_ext = os.path.splitext(kwargs["test_list"][0])[1].lower()
if file_ext in [".htm", ".html", ".js", ".xhtml"]:
if file_ext in [".htm", ".html", ".js", ".xhtml", ".xht"]:
use_mach_logging = True
if use_mach_logging: