blob: 9e34f3e1176e325b91da9728f45995953a39c71c [file] [log] [blame]
Achuith Bhandarkaree331b12018-11-20 16:03:06 -08001# -*- coding: utf-8 -*-
2# Copyright 2016 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6"""CLI for running Chrome OS tests from lib/cros_test.py."""
7
8from __future__ import print_function
9
Mike Frysinger4a243fb2020-02-21 02:56:35 -050010import sys
11
Achuith Bhandarkaree331b12018-11-20 16:03:06 -080012from chromite.lib import cros_test
13
Mike Frysinger4a243fb2020-02-21 02:56:35 -050014
15assert sys.version_info >= (3, 6), 'This module requires Python 3.6+'
16
17
Achuith Bhandarkaree331b12018-11-20 16:03:06 -080018def main(argv):
19 opts = cros_test.ParseCommandLine(argv)
20 opts.Freeze()
21 return cros_test.CrOSTest(opts).Run()