Skip to content

Conversation

@arthurscchan
Copy link
Contributor

OSS-Fuzz has a new Chronos feature that allows fast rebuilding of OSS-Fuzz-integrated projects and checks whether the project code or fuzzers still pass their unit tests after patching. To enable this feature, the unit tests of integrated projects need to be built. Therefore, this PR modifies the build script used by OSS-Fuzz to also build the unit tests for this project. The OSS-Fuzz-side changes for this project's integration can be found here: google/oss-fuzz#14525.

Issue: #497

@jmcnamara
Copy link
Owner

Thanks.

I can't really test this, not easily at least. Did you test it and is it ready for merge?

@arthurscchan
Copy link
Contributor Author

arthurscchan commented Dec 22, 2025

Yes. As this script will be copied to OSS-Fuzz to run, I have tested it on the local setting of OSS-Fuzz and it does build successfully without affecting the current fuzzing settings. The only extra thing to build is the unit testing logic of the project. So yes, it is ready to merge.

@jmcnamara jmcnamara merged commit 45f77bc into jmcnamara:main Dec 22, 2025
52 checks passed
@jmcnamara
Copy link
Owner

Merged. Thanks.

@arthurscchan arthurscchan deleted the oss-fuzz-build-add-unit-test branch December 23, 2025 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants