blob: a936b14668a25f6da8fb2d285befca4235fdc5b8 [file] [edit]
#!/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."""
from __future__ import print_function
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:]))