From: James Y Knight Date: Mon, 21 Dec 2015 20:30:49 +0000 (+0000) Subject: Tweak myriad-toolchain test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a5cd342c457e292f2ff36e6b3499d7a1d266882;p=clang Tweak myriad-toolchain test. The test failed when run on a SPARC host, since it was finding the native gcc installation by accident. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256191 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/myriad-toolchain.c b/test/Driver/myriad-toolchain.c index 74b804c5d0..6c94cff680 100644 --- a/test/Driver/myriad-toolchain.c +++ b/test/Driver/myriad-toolchain.c @@ -1,5 +1,5 @@ // RUN: %clang -no-canonical-prefixes -### -target sparc-myriad-rtems-elf %s \ -// RUN: -B %S/Inputs/basic_myriad_tree 2>&1 | FileCheck %s -check-prefix=LINK_WITH_RTEMS +// RUN: --gcc-toolchain=%S/Inputs/basic_myriad_tree 2>&1 | FileCheck %s -check-prefix=LINK_WITH_RTEMS // LINK_WITH_RTEMS: Inputs{{.*}}crti.o // LINK_WITH_RTEMS: Inputs{{.*}}crtbegin.o // LINK_WITH_RTEMS: "-L{{.*}}Inputs/basic_myriad_tree/lib/gcc/sparc-myriad-elf/4.8.2/../../..{{/|\\\\}}../sparc-myriad-elf/lib" @@ -9,7 +9,7 @@ // LINK_WITH_RTEMS: Inputs{{.*}}crtn.o // RUN: %clang -c -no-canonical-prefixes -### -target sparc-myriad-rtems-elf -x c++ %s \ -// RUN: -B %S/Inputs/basic_myriad_tree 2>&1 | FileCheck %s -check-prefix=COMPILE_CXX +// RUN: --gcc-toolchain=%S/Inputs/basic_myriad_tree 2>&1 | FileCheck %s -check-prefix=COMPILE_CXX // COMPILE_CXX: "-internal-isystem" "{{.*}}/Inputs/basic_myriad_tree/lib/gcc/sparc-myriad-elf/4.8.2/../../../../sparc-myriad-elf/include/c++/4.8.2" // COMPILE_CXX: "-internal-isystem" "{{.*}}/Inputs/basic_myriad_tree/lib/gcc/sparc-myriad-elf/4.8.2/../../../../sparc-myriad-elf/include/c++/4.8.2/sparc-myriad-elf" // COMPILE_CXX: "-internal-isystem" "{{.*}}/Inputs/basic_myriad_tree/lib/gcc/sparc-myriad-elf/4.8.2/../../../../sparc-myriad-elf/include/c++/4.8.2/backward"