[Lldb-commits] [lldb] r255013 - Fixup dotest.py on mac for the configuration package
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 8 05:32:08 PST 2015
Author: labath
Date: Tue Dec 8 07:32:07 2015
New Revision: 255013
URL: http://llvm.org/viewvc/llvm-project?rev=255013&view=rev
Log:
Fixup dotest.py on mac for the configuration package
Modified:
lldb/trunk/packages/Python/lldbsuite/test/configuration.py
lldb/trunk/packages/Python/lldbsuite/test/dotest.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/configuration.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/configuration.py?rev=255013&r1=255012&r2=255013&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/configuration.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/configuration.py Tue Dec 8 07:32:07 2015
@@ -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:
Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=255013&r1=255012&r2=255013&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Tue Dec 8 07:32:07 2015
@@ -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.
More information about the lldb-commits
mailing list