Skip to content

Commit

Permalink
[libFuzzer] Dump input on failure for sigusr tests.
Browse files Browse the repository at this point in the history
Should help with debugging failures on the bots.

llvm-svn: 361070
  • Loading branch information
morehouse committed May 17, 2019
1 parent fd07791 commit 2fd318e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler-rt/test/fuzzer/fork-sigusr.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion compiler-rt/test/fuzzer/merge-sigusr.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fd318e

Please sign in to comment.