summaryrefslogtreecommitdiff
path: root/test/PCH/reloc.c
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-07-05 16:06:12 +0000
committerJustin Bogner <mail@justinbogner.com>2016-07-05 16:06:12 +0000
commitbfff4d2cf95c509405e42e7798765e3cfb242095 (patch)
tree44e30ef9de4d24461df83767a8f10992b9c16c8d /test/PCH/reloc.c
parentb2a2a37ab52808c8a623f148112629c684a2bd45 (diff)
downloadclang-bfff4d2cf95c509405e42e7798765e3cfb242095.tar.gz
test: Use add_lit_testsuites so that subsets of tests can be specified
This creates make/ninja targets like check-clang-codegen and check-clang-unit, much like LLVM already has. I had to move some input files into Input directories so they weren't picked up as test directories. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH/reloc.c')
-rw-r--r--test/PCH/reloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/PCH/reloc.c b/test/PCH/reloc.c
index bf70ab6f69..14788f019f 100644
--- a/test/PCH/reloc.c
+++ b/test/PCH/reloc.c
@@ -1,7 +1,7 @@
// RUN: %clang -target x86_64-apple-darwin10 --relocatable-pch -o %t \
-// RUN: -isysroot %S/libroot %S/libroot/usr/include/reloc.h
+// RUN: -isysroot %S/Inputs/libroot %S/Inputs/libroot/usr/include/reloc.h
// RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only \
-// RUN: -include-pch %t -isysroot %S/libroot %s -Xclang -verify
+// RUN: -include-pch %t -isysroot %S/Inputs/libroot %s -Xclang -verify
// RUN: not %clang -target x86_64-apple-darwin10 -include-pch %t %s
// REQUIRES: x86-registered-target
@@ -11,5 +11,5 @@ int x = 2; // expected-error{{redefinition}}
int y = 5; // expected-error{{redefinition}}
-// expected-note@libroot/usr/include/reloc.h:13{{previous definition}}
-// expected-note@libroot/usr/include/reloc2.h:14{{previous definition}}
+// expected-note@Inputs/libroot/usr/include/reloc.h:13{{previous definition}}
+// expected-note@Inputs/libroot/usr/include/reloc2.h:14{{previous definition}}