32 lines · plain
1RUN: %cpp_compiler %S/FullCoverageSetTest.cpp -o %t-FullCoverageSetTest2 3RUN: rm -rf %t/T0 %t/T1 %t/T24RUN: mkdir -p %t/T0 %t/T1 %t/T25RUN: echo F..... > %t/T1/16RUN: echo .U.... > %t/T1/27RUN: echo ..Z... > %t/T1/38 9# T1 has 3 elements, T0 is empty.10RUN: rm -f %t/MCF11RUN: %run %t-FullCoverageSetTest -merge=1 -merge_control_file=%t/MCF %t/T0 %t/T1 2>&1 | FileCheck %s --check-prefix=CHECK112CHECK1: MERGE-OUTER: 3 files, 0 in the initial corpus13CHECK1: MERGE-OUTER: 3 new files with {{.*}} new features added; {{.*}} new coverage edges14 15RUN: echo ...Z.. > %t/T2/116RUN: echo ....E. > %t/T2/217RUN: echo .....R > %t/T2/318RUN: echo F..... > %t/T2/a19 20RUN: rm -rf %t/T021RUN: mkdir -p %t/T022 23# T1 has 3 elements, T2 has 4 elements, T0 is empty.24RUN: %run %t-FullCoverageSetTest -merge=1 -merge_control_file=%t/MCF %t/T0 %t/T1 %t/T2 2>&1 | FileCheck %s --check-prefix=CHECK225CHECK2: MERGE-OUTER: non-empty control file provided26CHECK2: MERGE-OUTER: control file ok, 3 files total, first not processed file 327CHECK2: MERGE-OUTER: starting merge from scratch, but reusing coverage information from the given control file28CHECK2: MERGE-OUTER: 7 files, 0 in the initial corpus, 3 processed earlier29CHECK2: MERGE-INNER: using the control file30CHECK2: MERGE-INNER: 4 total files; 0 processed earlier; will process 4 files now31CHECK2: MERGE-OUTER: 6 new files with {{.*}} new features added; {{.*}} new coverage edges32