diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-02-21 22:21:50 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-02-21 22:21:50 +0000 |
commit | 85061b51d2619e2a76993eb2bc5546c0e9c50199 (patch) | |
tree | 4f9d9699fd784d1dbc46fcc2d53ba327ce0fce27 /clang | |
parent | 9d0da18597ba3b786ba8de14cb742e2c00613c24 (diff) | |
download | bcm5719-llvm-85061b51d2619e2a76993eb2bc5546c0e9c50199.tar.gz bcm5719-llvm-85061b51d2619e2a76993eb2bc5546c0e9c50199.zip |
Skip testing the crtbegin.o, and resume using a single variable for the
prefixes. It seems only crtbegin.o uses the strange formatting.
llvm-svn: 151094
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/Driver/gcc-toolchain.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Driver/gcc-toolchain.cpp b/clang/test/Driver/gcc-toolchain.cpp index 5529a5dc9a9..e122dac9b97 100644 --- a/clang/test/Driver/gcc-toolchain.cpp +++ b/clang/test/Driver/gcc-toolchain.cpp @@ -14,10 +14,10 @@ // CHECK: "[[TOOLCHAIN]]/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../../../include/c++/4.5/backward" // CHECK: "-internal-isystem" "/usr/local/include" // -// Test for linker toolchain detection. Note that we use a separate variable -// because the '/'s may be different in the linker invocation than in the -// header search. +// Test for linker toolchain detection. Note that only the '-L' flags will use +// the same precise formatting of the path as the '-internal-system' flags +// above, so we just blanket wildcard match the 'crtbegin.o'. // CHECK: "{{[^"]*}}ld{{(.exe)?}}" -// 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: "{{[^"]*}}/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/../../../.." |