diff options
| author | Reid Kleckner <rnk@google.com> | 2017-08-31 16:42:30 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-08-31 16:42:30 +0000 |
| commit | 0148e6f3919356435cb0ce604226d30d64941870 (patch) | |
| tree | 686e1e55a03c10f293803c12351ebc9daf653842 | |
| parent | 27ad04f66f40f01a4960c965991fb47e387936cb (diff) | |
| download | bcm5719-llvm-0148e6f3919356435cb0ce604226d30d64941870.tar.gz bcm5719-llvm-0148e6f3919356435cb0ce604226d30d64941870.zip | |
Revert "[lit] Don't call realpath on the path used for test suite search"
This reverts r312250, it breaks the lit test suite.
llvm-svn: 312251
| -rw-r--r-- | llvm/utils/lit/lit/discovery.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/lit/lit/discovery.py b/llvm/utils/lit/lit/discovery.py index 07fc30c3063..4befe582d45 100644 --- a/llvm/utils/lit/lit/discovery.py +++ b/llvm/utils/lit/lit/discovery.py @@ -57,6 +57,9 @@ 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): |

