This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] [Tests] [NFC] Write output to files first before comparing with FileCheck
AbandonedPublic

Authored by george.karpenkov on Jun 27 2018, 4:45 PM.

Details

Summary

FileCheck is very good at making debugging difficult by hiding the original input.
A proper fix here would be to add an option to FileCheck to not do this,
but as a temporary solution using files seems to be the way to go.

Diff Detail

Event Timeline

This makes the test more complex. What is the reason for this change?

george.karpenkov abandoned this revision.Jun 27 2018, 7:45 PM

Debugging those is very unpleasant otherwise. But probably it has to be solved on FileCheck level.