diff options
author | Douglas Yung <douglas.yung@sony.com> | 2019-04-16 22:52:05 +0000 |
---|---|---|
committer | Douglas Yung <douglas.yung@sony.com> | 2019-04-16 22:52:05 +0000 |
commit | 65d1e8db29b68cd72a89a48e55ea35df4a8372d2 (patch) | |
tree | 7847ee95d6a1981a40e15bb84e85a1fc80055be3 | |
parent | eced4ed687346c8970e0b8627ada89d3a7b511a3 (diff) |
Modify test to use -S instead of -c so that it works when an external assembler is used that is not present.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358537 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/modules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/modules.cpp b/test/Driver/modules.cpp index 90f334a281..7c549c1300 100644 --- a/test/Driver/modules.cpp +++ b/test/Driver/modules.cpp @@ -12,7 +12,7 @@ // Check compiling a .pcm file to a .o file. // -// RUN: %clang -std=c++2a %t/module.pcm -c -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE +// RUN: %clang -std=c++2a %t/module.pcm -S -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE // // CHECK-COMPILE: -cc1 {{.*}} {{-emit-obj|-S}} // CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}} @@ -21,7 +21,7 @@ // Check use of a .pcm file in another compilation. // -// RUN: %clang -std=c++2a -fmodule-file=%t/module.pcm -Dexport= %s -c -o %t/module.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-USE +// RUN: %clang -std=c++2a -fmodule-file=%t/module.pcm -Dexport= %s -S -o %t/module.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-USE // // CHECK-USE: -cc1 // CHECK-USE-SAME: {{-emit-obj|-S}} @@ -31,7 +31,7 @@ // Check combining precompile and compile steps works. // -// RUN: %clang -std=c++2a -x c++-module %s -c -o %t/module2.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-PRECOMPILE --check-prefix=CHECK-COMPILE +// RUN: %clang -std=c++2a -x c++-module %s -S -o %t/module2.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-PRECOMPILE --check-prefix=CHECK-COMPILE // Check that .cppm is treated as a module implicitly. // |