summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/fprofile-instr-generate.test
blob: 94eb3cc1a59d7b674adf8d947cc9f6d53c1b8cde (plain)
1
2
3
4
5
6
7
# Test libFuzzer + -fprofile-instr-generate
REQUIRES: linux
RUN: %cpp_compiler %S/SimpleTest.cpp -fsanitize-coverage=0 -fprofile-instr-generate -o %t-SimpleTest-fprofile-instr-generate
CHECK-NOT: INFO: Loaded 1 modules
CHECK: INFO: {{.*}} Clang Coverage Counters
CHECK: BINGO
RUN: not %t-SimpleTest-fprofile-instr-generate -runs=1000000 -seed=1 2>&1 | FileCheck %s
OpenPOWER on IntegriCloud