2017-08-22 07:25:50 +08:00
|
|
|
RUN: %cpp_compiler %S/CustomCrossOverTest.cpp -o %t-CustomCrossOverTest
|
|
|
|
|
2018-05-12 05:29:51 +08:00
|
|
|
RUN: not %run %t-CustomCrossOverTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=CHECK_CO
|
2017-09-07 10:04:06 +08:00
|
|
|
Disable cross_over, verify that we can't find the target w/o it.
|
2018-05-12 05:29:51 +08:00
|
|
|
RUN: %run %t-CustomCrossOverTest -seed=1 -runs=1000000 -cross_over=0 2>&1 | FileCheck %s --check-prefix=CHECK_NO_CO
|
2017-08-22 07:25:50 +08:00
|
|
|
|
2017-09-07 10:04:06 +08:00
|
|
|
CHECK_CO: In LLVMFuzzerCustomCrossover
|
|
|
|
CHECK_CO: BINGO
|
|
|
|
|
|
|
|
CHECK_NO_CO-NO: LLVMFuzzerCustomCrossover
|
|
|
|
CHECK_NO_CO: DONE
|
2017-08-22 07:25:50 +08:00
|
|
|
|