summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2015-12-12 19:26:56 +0000
committerTodd Fiala <todd.fiala@gmail.com>2015-12-12 19:26:56 +0000
commit93153922dbee95254a70d243f8b80191838a4a09 (patch)
treeae0374745e09140512a6ebb452de04379075baed /lldb/packages/Python/lldbsuite/test/dotest.py
parente82c58588d4a46e8a5f21c4a3207ffb4ca2a6e9c (diff)
downloadbcm5719-llvm-93153922dbee95254a70d243f8b80191838a4a09.tar.gz
bcm5719-llvm-93153922dbee95254a70d243f8b80191838a4a09.zip
test infra: adds book-keeping for rerunnable tests
Also adds full path info for exceptional exits and timeouts when no test method is currently running. Adds --rerun-all-issues command line arg. If specified, all test issues are eligible for rerun. If not specified, only tests marked flakey are eligible for rerun. The actual rerunning will occur in an upcoming change. This change just handles tha accounting of what should be rerun. llvm-svn: 255438
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index ed01eccf238..3063a91407b 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -393,6 +393,9 @@ def parseOptionsAndInitTestdirs():
configuration.results_formatter_name = (
"lldbsuite.test.basic_results_formatter.BasicResultsFormatter")
+ # rerun-related arguments
+ configuration.rerun_all_issues = args.rerun_all_issues
+
if args.lldb_platform_name:
configuration.lldb_platform_name = args.lldb_platform_name
if args.lldb_platform_url:
OpenPOWER on IntegriCloud