summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-12-08 13:32:07 +0000
committerPavel Labath <labath@google.com>2015-12-08 13:32:07 +0000
commit9cbf7dde882f32618021db5d745ec09b98661cbc (patch)
tree944477a7e505d85a1dd58b4aa56083089580aaab /lldb/packages/Python/lldbsuite/test
parent5e4248b4e01c4b8c5aa72629eb4212aa23c1a857 (diff)
downloadbcm5719-llvm-9cbf7dde882f32618021db5d745ec09b98661cbc.tar.gz
bcm5719-llvm-9cbf7dde882f32618021db5d745ec09b98661cbc.zip
Fixup dotest.py on mac for the configuration package
llvm-svn: 255013
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py5
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py1
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 3218c7380cf..2bcd421ca79 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -27,7 +27,7 @@ def __setCrashInfoHook_Mac(text):
from . import crashinfo
crashinfo.setCrashReporterDescription(text)
-def __setupCrashInfoHook():
+def setupCrashInfoHook():
if platform.system() == "Darwin":
from . import lock
test_dir = os.environ['LLDB_TEST']
@@ -48,7 +48,7 @@ def __setupCrashInfoHook():
compile_lock.release()
del compile_lock
- setCrashInfoHook = setCrashInfoHook_Mac
+ setCrashInfoHook = __setCrashInfoHook_Mac
else:
pass
@@ -220,7 +220,6 @@ all_tests = set()
# safe default
setCrashInfoHook = lambda x : None
-__setupCrashInfoHook()
def shouldSkipBecauseOfCategories(test_categories):
if useCategories:
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 318f2d2a043..e0535c3260f 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -1086,6 +1086,7 @@ def run_suite():
signal.signal(signal.SIGINT, signal.SIG_IGN)
setupSysPath()
+ configuration.setupCrashInfoHook()
#
# If '-l' is specified, do not skip the long running tests.
OpenPOWER on IntegriCloud