[clang] c35448b - [Driver][test] Fix cc1-spawnprocess.c
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 14 09:53:40 PST 2020
Author: Fangrui Song
Date: 2020-11-14T09:53:34-08:00
New Revision: c35448ba80bdaddaf4d4f7d2076da3b24135148a
URL: https://github.com/llvm/llvm-project/commit/c35448ba80bdaddaf4d4f7d2076da3b24135148a
DIFF: https://github.com/llvm/llvm-project/commit/c35448ba80bdaddaf4d4f7d2076da3b24135148a.diff
LOG: [Driver][test] Fix cc1-spawnprocess.c
Added:
Modified:
clang/test/Driver/cc1-spawnprocess.c
Removed:
################################################################################
diff --git a/clang/test/Driver/cc1-spawnprocess.c b/clang/test/Driver/cc1-spawnprocess.c
index 7f6dad66f309..a6ff7d148604 100644
--- a/clang/test/Driver/cc1-spawnprocess.c
+++ b/clang/test/Driver/cc1-spawnprocess.c
@@ -42,6 +42,7 @@
// RUN: %clang -fintegrated-cc1 -c %t1.cpp %t2.cpp %t3.cpp -### 2>&1 | FileCheck %s --check-prefix=NO
// -fintegrated-cc1 works with cc1as.
+// macOS triples have an extra -x assembler-with-cpp job so (in-process) is not triggered.
// RUN: echo > %t.s
-// RUN: %clang -fintegrated-cc1 -fintegrated-as -c -### %t.s 2>&1 | FileCheck %s --check-prefix=YES
-// RUN: %clang -fno-integrated-cc1 -c -### %t.s 2>&1 | FileCheck %s --check-prefix=NO
+// RUN: %clang --target=x86_64-linux -fintegrated-cc1 -fintegrated-as -c -### %t.s 2>&1 | FileCheck %s --check-prefix=YES
+// RUN: %clang --target=x86_64-linux -fno-integrated-cc1 -c -### %t.s 2>&1 | FileCheck %s --check-prefix=NO
More information about the cfe-commits
mailing list