Skip to content

Commit

Permalink
inject RobotStackTracer
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Jun 8, 2021
1 parent 074eb3d commit 7e6d719
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pabot/pabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,13 @@ def execute_and_wait_with(item):


def _create_command_for_execution(caller_id, datasources, is_last, item, outs_dir):
options = item.options.copy()
if item.command == ['robot'] and not options["listener"]:
options["listener"] = ["RobotStackTracer"]
cmd = (
item.command
+ _options_for_custom_executor(
item.options,
options,
outs_dir,
item.execution_item,
item.argfile,
Expand Down

0 comments on commit 7e6d719

Please sign in to comment.