[llvm-dev] Using -runs consistently in libFuzzer tests

George Karpenkov via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 6 10:16:22 PDT 2018


> On Jul 6, 2018, at 9:31 AM, Kostya Serebryany <kcc at google.com> wrote:
> 
> Not sure. My answer would depend on a particular test. 
> for some tests -runs should not be required. 

For which ones?
My point is that failing tests should not hang, and while -runs *should* not be requires when the test passes,
it comes in handy when it does not.

> 
> On Fri, Jul 6, 2018 at 8:57 AM Matt Morehouse <mascasa at google.com <mailto:mascasa at google.com>> wrote:
> This sounds reasonable to me.  Some tests could probably use a seed as well.
> 
> On Thu, Jul 5, 2018 at 3:55 PM George Karpenkov <ekarpenkov at apple.com <mailto:ekarpenkov at apple.com>> wrote:
> Timeouts when running tests are annoying,
> but for many libFuzzer tests lacking -runs argument that’s an expected failure mode.
> Should we go through all the tests making sure that -runs is supplied?
> 
> Motivation: https://bugs.llvm.org/show_bug.cgi?id=38034 <https://bugs.llvm.org/show_bug.cgi?id=38034>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180706/b1e7034b/attachment.html>


More information about the llvm-dev mailing list