summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/lit.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-09 02:41:32 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-09 02:41:32 +0000
commit03e7a262769541211743261b3da36644666c19d0 (patch)
treef5f8afe392ccf9391c1108cba93355054b49e49a /llvm/utils/lit/lit.py
parent4029b855676d2dac7ca7898b07e169059949ca40 (diff)
downloadbcm5719-llvm-03e7a262769541211743261b3da36644666c19d0.tar.gz
bcm5719-llvm-03e7a262769541211743261b3da36644666c19d0.zip
Fix another refactoro.
llvm-svn: 81312
Diffstat (limited to 'llvm/utils/lit/lit.py')
-rwxr-xr-xllvm/utils/lit/lit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit.py b/llvm/utils/lit/lit.py
index 62ebf51a71d..ceb08f56b63 100755
--- a/llvm/utils/lit/lit.py
+++ b/llvm/utils/lit/lit.py
@@ -156,7 +156,7 @@ def getTestSuite(item, litConfig, cache):
# If we didn't find a config file, keep looking.
if not cfgpath:
parent,base = os.path.split(path)
- if parent == item:
+ if parent == path:
return (None, ())
ts, relative = search(parent)
OpenPOWER on IntegriCloud