From f79ad5f49198dd251501dae66fe5c594842583e8 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 1 Aug 2009 05:57:38 +0000 Subject: [PATCH] Use %S, not `pwd`, and enable a line that *does* work. - Doug, please check. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77778 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/PCH/reloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/PCH/reloc.c b/test/PCH/reloc.c index ba25946149..b08187fdb8 100644 --- a/test/PCH/reloc.c +++ b/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 @@ -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}} -- 2.40.0