mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
c171514e30
llvm-svn: 251168
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
CHECK: BINGO
|
|
|
|
RUN: rm -rf %tmp/T1 %tmp/T2
|
|
RUN: mkdir -p %tmp/T1 %tmp/T2
|
|
RUN: echo F..... > %tmp/T1/1
|
|
RUN: echo .U.... > %tmp/T1/2
|
|
RUN: echo ..Z... > %tmp/T1/3
|
|
|
|
# T1 has 3 elements, T2 is empty.
|
|
RUN: LLVMFuzzer-FullCoverageSetTest -merge=1 %tmp/T1 %tmp/T2 2>&1 | FileCheck %s --check-prefix=CHECK1
|
|
CHECK1: Merge: running the initial corpus {{.*}} of 3 units
|
|
CHECK1: Merge: written 0 out of 0 units
|
|
|
|
RUN: echo ...Z.. > %tmp/T2/1
|
|
RUN: echo ....E. > %tmp/T2/2
|
|
RUN: echo .....R > %tmp/T2/3
|
|
RUN: echo F..... > %tmp/T2/a
|
|
RUN: echo .U.... > %tmp/T2/b
|
|
RUN: echo ..Z... > %tmp/T2/c
|
|
|
|
# T1 has 3 elements, T2 has 6 elements, only 3 are new.
|
|
RUN: LLVMFuzzer-FullCoverageSetTest -merge=1 %tmp/T1 %tmp/T2 2>&1 | FileCheck %s --check-prefix=CHECK2
|
|
CHECK2: Merge: running the initial corpus {{.*}} of 3 units
|
|
CHECK2: Merge: written 3 out of 6 units
|
|
|
|
# Now, T1 has 6 units and T2 has no new interesting units.
|
|
RUN: LLVMFuzzer-FullCoverageSetTest -merge=1 %tmp/T1 %tmp/T2 2>&1 | FileCheck %s --check-prefix=CHECK3
|
|
CHECK3: Merge: running the initial corpus {{.*}} of 6 units
|
|
CHECK3: Merge: written 0 out of 6 units
|