Lines Matching refs:errors
57 errors = []
60 errors += error_msg(f'Key "{key}" must be one of {supported_keys}')
61 return errors
88 errors = []
90 errors += _check_int_range(
92 errors += _check_int_range(
94 errors += _check_int_range(
96 return errors
100 errors = []
101 errors += _check_properties(
104 errors += _check_properties(
107 errors += _check_swarming_task_attrs(error_msg, src_dict)
108 return errors
114 errors = check_keys(error_msg, test, SUPPORTED_TEST_KEYS)
116 errors += error_msg('A test requires a name')
117 errors += _check_swarming_config(error_msg, test)
121 errors += error_msg('If specified, test_args must be a list of arguments')
123 errors += error_msg('If specified, all test_args must be strings')
126 errors += _check_int_range(
131 errors += error_msg('If specified, variant must be a non-empty string')
133 return errors
149 errors = []
155 errors += error_msg('Buildername must be a non-empty string')
158 errors += error_msg('Value must be a non-empty dict')
161 errors += check_keys(error_msg, builder_spec, SUPPORTED_BUILDER_SPEC_KEYS)
162 errors += _check_swarming_config(error_msg, builder_spec)
165 errors += _check_test(error_msg, test)
167 return errors
188 errors = []
191 errors += _check_test_spec(file_path, f.read())
192 return [output_api.PresubmitError(r) for r in errors]