[libFuzzer] Dump input on failure for sigusr tests.

Should help with debugging failures on the bots.

llvm-svn: 361070
This commit is contained in:
Matt Morehouse 2019-05-17 19:33:31 +00:00
parent fd0779181f
commit 2fd318e543
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,6 @@ RUN: %run %t/ForkSIGUSR -fork=3 -ignore_crashes=1 2>%t/log & export PID=$!
RUN: sleep 3
RUN: kill -SIGUSR2 $PID
RUN: sleep 6
RUN: cat %t/log | FileCheck %s
RUN: cat %t/log | FileCheck %s --dump-input=fail
CHECK: libFuzzer: {{.*}}exiting

View File

@ -21,7 +21,7 @@ RUN: sleep 3
RUN: pkill -SIGUSR2 -P $PID
RUN: kill -SIGUSR2 $PID
RUN: sleep 6
RUN: cat %t/log | FileCheck %s
RUN: cat %t/log | FileCheck %s --dump-input=fail
RUN: grep C2/g %t/MCF
RUN: grep STARTED %t/MCF
RUN: tail -n 2 %t/MCF | grep FT