Fix another refactoro.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 9 Sep 2009 02:41:32 +0000 (02:41 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 9 Sep 2009 02:41:32 +0000 (02:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81312 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit.py

index 62ebf51a71d52610c5fb38b33b2eb6431cf5e221..ceb08f56b63070def81552c0c98be71b32187ed8 100755 (executable)
@@ -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)