[cfe-commits] r150903 - /cfe/trunk/test/Driver/gcc-toolchain.cpp

Rafael Espindola rafael.espindola at gmail.com
Sat Feb 18 18:03:47 PST 2012


Author: rafael
Date: Sat Feb 18 20:03:47 2012
New Revision: 150903

URL: http://llvm.org/viewvc/llvm-project?rev=150903&view=rev
Log:
Looks like we use forward slashes for header search but back slashes for
libraries on windows. Use two variables to make this test pass.

Modified:
    cfe/trunk/test/Driver/gcc-toolchain.cpp

Modified: cfe/trunk/test/Driver/gcc-toolchain.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/gcc-toolchain.cpp?rev=150903&r1=150902&r2=150903&view=diff
==============================================================================
--- cfe/trunk/test/Driver/gcc-toolchain.cpp (original)
+++ cfe/trunk/test/Driver/gcc-toolchain.cpp Sat Feb 18 20:03:47 2012
@@ -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"





More information about the cfe-commits mailing list