diff options
Diffstat (limited to 'llvm/test/tools/llvm-cov/sources-specified.test')
-rw-r--r-- | llvm/test/tools/llvm-cov/sources-specified.test | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/llvm/test/tools/llvm-cov/sources-specified.test b/llvm/test/tools/llvm-cov/sources-specified.test index ee81d00194e..54d87cf493f 100644 --- a/llvm/test/tools/llvm-cov/sources-specified.test +++ b/llvm/test/tools/llvm-cov/sources-specified.test @@ -8,16 +8,15 @@ RUN: %S/Inputs/sources_specified/main.covmapping \ RUN: %S/Inputs/sources_specified/main.cc %S/Inputs/sources_specified/extra \ RUN: | FileCheck -check-prefix=SHOW %s - -REPORT: {{.*}}main.cc{{.*}} -REPORT: {{.*}}extra{{[/\\]}}{{dec|inc}}.h{{.*}} -REPORT: {{.*}}extra{{[/\\]}}{{dec|inc}}.h{{.*}} +# Order of files may differ, check the total values calculated. REPORT-NOT: {{.*}}abs.h{{.*}} +REPORT: {{^}}TOTAL{{.*}}3{{.*}}72.73% -SHOW: {{.*}}main.cc{{.*}} -SHOW: {{.*}}extra{{[/\\]}}{{dec|inc}}.h{{.*}} -SHOW: {{.*}}extra{{[/\\]}}{{dec|inc}}.h{{.*}} +# Order of files may differ, check that there are 3 files and not abs.h. SHOW-NOT: {{.*}}abs.h{{.*}} +SHOW: {{.*}}sources_specified{{.*}} +SHOW: {{.*}}sources_specified{{.*}} +SHOW: {{.*}}sources_specified{{.*}} Instructions for regenerating the test: |