projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da3cf9
)
lit: Prevent crash-on-invalid (when run on directory which has no test suite).
author
Daniel Dunbar
<daniel@zuster.org>
Tue, 8 Dec 2009 19:49:30 +0000
(19:49 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Tue, 8 Dec 2009 19:49:30 +0000
(19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90871
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit.py
b/utils/lit/lit.py
index dcdce7d5c3c09f64a1fa2c06cd03aa27e5e4d250..293976fd30971a45ac49baf376cfe4a986c7568a 100755
(executable)
--- a/
utils/lit/lit.py
+++ b/
utils/lit/lit.py
@@
-230,7
+230,7
@@
def getTests(path, litConfig, testSuiteCache, localConfigCache):
ts,path_in_suite = getTestSuite(path, litConfig, testSuiteCache)
if ts is None:
litConfig.warning('unable to find test suite for %r' % path)
- return ()
+ return ()
,()
if litConfig.debug:
litConfig.note('resolved input %r to %r::%r' % (path, ts.name,