summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlldb/test/dotest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 7ae4b0f76d5..c85e2067d5d 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -757,6 +757,9 @@ for ia in range(len(archs) if iterArchs else 1):
result = unittest2.TextTestRunner(stream=sys.stderr, verbosity=verbose,
resultclass=LLDBTestResult).run(suite)
else:
+ # We are invoking the same test suite more than once. In this case,
+ # mark __ignore_singleton__ flag as True so the signleton pattern is
+ # not enforced.
LLDBTestResult.__ignore_singleton__ = True
for i in range(count):
result = unittest2.TextTestRunner(stream=sys.stderr, verbosity=verbose,
OpenPOWER on IntegriCloud