Skip to content

Commit

Permalink
process=1 -> use only one robot
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Mar 19, 2022
1 parent a857bc3 commit cb1c57e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pabot/pabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,13 @@ def main(args=None):
ordering = pabot_args.get("ordering")
if ordering:
suite_names = _preserve_order(suite_names, ordering)
suite_names = _group_by_wait(_group_by_groups(suite_names))
if pabot_args["processes"] > 1:
suite_names = _group_by_wait(_group_by_groups(suite_names))
else:
all_group = GroupItem()
for s in suite_names:
all_group.add(s)
suite_names = [[all_group]]
if not suite_names or suite_names == [[]]:
_write("No tests to execute")
if not options.get("runemptysuite", False):
Expand Down

0 comments on commit cb1c57e

Please sign in to comment.