blob: 706517c8d3e7240496941ac35f1d61b22fa3606e [file] [log] [blame]
#!/usr/bin/env python3
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# 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 os
import sys
import nassh
import libdot
# Path to our html test page.
TEST_PAGE = os.path.join('nassh', 'html', 'nassh_test.html')
def main(argv):
"""The main func!"""
return libdot.load_tests.test_runner_main(
argv, TEST_PAGE, serve=True, mkdeps=lambda opts: nassh.mkdeps.mkdeps())
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))