diff options
author | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | 2016-02-12 07:48:28 +0000 |
---|---|---|
committer | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | 2016-02-12 07:48:28 +0000 |
commit | 4773245d342f56d9972ef0f11f5aad3baf31bfd4 (patch) | |
tree | 3a445164b94f362a8cef34e2766a8d5fbe3ccad8 /test/Driver/android-standalone.cpp | |
parent | 58e445a78490c6fdaf16f97f226db21444d1874e (diff) | |
download | clang-4773245d342f56d9972ef0f11f5aad3baf31bfd4.tar.gz |
tests: Add explicit -stdlib=libstdc++ to tests that require it
This will be needed for the next commit that allows to switch the default
C++ library which would otherwise make these tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/android-standalone.cpp')
-rw-r--r-- | test/Driver/android-standalone.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/Driver/android-standalone.cpp b/test/Driver/android-standalone.cpp index d563debdf4..047f1707c9 100644 --- a/test/Driver/android-standalone.cpp +++ b/test/Driver/android-standalone.cpp @@ -2,7 +2,7 @@ // toolchain. // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: -target arm-linux-androideabi \ +// RUN: -target arm-linux-androideabi -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck %s @@ -17,7 +17,7 @@ // CHECK: "-L{{.*}}/sysroot/usr/lib" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: -target aarch64-linux-android \ +// RUN: -target aarch64-linux-android -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-AARCH64 %s @@ -32,7 +32,7 @@ // CHECK-AARCH64: "-L{{.*}}/sysroot/usr/lib" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ -// RUN: -target arm64-linux-android \ +// RUN: -target arm64-linux-android -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-ARM64 %s @@ -48,7 +48,7 @@ // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -target mipsel-linux-android \ -// RUN: -mips32 \ +// RUN: -mips32 -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-MIPS %s @@ -64,7 +64,7 @@ // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -target mipsel-linux-android \ -// RUN: -march=mips32 -mips32r2 \ +// RUN: -march=mips32 -mips32r2 -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-MIPSR2 %s @@ -80,7 +80,7 @@ // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -target mipsel-linux-android \ -// RUN: -mips32 -march=mips32r2 \ +// RUN: -mips32 -march=mips32r2 -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-MIPSR2-A %s @@ -96,7 +96,7 @@ // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -target mipsel-linux-android \ -// RUN: -mips32r6 \ +// RUN: -mips32r6 -stdlib=libstdc++ \ // RUN: -B%S/Inputs/basic_android_tree \ // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ // RUN: | FileCheck --check-prefix=CHECK-MIPSR6 %s |