[Driver][test] Fix cc1-spawnprocess.c

This commit is contained in:
Fangrui Song 2020-11-14 09:53:34 -08:00
parent 9671790b4f
commit c35448ba80
1 changed files with 3 additions and 2 deletions

View File

@ -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