[llvm-commits] [llvm] r90871 - /llvm/trunk/utils/lit/lit.py
Daniel Dunbar
daniel at zuster.org
Tue Dec 8 11:49:30 PST 2009
Author: ddunbar
Date: Tue Dec 8 13:49:30 2009
New Revision: 90871
URL: http://llvm.org/viewvc/llvm-project?rev=90871&view=rev
Log:
lit: Prevent crash-on-invalid (when run on directory which has no test suite).
Modified:
llvm/trunk/utils/lit/lit.py
Modified: llvm/trunk/utils/lit/lit.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit.py?rev=90871&r1=90870&r2=90871&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit.py (original)
+++ llvm/trunk/utils/lit/lit.py Tue Dec 8 13:49:30 2009
@@ -230,7 +230,7 @@
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,
More information about the llvm-commits
mailing list