forked from OSchip/llvm-project
test/Driver: Add some --stdlib=platform, NFC.
This fixes the failing test when building with CLANG_DEFAULT_CXX_STDLIB. llvm-svn: 323231
This commit is contained in:
parent
50cb5efa80
commit
7143302a7e
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// Sparc, 32bit
|
||||
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_sparc_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_SPARC %s
|
||||
// CHECK_SOLARIS_SPARC: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
// Sparc, 64bit
|
||||
// RUN: %clang -no-canonical-prefixes -m64 %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_sparc_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_SPARC64 %s
|
||||
// CHECK_SOLARIS_SPARC64: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
// Intel, 32bit
|
||||
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=i386-pc-solaris2.11 \
|
||||
// RUN: --target=i386-pc-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_x86_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_X86 %s
|
||||
// CHECK_SOLARIS_X86: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
// Intel, 64bit
|
||||
// RUN: %clang -no-canonical-prefixes -m64 %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=i386-pc-solaris2.11 \
|
||||
// RUN: --target=i386-pc-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_x86_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_X64 %s
|
||||
// CHECK_SOLARIS_X64: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
|
Loading…
Reference in New Issue