Skip to content

Commit 1e737d7

Browse files
pdgendtkartben
authored andcommitted
scripts: west_commands: twister_cmd: Fix twister wrapper
Commit 4f63725 reworked the twister main function. Update the west wrapper to align with that change. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 59a5909 commit 1e737d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/west_commands/twister_cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
sys.path.insert(0, str(twister_path / "pylib" / "twister"))
1919

2020
from twisterlib.environment import add_parse_arguments, parse_arguments, python_version_guard
21-
from twisterlib.twister_main import main
21+
from twisterlib.twister_main import twister
2222

2323
TWISTER_DESCRIPTION = """\
2424
Convenience wrapper for twister. The below options are shared with the twister
@@ -58,7 +58,7 @@ def do_run(self, args, remainder):
5858

5959
options = parse_arguments(self.parser, args=remainder, options=args)
6060
default_options = parse_arguments(self.parser, args=[], on_init=False)
61-
ret = main(options, default_options)
61+
ret = twister(options, default_options)
6262
sys.exit(ret)
6363

6464
def _parse_arguments(self, args, options):

0 commit comments

Comments
 (0)