From 7c3e06557314ab9898392539f6d23314bcc6e8e5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 19 Feb 2012 02:03:47 +0000 Subject: [PATCH] Looks like we use forward slashes for header search but back slashes for libraries on windows. Use two variables to make this test pass. llvm-svn: 150903 --- clang/test/Driver/gcc-toolchain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/test/Driver/gcc-toolchain.cpp b/clang/test/Driver/gcc-toolchain.cpp index a741551d2c4b..2b616d47a6a9 100644 --- a/clang/test/Driver/gcc-toolchain.cpp +++ b/clang/test/Driver/gcc-toolchain.cpp @@ -20,8 +20,8 @@ // CHECK: "-internal-externc-isystem" // CHECK: "/usr/include" // CHECK: "{{.*}}/ld -// CHECK: "[[TOOLCHAIN]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/crtbegin.o" -// CHECK: "-L[[TOOLCHAIN]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5" -// CHECK: "-L[[TOOLCHAIN]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../.." +// CHECK: "[[TOOLCHAIN2:.*]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/crtbegin.o" +// CHECK: "-L[[TOOLCHAIN2]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5" +// CHECK: "-L[[TOOLCHAIN2]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../.." // CHECK: "-L/lib" // CHECK: "-L/usr/lib"