From c6e69880ae4d9ce4d27bf046292a0a20c3ab3540 Mon Sep 17 00:00:00 2001 From: Douglas Yung Date: Tue, 14 Jan 2020 18:58:18 -0800 Subject: [PATCH] Modify test to use -S instead of -c so that it works when an external assembler is used that is not present. --- clang/test/Driver/cc1-spawnprocess.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/test/Driver/cc1-spawnprocess.c b/clang/test/Driver/cc1-spawnprocess.c index db13d8c..c5c16ce 100644 --- a/clang/test/Driver/cc1-spawnprocess.c +++ b/clang/test/Driver/cc1-spawnprocess.c @@ -1,4 +1,4 @@ -// RUN: env CLANG_SPAWN_CC1= %clang -c %s -o /dev/null -// RUN: env CLANG_SPAWN_CC1=0 %clang -c %s -o /dev/null -// RUN: env CLANG_SPAWN_CC1=1 %clang -c %s -o /dev/null -// RUN: env CLANG_SPAWN_CC1=test not %clang -c %s -o /dev/null +// RUN: env CLANG_SPAWN_CC1= %clang -S %s -o /dev/null +// RUN: env CLANG_SPAWN_CC1=0 %clang -S %s -o /dev/null +// RUN: env CLANG_SPAWN_CC1=1 %clang -S %s -o /dev/null +// RUN: env CLANG_SPAWN_CC1=test not %clang -S %s -o /dev/null -- 2.7.4