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
This commit is contained in:
Rafael Espindola 2012-02-19 02:03:47 +00:00
parent e1d619691b
commit 7c3e065573
1 changed files with 3 additions and 3 deletions

View File

@ -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"