xref: /llvm-project/compiler-rt/test/fuzzer/compressed.test (revision eb0e4b1415800e34b86319ce1d57ad074d5ca202)
1REQUIRES: linux
2REQUIRES: zlib
3# zlib is "supported" on i386 even when only for x86_64, explicitly make i386
4# unsupported by this test.
5UNSUPPORTED: i386, target=arm{{.*}}
6# Custom mutator should find this bug, w/o custom -- no chance.
7RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestCustom -DCUSTOM_MUTATOR -I%zlib_include_dir %zlib_library
8RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestPlain -I%zlib_include_dir %zlib_library
9RUN: not %run %t-CompressedTestCustom -seed=1 -runs=1000000
10RUN:     %run %t-CompressedTestPlain  -seed=1 -runs=1000000
11