Add an extra CHECK line to make sure TOOLCHAIN2 matches just the path

prefix.

llvm-svn: 150905
This commit is contained in:
Rafael Espindola 2012-02-19 02:23:50 +00:00
parent 608dc6e257
commit 8c53669a2d
1 changed files with 2 additions and 1 deletions

View File

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