diff options
Diffstat (limited to 'clang/test/Driver/mips-mti.cpp')
-rw-r--r-- | clang/test/Driver/mips-mti.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/Driver/mips-mti.cpp b/clang/test/Driver/mips-mti.cpp index 147239cf375..94c3c5568e3 100644 --- a/clang/test/Driver/mips-mti.cpp +++ b/clang/test/Driver/mips-mti.cpp @@ -4,6 +4,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -mhard-float -mabi=32 \ // RUN: | FileCheck --check-prefix=EB-HARD-O32 %s @@ -32,6 +33,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -mhard-float -mabi=n32 \ // RUN: | FileCheck --check-prefix=EB-HARD-N32 %s @@ -60,6 +62,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips64-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -mhard-float -mabi=64 \ // RUN: | FileCheck --check-prefix=EB-HARD-N64 %s @@ -88,6 +91,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -mabi=32 \ // RUN: | FileCheck --check-prefix=EL-HARD-O32 %s @@ -116,6 +120,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -mabi=n32 \ // RUN: | FileCheck --check-prefix=EL-HARD-N32 %s @@ -144,6 +149,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips64-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -mabi=64 \ // RUN: | FileCheck --check-prefix=EL-HARD-N64 %s @@ -172,6 +178,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -msoft-float \ // RUN: | FileCheck --check-prefix=EB-SOFT %s @@ -200,6 +207,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -msoft-float \ // RUN: | FileCheck --check-prefix=EL-SOFT %s @@ -228,6 +236,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -mhard-float -muclibc \ // RUN: | FileCheck --check-prefix=EB-HARD-UCLIBC %s @@ -256,6 +265,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -muclibc \ // RUN: | FileCheck --check-prefix=EL-HARD-UCLIBC %s @@ -284,6 +294,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -mhard-float -mnan=2008 \ // RUN: | FileCheck --check-prefix=EB-HARD-NAN2008 %s @@ -312,6 +323,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -mnan=2008 \ // RUN: | FileCheck --check-prefix=EL-HARD-NAN2008 %s @@ -340,6 +352,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EB -mhard-float -muclibc -mnan=2008 \ // RUN: | FileCheck --check-prefix=EB-HARD-UCLIBC-NAN2008 %s @@ -368,6 +381,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -muclibc -mnan=2008 \ // RUN: | FileCheck --check-prefix=EL-HARD-UCLIBC-NAN2008 %s @@ -396,6 +410,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -msoft-float -mmicromips \ // RUN: | FileCheck --check-prefix=EL-SOFT-MICRO %s @@ -424,6 +439,7 @@ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: --target=mips-mti-linux-gnu \ // RUN: --gcc-toolchain=%S/Inputs/mips_mti_tree \ +// RUN: --sysroot="" \ // RUN: -stdlib=libstdc++ \ // RUN: -EL -mhard-float -mmicromips -mnan=2008 \ // RUN: | FileCheck --check-prefix=EL-SOFT-MICRO-NAN2008 %s |