diff options
author | Tim Northover <tnorthover@apple.com> | 2017-05-03 19:20:45 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2017-05-03 19:20:45 +0000 |
commit | 4c1104e199358653a77a85a3eb89e6c45ff73973 (patch) | |
tree | 685fa1b94d011e8aea35d61fe3bb411b9ad69970 | |
parent | 5e20c75e3abaaac2c4642d14a0b9ad49ad59b29f (diff) | |
download | bcm5719-llvm-4c1104e199358653a77a85a3eb89e6c45ff73973.tar.gz bcm5719-llvm-4c1104e199358653a77a85a3eb89e6c45ff73973.zip |
Tests: strengthen CHECK line to avoid picking up stray path.
A bot had "-LTO" in its working directory, which matched the regex used in this
test. Since the arg is quoted, we can exploit that instead. Still broken if
there's a path with a quote in, but I think that's pretty niche.
llvm-svn: 302066
-rw-r--r-- | clang/test/Driver/arch-specific-libdir-rpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/arch-specific-libdir-rpath.c b/clang/test/Driver/arch-specific-libdir-rpath.c index 3bcf6e3d3f8..4b210f2cb41 100644 --- a/clang/test/Driver/arch-specific-libdir-rpath.c +++ b/clang/test/Driver/arch-specific-libdir-rpath.c @@ -81,5 +81,5 @@ // RPATH-X86_64: "-rpath" "[[RESDIR]]{{(/|\\\\)lib(/|\\\\)linux(/|\\\\)x86_64}}" // LIBPATH-AArch64: -L[[RESDIR]]{{(/|\\\\)lib(/|\\\\)linux(/|\\\\)aarch64}} // RPATH-AArch64: "-rpath" "[[RESDIR]]{{(/|\\\\)lib(/|\\\\)linux(/|\\\\)aarch64}}" -// NO-LIBPATH-NOT: -L{{.*Inputs(/|\\\\)resource_dir}} +// NO-LIBPATH-NOT: "-L{{[^"]*Inputs(/|\\\\)resource_dir}}" // NO-RPATH-NOT: "-rpath" {{.*(/|\\\\)Inputs(/|\\\\)resource_dir}} |