clang/test/Driver/cc-print-proc-stat.c
raw| 1 | // RUN: env CC_PRINT_PROC_STAT=1 \ |
| 2 | // RUN: CC_PRINT_PROC_STAT_FILE=%t.csv \ |
| 3 | // RUN: %clang -no-canonical-prefixes -S -o %t.s %s |
| 4 | // RUN: FileCheck --check-prefix=CHECK-CSV %s < %t.csv |
| 5 | // CHECK-CSV: clang{{.*}},"{{.*}}.s",{{[0-9]+}},{{[0-9]+}},{{[0-9]+}} |
| 6 | |
| 7 | // RUN: env CC_PRINT_PROC_STAT=1 \ |
| 8 | // RUN: %clang -no-canonical-prefixes -c -fintegrated-as %s -o %t.o | FileCheck %s |
| 9 | // CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb |