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 | 1925f418722f12fb6836b0ed26f85d27ed743565 (patch) | |
| tree | b5ee9c92c3b8b3f03bfa5bb3d67f20d70cd74fc5 /clang/test | |
| parent | 97d25e068f434d04098c73a87ea6891991654cca (diff) | |
| download | bcm5719-llvm-1925f418722f12fb6836b0ed26f85d27ed743565.tar.gz bcm5719-llvm-1925f418722f12fb6836b0ed26f85d27ed743565.zip | |
Modify test to use -S instead of -c so that it works when an external assembler is used that is not present.
llvm-svn: 358537
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/modules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/modules.cpp b/clang/test/Driver/modules.cpp index 90f334a2813..7c549c1300f 100644 --- a/clang/test/Driver/modules.cpp +++ b/clang/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. // |

