mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 17:06:05 +00:00

The majority of tests omit testing "clang" for -cc1 command lines. In addition, some distributions symlink %clang to an executable with a content hash based filename so clang{{.*}} check won't work. With this change, we can remove many -no-canonical-prefixes whose purpose was to make the tests pass on such distributions.
7 lines
407 B
C
7 lines
407 B
C
// RUN: %clang -no-canonical-prefixes -c -fproc-stat-report -fintegrated-as %s -o %t.o | FileCheck %s
|
|
// CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb
|
|
|
|
// RUN: %clang -no-canonical-prefixes -c -fintegrated-as -fproc-stat-report=%t %s -o %t.o
|
|
// RUN: cat %t | FileCheck --check-prefix=CSV %s
|
|
// CSV: clang{{.*}},"{{.*}}.o",{{[0-9]+}},{{[0-9]+}},{{[0-9]+}}
|