Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / fuzzer-customcrossover.test
blob0835081f289a145fe1739c01fb9bc60f53e9d3ba
1 RUN: %cpp_compiler %S/CustomCrossOverTest.cpp -o %t-CustomCrossOverTest
3 RUN: not %run %t-CustomCrossOverTest -seed=1 -runs=1000000                2>&1 | FileCheck %s --check-prefix=CHECK_CO
4 Disable cross_over, verify that we can't find the target w/o it.
5 RUN:     %run %t-CustomCrossOverTest -seed=1 -runs=1000000 -cross_over=0 2>&1 | FileCheck %s --check-prefix=CHECK_NO_CO
7 CHECK_CO: In LLVMFuzzerCustomCrossover
8 CHECK_CO: BINGO
10 CHECK_NO_CO-NO: LLVMFuzzerCustomCrossover
11 CHECK_NO_CO: DONE