brintos

brintos / llvm-project-archived public Read only

0
0
Text · 741 B · 5fc3b06 Raw
21 lines · plain
1# For IOS, we fail to permute the run lines properly (rdar://99889376)2XFAIL: ios && !iossim3# Tests CrossOverTest.4# We want to make sure that the test can find the input5# ABCDEFGHIJ when given two other inputs in the seed corpus:6# ABCDE00000 and7# ZZZZZFGHIJ8#9RUN: %cpp_compiler %S/CrossOverTest.cpp -o %t-CrossOverTest10 11RUN: rm -rf %t-corpus12RUN: mkdir %t-corpus13RUN: echo -n ABCDE00000 > %t-corpus/A14RUN: echo -n ZZZZZFGHIJ > %t-corpus/B15 16 17RUN: not %run %t-CrossOverTest -max_len=10 -reduce_inputs=0 -seed=1 -runs=10000000 %t-corpus18 19# Test the same thing but using -seed_inputs instead of passing the corpus dir.20RUN: not %run %t-CrossOverTest -max_len=10 -reduce_inputs=0 -seed=1 -runs=10000000 -seed_inputs=%t-corpus/A,%t-corpus/B21