1*17dde371SRoy Sundahl# For IOS, we fail to permute the run lines properly (rdar://99889376) 2*17dde371SRoy SundahlXFAIL: ios && !iossim 328e967aaSKostya Serebryany# Tests CrossOverTest. 428e967aaSKostya Serebryany# We want to make sure that the test can find the input 528e967aaSKostya Serebryany# ABCDEFGHIJ when given two other inputs in the seed corpus: 628e967aaSKostya Serebryany# ABCDE00000 and 728e967aaSKostya Serebryany# ZZZZZFGHIJ 828e967aaSKostya Serebryany# 928e967aaSKostya SerebryanyRUN: %cpp_compiler %S/CrossOverTest.cpp -o %t-CrossOverTest 1028e967aaSKostya Serebryany 1128e967aaSKostya SerebryanyRUN: rm -rf %t-corpus 1228e967aaSKostya SerebryanyRUN: mkdir %t-corpus 1328e967aaSKostya SerebryanyRUN: echo -n ABCDE00000 > %t-corpus/A 1428e967aaSKostya SerebryanyRUN: echo -n ZZZZZFGHIJ > %t-corpus/B 1528e967aaSKostya Serebryany 160719b352SKostya Serebryany 17c10e6367SDokyung SongRUN: not %run %t-CrossOverTest -max_len=10 -reduce_inputs=0 -seed=1 -runs=10000000 %t-corpus 180719b352SKostya Serebryany 190719b352SKostya Serebryany# Test the same thing but using -seed_inputs instead of passing the corpus dir. 20c10e6367SDokyung SongRUN: not %run %t-CrossOverTest -max_len=10 -reduce_inputs=0 -seed=1 -runs=10000000 -seed_inputs=%t-corpus/A,%t-corpus/B 21