This is an archive of the discontinued LLVM Phabricator instance.

[fuzzer] Add a gtest-style test
ClosedPublic

Authored by kcc on Jan 29 2015, 6:15 PM.

Diff Detail

Event Timeline

kcc updated this revision to Diff 19018.Jan 29 2015, 6:15 PM
kcc retitled this revision from to [fuzzer] Add a gtest-style test.
kcc updated this object.
kcc edited the test plan for this revision. (Show Details)
kcc added a reviewer: samsonov.
kcc added a subscriber: Unknown Object (MLST).
samsonov added inline comments.Jan 30 2015, 12:02 PM
lib/Fuzzer/test/CMakeLists.txt
76

Looks like it's easier to add LLVMFuzzer-Unittest to ${TestBinaries}

lib/Fuzzer/test/FuzzerUnittest.cpp
6

Will this eventually go away? Shouldn't you layout LLVMFuzzer differently?

60

Remove debugging output

kcc updated this revision to Diff 19060.Jan 30 2015, 2:13 PM

Addressed Alexey's comments.

samsonov accepted this revision.Jan 30 2015, 3:11 PM
samsonov edited edge metadata.

LGTM, after addressing two nits below.

lib/Fuzzer/test/CMakeLists.txt
59

just ${TestBinaries} here.

lib/Fuzzer/test/FuzzerUnittest.cpp
6

s/may/we may
s/actuall/actually

This revision is now accepted and ready to land.Jan 30 2015, 3:11 PM
kcc closed this revision.Jan 30 2015, 3:28 PM