summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-01-07 00:17:44 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-01-07 00:17:44 +0000
commitb13ee84c26a4365ee4f8ea1ae6e56d1f53bbcdd8 (patch)
treeed72a52f231110672b8c9bfc291e94643231e4f2
parent6c0cece2529efff833688f4b0670615336de79df (diff)
downloadbcm5719-llvm-b13ee84c26a4365ee4f8ea1ae6e56d1f53bbcdd8.tar.gz
bcm5719-llvm-b13ee84c26a4365ee4f8ea1ae6e56d1f53bbcdd8.zip
Print out a more meaningful exception message when/if CFBundleVersion matching failed.
llvm-svn: 122985
-rw-r--r--lldb/test/help/TestHelp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 201941dccaf..42f8d3b13b8 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -45,7 +45,8 @@ class HelpCommandTestCase(TestBase):
except:
# Just fallthrough...
- print "Unexpected error:", sys.exc_info()[0]
+ import traceback
+ traceback.print_exc()
pass
# Use None to signify that we are not able to grok the version number.
OpenPOWER on IntegriCloud