From 07d0bd4da7a53e2c3772b89f8e03e25907b60921 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 9 Sep 2009 02:41:32 +0000 Subject: [PATCH] Fix another refactoro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81312 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/lit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lit/lit.py b/utils/lit/lit.py index 62ebf51a71d..ceb08f56b63 100755 --- a/utils/lit/lit.py +++ b/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) -- 2.34.1