Files
clang-p2996/compiler-rt/test/fuzzer/compressed.test
Petr Hosek eb0e4b1415 [Fuzzer] Passthrough zlib CMake paths into the test (#107926)
We shouldn't assume that we're using system zlib installation.
2024-09-09 19:21:59 -07:00

11 lines
577 B
Plaintext

REQUIRES: linux
REQUIRES: zlib
# zlib is "supported" on i386 even when only for x86_64, explicitly make i386
# unsupported by this test.
UNSUPPORTED: i386, target=arm{{.*}}
# Custom mutator should find this bug, w/o custom -- no chance.
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestCustom -DCUSTOM_MUTATOR -I%zlib_include_dir %zlib_library
RUN: %cpp_compiler %S/CompressedTest.cpp -o %t-CompressedTestPlain -I%zlib_include_dir %zlib_library
RUN: not %run %t-CompressedTestCustom -seed=1 -runs=1000000
RUN: %run %t-CompressedTestPlain -seed=1 -runs=1000000