summaryrefslogtreecommitdiff
path: root/clang/test/ClangScanDeps/print-timing.c
blob: f27df1ebf732a9c25fa7e07230a152614c9facfa (plain)
1
2
3
4
5
6
7
8
9
// RUN: rm -rf %t && mkdir %t
// RUN: split-file %s %t

// RUN: clang-scan-deps -compilation-database %t/cdb.json -print-timing > %t/result.json 2>%t/errs
// RUN: cat %t/errs | FileCheck %s
// CHECK: clang-scan-deps timing: {{[0-9]+}}.{{[0-9][0-9]}}s wall, {{[0-9]+}}.{{[0-9][0-9]}}s process

//--- cdb.json
[]