diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-08 19:49:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-08 19:49:30 +0000 |
commit | 564c96bd5e9875dbf603d39a9be335be178f3e11 (patch) | |
tree | 18a62930726f27e62f0c6c08d124757cc21cb155 /llvm/utils/lit/lit.py | |
parent | 54ad5bff187ee0087e83230581162182c139f08e (diff) | |
download | bcm5719-llvm-564c96bd5e9875dbf603d39a9be335be178f3e11.tar.gz bcm5719-llvm-564c96bd5e9875dbf603d39a9be335be178f3e11.zip |
lit: Prevent crash-on-invalid (when run on directory which has no test suite).
llvm-svn: 90871
Diffstat (limited to 'llvm/utils/lit/lit.py')
-rwxr-xr-x | llvm/utils/lit/lit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit.py b/llvm/utils/lit/lit.py index dcdce7d5c3c..293976fd309 100755 --- a/llvm/utils/lit/lit.py +++ b/llvm/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, |