Skip to content

Commit

Permalink
remove include if test or suite is in
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Jan 28, 2024
1 parent a3f8c43 commit c977f12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pabot/pabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,8 @@ def _options_for_executor(
options["xunit"] = "NONE"
options["test"] = options.get("test", [])[:]
options["suite"] = options.get("suite", [])[:]
if (options["test"] or options["suite"]) and "include" in options:
del options["include"]
execution_item.modify_options_for_executor(options)
options["outputdir"] = "%OUTPUTDIR%" if execution_item.type == "hived" else outs_dir
options["variable"] = options.get("variable", [])[:]
Expand Down

0 comments on commit c977f12

Please sign in to comment.