r323231 - test/Driver: Add some --stdlib=platform, NFC.

Jonas Hahnfeld via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 10:12:12 PST 2018


Author: hahnfeld
Date: Tue Jan 23 10:12:12 2018
New Revision: 323231

URL: http://llvm.org/viewvc/llvm-project?rev=323231&view=rev
Log:
test/Driver: Add some --stdlib=platform, NFC.

This fixes the failing test when building with CLANG_DEFAULT_CXX_STDLIB.

Modified:
    cfe/trunk/test/Driver/solaris-header-search.cpp

Modified: cfe/trunk/test/Driver/solaris-header-search.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/solaris-header-search.cpp?rev=323231&r1=323230&r2=323231&view=diff
==============================================================================
--- cfe/trunk/test/Driver/solaris-header-search.cpp (original)
+++ cfe/trunk/test/Driver/solaris-header-search.cpp Tue Jan 23 10:12:12 2018
@@ -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"




More information about the cfe-commits mailing list