Home | History | Annotate | Download | only in site_utils

Lines Matching refs:autotest_dir

34 def _get_control_files_to_process(autotest_dir):
35 """Find all control files in autotest_dir that have 'SUITE='
37 @param autotest_dir: The directory to search for control files.
38 @return: All control files in autotest_dir that have a suite attribute.
40 fs_getter = suite.Suite.create_fs_getter(autotest_dir)
46 def get_suite_control_files(autotest_dir):
48 Partition all control files in autotest_dir based on suite.
50 @param autotest_dir: Directory to walk looking for control files.
53 @raise ValueError: If autotest_dir doesn't exist.
55 if not os.path.exists(autotest_dir):
57 ' their control files.' % autotest_dir)
59 autotest_dir = autotest_dir.rstrip('/')
62 for test in _get_control_files_to_process(autotest_dir):
68 test.path.replace('%s/' % autotest_dir, ''))
78 suite_control_files = get_suite_control_files(options.autotest_dir)