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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits