[cfe-commits] r150905 - /cfe/trunk/test/Driver/gcc-toolchain.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sat Feb 18 18:23:50 PST 2012
Author: rafael
Date: Sat Feb 18 20:23:50 2012
New Revision: 150905
URL: http://llvm.org/viewvc/llvm-project?rev=150905&view=rev
Log:
Add an extra CHECK line to make sure TOOLCHAIN2 matches just the path
prefix.
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=150905&r1=150904&r2=150905&view=diff
==============================================================================
--- cfe/trunk/test/Driver/gcc-toolchain.cpp (original)
+++ cfe/trunk/test/Driver/gcc-toolchain.cpp Sat Feb 18 20:23:50 2012
@@ -19,7 +19,8 @@
// CHECK: "/include"
// CHECK: "-internal-externc-isystem"
// CHECK: "/usr/include"
-// CHECK: "{{.*}}/ld
+// CHECK: "{{.*}}/ld{{(.exe)?}}"
+// CHECK: "crti.o"
// 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/../../../.."
More information about the cfe-commits
mailing list