blob: a61376dc137047edd521a76670e6e3d209ee1159 [file] [log] [blame]
#!/usr/bin/env python3
# Copyright 2019 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Run unittests in a new browser."""
import sys
import terminal # pylint: disable=wrong-import-order
import libdot
# Path to our html test page.
TEST_PAGE = "terminal/html/terminal_test.html"
def main(argv):
"""The main func!"""
return libdot.load_tests.test_runner_main(
argv, TEST_PAGE, serve=True, mkdeps=terminal.mkdeps
)
if __name__ == "__main__":
with terminal.SymlinkNasshFiles():
sys.exit(main(sys.argv[1:]))