clang/test/ClangScanDeps/print-timing.c
raw| 1 | // RUN: rm -rf %t && mkdir %t |
| 2 | // RUN: split-file %s %t |
| 3 | |
| 4 | // RUN: clang-scan-deps -compilation-database %t/cdb.json -print-timing > %t/result.json 2>%t/errs |
| 5 | // RUN: cat %t/errs | FileCheck %s |
| 6 | // CHECK: wall time [s] process time [s] instruction count |
| 7 | // CHECK-NEXT: {{[0-9]+}}.{{([0-9]{4})}} {{[0-9]+}}.{{([0-9]{4})}} {{[0-9]+}} |
| 8 | |
| 9 | //--- cdb.json |
| 10 | [] |