diff options
author | Reid Kleckner <rnk@google.com> | 2017-08-31 16:35:08 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-08-31 16:35:08 +0000 |
commit | b2e2c4b8a908087bf8e2c2b6d875073c23ec9bd0 (patch) | |
tree | 4e43eb6f9b2a58ca3e84237337210d1fe52ad567 /utils/lit | |
parent | da536d4e1756c5afcfe25680cd5fbc99d797c763 (diff) | |
download | llvm-b2e2c4b8a908087bf8e2c2b6d875073c23ec9bd0.tar.gz |
[lit] Don't call realpath on the path used for test suite search
This preserves symlinks in paths, so that someone can symlink more tests
into a larger test suite. For example, debuginfo-tests is currently
designed to be checked out into clang/test. With this change, it can be
symlinked into place instead, which works better with the monorepo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/discovery.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/lit/lit/discovery.py b/utils/lit/lit/discovery.py index 4befe582d45..07fc30c3063 100644 --- a/utils/lit/lit/discovery.py +++ b/utils/lit/lit/discovery.py @@ -57,9 +57,6 @@ def getTestSuite(item, litConfig, cache): cache[path] = res = search1(path) return res - # Canonicalize the path. - item = os.path.realpath(item) - # Skip files and virtual components. components = [] while not os.path.isdir(item): |