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: