summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/linker-opts.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-12 22:10:06 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-12 22:10:06 +0000
commitc0938f3fdbd0faf5a5b7fc67c5a02e22cd03396d (patch)
tree62d44ca64f16dc4ed868cd5965494caaf22c782c /clang/test/Driver/linker-opts.c
parent987cef1fe2974907eeabf7e65a903b7005e16c7d (diff)
downloadbcm5719-llvm-c0938f3fdbd0faf5a5b7fc67c5a02e22cd03396d.tar.gz
bcm5719-llvm-c0938f3fdbd0faf5a5b7fc67c5a02e22cd03396d.zip
Address some of the concerns by Chandler.
* s/AddDirectoryList/addDirectoryList/ * Move the call to ::getenv into the function. * FileCheck-ize the testcase. llvm-svn: 152583
Diffstat (limited to 'clang/test/Driver/linker-opts.c')
-rw-r--r--clang/test/Driver/linker-opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/linker-opts.c b/clang/test/Driver/linker-opts.c
index a8d176cc1b2..253ca7bcf18 100644
--- a/clang/test/Driver/linker-opts.c
+++ b/clang/test/Driver/linker-opts.c
@@ -1,2 +1,2 @@
-// RUN: env LIBRARY_PATH=%T/test1 %clang -x c %s -### -o foo 2> %t.log
-// RUN: grep '".*ld.*" .*"-L" "%T/test1"' %t.log
+// RUN: env LIBRARY_PATH=%T/test1 %clang -x c %s -### 2>&1 | FileCheck %s
+// CHECK: "-L" "{{.*}}/test1"
OpenPOWER on IntegriCloud