From 03e7a262769541211743261b3da36644666c19d0 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 9 Sep 2009 02:41:32 +0000 Subject: [PATCH] Fix another refactoro. llvm-svn: 81312 --- llvm/utils/lit/lit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/lit/lit.py b/llvm/utils/lit/lit.py index 62ebf51a71d5..ceb08f56b630 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) -- GitLab