[cfe-commits] r77778 - /cfe/trunk/test/PCH/reloc.c

Daniel Dunbar daniel at zuster.org
Fri Jul 31 22:57:38 PDT 2009


Author: ddunbar
Date: Sat Aug  1 00:57:38 2009
New Revision: 77778

URL: http://llvm.org/viewvc/llvm-project?rev=77778&view=rev
Log:
Use %S, not `pwd`, and enable a line that *does* work.
 - Doug, please check.

Modified:
    cfe/trunk/test/PCH/reloc.c

Modified: cfe/trunk/test/PCH/reloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/reloc.c?rev=77778&r1=77777&r2=77778&view=diff

==============================================================================
--- cfe/trunk/test/PCH/reloc.c (original)
+++ cfe/trunk/test/PCH/reloc.c Sat Aug  1 00:57:38 2009
@@ -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 @@
 
 
 // expected-note{{previous definition}}
-// expected-note{{previous definition}}
\ No newline at end of file
+// expected-note{{previous definition}}





More information about the cfe-commits mailing list