diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-01 05:57:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-01 05:57:38 +0000 |
commit | b616260624910242b91298303c3f2281ca019186 (patch) | |
tree | 72b264ab42196578201ee4764452f2cf4475b6a4 | |
parent | 1661066e58e04d2ecc5dbfaeca7f1514c129c8a0 (diff) | |
download | bcm5719-llvm-b616260624910242b91298303c3f2281ca019186.tar.gz bcm5719-llvm-b616260624910242b91298303c3f2281ca019186.zip |
Use %S, not `pwd`, and enable a line that *does* work.
- Doug, please check.
llvm-svn: 77778
-rw-r--r-- | clang/test/PCH/reloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/PCH/reloc.c b/clang/test/PCH/reloc.c index ba259461492..b08187fdb8d 100644 --- a/clang/test/PCH/reloc.c +++ b/clang/test/PCH/reloc.c @@ -1,6 +1,6 @@ -// RUN: clang-cc -emit-pch -o %t --relocatable-pch -isysroot `pwd`/libroot `pwd`/libroot/usr/include/reloc.h && -// RUN: clang-cc -include-pch %t -isysroot `pwd`/libroot %s -verify -// FIXME (test harness can't do this?): not clang-cc -include-pch %t %s +// RUN: clang-cc -emit-pch -o %t --relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h && +// RUN: clang-cc -include-pch %t -isysroot %S/libroot %s -verify && +// RUN: not clang-cc -include-pch %t %s #include <reloc.h> @@ -11,4 +11,4 @@ int y = 5; // expected-error{{redefinition}} // expected-note{{previous definition}} -// expected-note{{previous definition}}
\ No newline at end of file +// expected-note{{previous definition}} |