summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-11-29 17:52:43 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-11-29 17:52:43 +0000
commitbbda8ed39a326343f75f135fab0103dd2f36fc69 (patch)
treeaa15f757fb8acc6ea12de53f782f54ca9c86e9ef
parent46389e9ddf90edc8690df3f306fbe3fc9ca789e2 (diff)
downloadbcm5719-llvm-bbda8ed39a326343f75f135fab0103dd2f36fc69.tar.gz
bcm5719-llvm-bbda8ed39a326343f75f135fab0103dd2f36fc69.zip
Add comment.
llvm-svn: 120295
-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