Lines Matching full:suite
25 from autotest_lib.server.cros.dynamic_suite import suite, constants
39 _SUITE_REGEX = r'suite:(.*)'
63 help='Run given test(s). Use suite:SUITE to specify '
64 'test suite. Use e:[NAME_PATTERN] to specify a '
88 help='When scheduling a suite, skip any tests marked '
90 ' via suite:[SUITE].')
116 """Create a suite from the given suite predicate.
118 Satisfaction of dependencies is enforced by Suite.schedule() if
120 i.e. |remote|, was added to afe. Suite.schedule() will not
128 returns True on those that should be in suite
131 'login_CryptohomeMounted' or 'suite:smoke'.
133 @param build: Build to schedule suite for.
134 @param board: Board to schedule suite for.
137 @param no_experimental: Skip experimental tests when scheduling a suite.
140 @returns: A suite.Suite object.
143 fs_getter = suite.Suite.create_fs_getter(autotest_path)
145 my_suite = suite.Suite.create_from_predicates([suite_predicate],
156 possible_tests = suite.Suite.find_possible_tests(fs_getter,
158 raise ValueError('Found no tests. Check your suite name, test name, '
325 Gets a suite predicte function for a given command-line argument.
328 'login_CryptohomeMounted' or 'suite:smoke'
329 @returns: A (predicate, string) tuple with the necessary suite
330 predicate, and a description string of the suite that
338 return (suite.Suite.name_in_tag_predicate(suitename),
339 'suite named %s' % suitename)
342 return (suite.Suite.test_name_matches_pattern_predicate(pattern),
343 'suite to match name pattern %s' % pattern)
346 return (suite.Suite.test_file_matches_pattern_predicate(pattern),
347 'suite to match file name pattern %s' % pattern)
348 return (suite.Suite.test_name_equals_predicate(test),
354 Gets a suite predicte function to calculate the similarity of given test
358 'login_CryptohomeMounted' or 'suite:smoke'
359 @returns: A (predicate, string) tuple with the necessary suite
360 predicate, and a description string of the suite that
368 return (suite.Suite.name_in_tag_similarity_predicate(suitename),
369 'suite name similar to %s' % suitename)
372 return (suite.Suite.test_name_similarity_predicate(pattern),
376 return (suite.Suite.test_file_similarity_predicate(pattern),
377 'suite to match file name similar to %s' % pattern)
378 return (suite.Suite.test_name_similarity_predicate(test),
447 run as a part of a suite.
452 @param tests: List of strings naming tests and suites to run. Suite strings
453 should be formed like "suite:smoke".
462 @param no_experimental: Skip experimental tests when scheduling a suite.
503 logging.info('Fetching suite for %s...', description)
504 suite = fetch_local_suite(autotest_path, predicate, afe, test_arg=test,
510 suites_and_descriptions.append((suite, description))
517 for suite, description in suites_and_descriptions:
518 logging.info('Scheduling suite for %s...', description)
519 ntests = suite.schedule(
623 @param tests: List of strings naming tests and suites to run. Suite strings
624 should be formed like "suite:smoke".
632 @param no_experimental: Skip experimental tests when scheduling a suite.