summaryrefslogtreecommitdiff
path: root/test/Preprocessor
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-10-20 00:25:07 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-10-20 00:25:07 +0000
commit53df1a5045c5c9471b0b4b00f8d64433d862699d (patch)
treec3d2d321fd0422f5a58e6dd1a390d17e039ae75c /test/Preprocessor
parentcc28d36809ee131966e1bd25939748d9f7cc07a4 (diff)
Revert r316193.
This patch breaks users using -fno-canonical-prefixes, for whom resolving symlinks is not acceptable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor')
-rw-r--r--test/Preprocessor/dependencies-realpath.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/test/Preprocessor/dependencies-realpath.c b/test/Preprocessor/dependencies-realpath.c
deleted file mode 100644
index 555b79fc13..0000000000
--- a/test/Preprocessor/dependencies-realpath.c
+++ /dev/null
@@ -1,33 +0,0 @@
-// RUN: mkdir -p %t/sub/dir
-// RUN: echo > %t/sub/empty.h
-
-// Test that system header paths are expanded
-//
-// RUN: %clang -fsyntax-only -MD -MF %t.d -MT foo %s -isystem %t/sub/dir/..
-// RUN: FileCheck -check-prefix=TEST1 %s < %t.d
-// TEST1: foo:
-// TEST1: sub{{/|\\}}empty.h
-
-// Test that system header paths are not expanded to a longer form
-//
-// RUN: cd %t && %clang -fsyntax-only -MD -MF %t.d -MT foo %s -isystem sub/dir/..
-// RUN: FileCheck -check-prefix=TEST2 %s < %t.d
-// TEST2: foo:
-// TEST2: sub/dir/..{{/|\\}}empty.h
-
-// Test that user header paths are not expanded
-//
-// RUN: %clang -fsyntax-only -MD -MF %t.d -MT foo %s -I %t/sub/dir/..
-// RUN: FileCheck -check-prefix=TEST3 %s < %t.d
-// TEST3: foo:
-// TEST3: sub/dir/..{{/|\\}}empty.h
-
-// Test that system header paths are not expanded with -fno-canonical-system-headers
-// (and also that the -fsystem-system-headers option is accepted)
-//
-// RUN: %clang -fsyntax-only -MD -MF %t.d -MT foo %s -I %t/sub/dir/.. -fcanonical-system-headers -fno-canonical-system-headers
-// RUN: FileCheck -check-prefix=TEST4 %s < %t.d
-// TEST4: foo:
-// TEST4: sub/dir/..{{/|\\}}empty.h
-
-#include <empty.h>