Lines Matching +full:test +full:- +full:suite
4 # Use of this source code is governed by a BSD-style license that can be
7 """Tool for enumerating the tests in a given suite.
9 Given an autotest root directory and a suite name (e.g., bvt, regression), this
10 tool will print out the name of each test in that suite, one per line.
13 $ ./site_utils/suite_enumerator.py -a /usr/local/autotest bvt 2>/dev/null
17 This is intended for use only with ChromeOS test suits that leverage the
18 dynamic suite infrastructure in server/cros/dynamic_suite.py.
34 import autotest_lib.server.cros.dynamic_suite.suite as suite_lib
38 """Parse command line for arguments including autotest directory, suite
43 parser.add_option('-a', '--autotest_dir', dest='autotest_dir',
49 parser.add_option('-l', '--listall',
57 """Entry point to run the suite enumerator command."""
61 print('Cannot use suite_name with --listall')
70 for suite in suite_lib.list_all_suites('', devserver, fs_getter):
71 print(suite)
74 suite = suite_lib.Suite.create_from_name(args[0], {}, '', devserver,
76 # If in test list, print firmware_FAFTSetup before other tests
77 # NOTE: the test.name value can be *different* from the directory
78 # name that appears in test.path
80 for test in [test for test in suite.tests if test.name in
82 print(test.path)
83 for test in [test for test in suite.tests if test.name not in
85 print(test.path)