[Lldb-commits] [lldb] r255880 - test infra: force rerun to use parallel runner
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 16 22:55:50 PST 2015
Author: tfiala
Date: Thu Dec 17 00:55:50 2015
New Revision: 255880
URL: http://llvm.org/viewvc/llvm-project?rev=255880&view=rev
Log:
test infra: force rerun to use parallel runner
We've now seen the rerun test phase hang in a few
scenarios. Eliminate the serial test runner (which
is not exercised nearly as much as the others), by
using a multi-worker test runner strategy with a single
worker. This should rule out whether this is related
to the serial test runner strategy.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/dosep.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/dosep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dosep.py?rev=255880&r1=255879&r2=255880&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dosep.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dosep.py Thu Dec 17 00:55:50 2015
@@ -1469,7 +1469,11 @@ def rerun_tests(test_subdir, tests_for_r
# Do not update legacy counts, I am getting rid of
# them so no point adding complicated merge logic here.
rerun_thread_count = 1
- rerun_runner_name = default_test_runner_name(rerun_thread_count)
+ # Force the parallel test runner to choose a multi-worker strategy.
+ rerun_runner_name = default_test_runner_name(rerun_thread_count + 1)
+ print("rerun will use the '{}' test runner strategy".format(
+ rerun_runner_name))
+
runner_strategies_by_name = get_test_runner_strategies(rerun_thread_count)
rerun_runner_func = runner_strategies_by_name[
rerun_runner_name]
More information about the lldb-commits
mailing list