OSDN Git Service

[libFuzzer] remove the now redundant 'LLVMFuzzer-' prefix from libFuzzer tests
[android-x86/external-llvm.git] / lib / Fuzzer / test / standalone.test
1 RUN: %no_fuzzer_c_compiler %S/../standalone/StandaloneFuzzTargetMain.c -c -o %t_1.o
2 RUN: %no_fuzzer_cpp_compiler %S/InitializeTest.cpp -c -o %t_2.o
3
4 RUN: %no_fuzzer_cpp_compiler %t_1.o %t_2.o %build_dir/lib/libLLVMFuzzerNoMain.a -o %t-StandaloneInitializeTest
5 RUN: %t-StandaloneInitializeTest %S/hi.txt %S/dict1.txt 2>&1 | FileCheck %s
6 CHECK: StandaloneFuzzTargetMain: running 2 inputs
7 CHECK: Done:    {{.*}}hi.txt: (3 bytes)
8 CHECK: Done:    {{.*}}dict1.txt: (61 bytes)