[clang] 3d09c9b - [Driver][test] Avoiding producing object file in the current directory
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 10:01:05 PDT 2022
Author: Fangrui Song
Date: 2022-05-02T10:00:57-07:00
New Revision: 3d09c9b30fe6484717181a926e14b2ee36747d13
URL: https://github.com/llvm/llvm-project/commit/3d09c9b30fe6484717181a926e14b2ee36747d13
DIFF: https://github.com/llvm/llvm-project/commit/3d09c9b30fe6484717181a926e14b2ee36747d13.diff
LOG: [Driver][test] Avoiding producing object file in the current directory
Added:
Modified:
clang/test/Driver/cc-print-options.c
clang/test/Driver/cc-print-proc-stat.c
Removed:
################################################################################
diff --git a/clang/test/Driver/cc-print-options.c b/clang/test/Driver/cc-print-options.c
index 9c3ef1f897720..5a1781008337f 100644
--- a/clang/test/Driver/cc-print-options.c
+++ b/clang/test/Driver/cc-print-options.c
@@ -4,5 +4,5 @@
// RUN: FileCheck %s < %t.log
// CHECK: [Logging clang options]
-// CHECK: {{.*}}clang{{.*}}"-S"
+// CHECK: {{.*}} "-S"
diff --git a/clang/test/Driver/cc-print-proc-stat.c b/clang/test/Driver/cc-print-proc-stat.c
index c1f96a69e1e73..14029c3ccca06 100644
--- a/clang/test/Driver/cc-print-proc-stat.c
+++ b/clang/test/Driver/cc-print-proc-stat.c
@@ -5,5 +5,5 @@
// CHECK-CSV: clang{{.*}},"{{.*}}.s",{{[0-9]+}},{{[0-9]+}},{{[0-9]+}}
// RUN: env CC_PRINT_PROC_STAT=1 \
-// RUN: %clang -no-canonical-prefixes -c -fintegrated-as %s | FileCheck %s
+// RUN: %clang -no-canonical-prefixes -c -fintegrated-as %s -o %t.o | FileCheck %s
// CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb
More information about the cfe-commits
mailing list