]> granicus.if.org Git - clang/commitdiff
Use %S, not `pwd`, and enable a line that *does* work.
authorDaniel Dunbar <daniel@zuster.org>
Sat, 1 Aug 2009 05:57:38 +0000 (05:57 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 1 Aug 2009 05:57:38 +0000 (05:57 +0000)
 - Doug, please check.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77778 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/reloc.c

index ba2594614923dc5b72154320255884f2a23fc203..b08187fdb8d8d46719745b76656ec0c875df79ee 100644 (file)
@@ -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}}