Page MenuHomePhabricator

Add ExternalFunctions to fuzzer::TestEnvironment.
AcceptedPublic

Authored by aarongreen on Jan 12 2021, 9:36 AM.

Details

Summary

For tests that need to use fuzzer::EF, this change moves the unique_ptr holding the ExternalFunctions to the global test environment. This simplifies writing individual tests and mitigates one source of errors during test tear-down and repetition, e.g when using --gtest_repeat=<n>.

This is change 8 of (at least) 18 for cross-process fuzzing support.

Diff Detail

Event Timeline

aarongreen requested review of this revision.Jan 12 2021, 9:36 AM
aarongreen created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2021, 9:36 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
aarongreen updated this revision to Diff 321774.Feb 5 2021, 8:41 AM
This revision is now accepted and ready to land.Feb 8 2021, 12:03 PM
charco accepted this revision.Mar 11 2021, 3:04 PM