Home
last modified time | relevance | path

Searched refs:project_yaml (Results 1 – 5 of 5) sorted by relevance

/external/oss-fuzz/infra/build/functions/
Dbuild_project.py71 def set_yaml_defaults(project_name, project_yaml, image_project): argument
73 project_yaml.setdefault('disabled', False)
74 project_yaml.setdefault('name', project_name)
75 project_yaml.setdefault('image',
77 project_yaml.setdefault('architectures', DEFAULT_ARCHITECTURES)
78 project_yaml.setdefault('sanitizers', DEFAULT_SANITIZERS)
79 project_yaml.setdefault('fuzzing_engines', DEFAULT_ENGINES)
80 project_yaml.setdefault('run_tests', True)
81 project_yaml.setdefault('coverage_extra_args', '')
82 project_yaml.setdefault('labels', {})
[all …]
Dbuild_and_run_coverage.py64 project_yaml = build_project.load_project_yaml(project_name,
67 if project_yaml['disabled']:
71 if project_yaml['language'] not in LANGUAGES_WITH_COVERAGE_SUPPORT:
74 project_name, project_yaml['language'])
77 name = project_yaml['name']
78 image = project_yaml['image']
79 language = project_yaml['language']
135 'COVERAGE_EXTRA_ARGS=%s' % project_yaml['coverage_extra_args'].strip(),
137 if 'dataflow' in project_yaml['fuzzing_engines']:
Dproject_sync.py185 project_yaml = yaml.safe_load(project_yaml_contents)
186 builds_per_day = project_yaml.get('builds_per_day', DEFAULT_BUILDS_PER_DAY)
/external/oss-fuzz/infra/ci/
Dbuild_test.py55 project_yaml = {
60 self.assertFalse(build.should_build(project_yaml))
66 project_yaml = {'language': 'c++'}
67 self.assertTrue(build.should_build(project_yaml))
73 project_yaml = {
78 self.assertTrue(build.should_build(project_yaml))
84 project_yaml = {'language': 'go'}
85 self.assertTrue(build.should_build(project_yaml))
93 project_yaml = {
98 self.assertFalse(build.should_build(project_yaml))
Dbuild.py101 def should_build_coverage(project_yaml): argument
106 engines = project_yaml.get('fuzzing_engines', DEFAULT_ENGINES)
114 language = project_yaml.get('language')
123 def should_build(project_yaml): argument
128 return should_build_coverage(project_yaml)
133 return os.getenv(env_var) in project_yaml.get(yaml_name, defaults)
146 project_yaml = yaml.safe_load(file_handle)
148 if project_yaml.get('disabled', False):
156 if not should_build(project_yaml):