aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/cifuzz/generate_coverage_report_test.py
Commit message (Collapse)AuthorAge
* [infra][tests][NFC] Change mocked function prefix from "mocked_" to "mock_" ↵Gravatar jonathanmetzman2021-08-12
| | | | | (#6198) Also rename mock_ functions to have impl suffix so we can use mock_ in place of mocked_
* [cifuzz] Add pruning task (#6188)Gravatar jonathanmetzman2021-08-10
| | | Fixes: #6064
* [cifuzz] Fuzz in cifuzz-base (#6142)Gravatar jonathanmetzman2021-08-05
| | | Fixes: #5926
* [cifuzz] Fix corpus usage in coverage reports (#6093)Gravatar jonathanmetzman2021-07-22
| | | Fixes #6089
* Make oss-fuzz-project-name optional. (#6071)Gravatar Oliver Chang2021-07-21
| | | | | | | | | Also rename code uses from `project_name` to `oss_fuzz_project_name`, to be more explicit, and use it to determine whether or not we're running an OSS-Fuzz project or not. For external fuzzing #6051.
* [CIFuzz][ClusterFuzzLite] Prepare to support coverage reports for external ↵Gravatar jonathanmetzman2021-07-20
| | | | | | | | | | | | users (#6074) 1. Make coverage script accept an env var that controls where the generated report is written to. Use this in generate_coverage_report. 2. Rename CoverageGetter to OSSFuzzCoverage 3. Make affected_fuzz_targets get coverage object from clusterfuzz_deployment. 4. Add stubbed FilesystemCoverage class that will be used by non-OSS-Fuzz users. 5. Make ClusterFuzzLite able to return coverage object by downloading old coverage report and returning a FilesystemCoverage object. 6. Add stub to ClusterFuzzLite for uploading coverage. Related: #6054
* [CIFuzz] Don't make everything a subdirectory of /out (#5970)Gravatar jonathanmetzman2021-06-30
| | | Use different subdirectories of workspace for builds, old builds, coverage reports, corpora and artifacts/testscases.
* [CIFuzz] Add coverage report generation. (#5937)Gravatar jonathanmetzman2021-06-23
Also: 1. Support coverage builds. 2. Add an integration test for coverage builds and reports. 3. Refactor docker code so that there is less duplication in getting arguments for docker run, in particular when handling container (production) vs no container (testing). 4. Rename coverage.py to get_coverage_report. 5. Add tests for untested functions in docker.py 6. Add a test for get_fuzz_target_runner.