// Test the --time/-t flag of clang-ssaf-linker. // RUN: rm -rf %t // RUN: mkdir -p %t // RUN: clang-ssaf-linker --time %S/Inputs/tu-1.json %S/Inputs/tu-2.json -o %t/lu-1+2.json 2>&1 \ // RUN: | FileCheck %s --match-full-lines // CHECK: ===-------------------------------------------------------------------------=== // CHECK-NEXT: {{[ ]+}}SSAF Linker // CHECK-NEXT: ===-------------------------------------------------------------------------=== // CHECK-NEXT: Total Execution Time: {{[0-9.]+}} seconds ({{[0-9.]+}} wall clock) // CHECK: {{.*}}---Wall Time---{{.*}} // CHECK-DAG: {{.*}}Write Summary // CHECK-DAG: {{.*}}Read Summaries // CHECK-DAG: {{.*}}Link Summaries // CHECK-DAG: {{.*}}Validate Input // CHECK: {{.*}}Total