Lines Matching refs:suite
8 ATTRIBUTES either not match to SUITE or not in the attribute whitelist."""
17 from autotest_lib.server.cros.dynamic_suite.suite import Suite
40 # Go through all control file, check whether attribute matches suite. Return
42 fs_getter = Suite.create_fs_getter(common.autotest_dir)
48 # Modify attributes based on suite for the control files not match.
80 # Read the attr in the control files, check with whitelist and suite.
88 # Test when suite exists, whether attributes match suites
89 if hasattr(cd, 'suite'):
91 'suite:' + x.strip() for x in cd.suite.split(',') if x.strip())
94 # Test when suite not exists, whether attributes is empty
95 elif not hasattr(cd, 'suite') and cd_attrs:
112 # Parse attribute from suite, and prepare ATTRIBUTES line.
114 suite = cd.suite
117 'suite:' + x.strip() for x in suite.split(',') if x.strip())
123 # Read control file and modify the suite line with attribute added.
126 index = [i for i, val in enumerate(lines) if val.startswith('SUITE =') or
127 val.startswith('SUITE=')][0]