[Lldb-commits] [lldb] r107508 - /lldb/trunk/test/dotest.py
Johnny Chen
johnny.chen at apple.com
Fri Jul 2 13:35:23 PDT 2010
Author: johnny
Date: Fri Jul 2 15:35:23 2010
New Revision: 107508
URL: http://llvm.org/viewvc/llvm-project?rev=107508&view=rev
Log:
Fixed logic error; checking return status and raising exception should only be
done if the environment variable LLDB_LOG is defined.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=107508&r1=107507&r2=107508&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Fri Jul 2 15:35:23 2010
@@ -151,9 +151,8 @@
if ("LLDB_LOG" in os.environ):
ci.HandleCommand(
"log enable -f " + os.environ["LLDB_LOG"] + " lldb default", res)
- pass
-if not res.Succeeded():
- raise Exception('log enable failed (check your LLDB_LOG env variable...')
+ if not res.Succeeded():
+ raise Exception('log enable failed (check your LLDB_LOG env variable...')
unittest.TextTestRunner(verbosity=verbose).run(suite)
More information about the lldb-commits
mailing list