From 3217df5f5f10288cf31adc976769bb09ed42727a Mon Sep 17 00:00:00 2001 From: Mikko Korpela Date: Sun, 28 Jan 2024 21:39:08 +0200 Subject: [PATCH] remove test / include combo --- src/pabot/pabot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pabot/pabot.py b/src/pabot/pabot.py index a222d7db..fb95ade5 100644 --- a/src/pabot/pabot.py +++ b/src/pabot/pabot.py @@ -609,8 +609,6 @@ 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", [])[:] @@ -638,6 +636,8 @@ def _options_for_executor( if argfile: _modify_options_for_argfile_use(argfile, options, execution_item.top_name()) options["argumentfile"] = argfile + if options.get("test", False) and options.get("include", []): + del options["include"] return _set_terminal_coloring_options(options)