llvm-project/compiler-rt/test/fuzzer/cross_over_uniform_dist.test

17 lines
574 B
Plaintext

REQUIRES: linux, x86_64
RUN: %cpp_compiler %S/KeepSeedTest.cpp -o %t-CrossOverUniformDistTest
RUN: rm -rf %t-corpus
RUN: mkdir %t-corpus
RUN: echo -n "@SELECT" > %t-corpus/A
RUN: echo -n "@FROM WHERE" > %t-corpus/B
RUN: not %run %t-CrossOverUniformDistTest -keep_seed=1 -cross_over_uniform_dist=1 -seed=1 -runs=5000000 %t-corpus 2>&1 | FileCheck %s
CHECK: BINGO
RUN: rm -rf %t-corpus
RUN: mkdir %t-corpus
RUN: echo -n "@SELECT" > %t-corpus/A
RUN: echo -n "@FROM WHERE" > %t-corpus/B
RUN: %run %t-CrossOverUniformDistTest -keep_seed=1 -seed=1 -runs=5000000 %t-corpus 2>&1