Skip to content

Commit c92dfb7

Browse files
committed
twister: fix variant handling
Signed-off-by: Anas Nashif <[email protected]>
1 parent c300337 commit c92dfb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/pylib/twister/twisterlib/testplan.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,10 @@ def apply_filters(self, **kwargs):
826826
if itoolchain:
827827
toolchain = itoolchain
828828
elif plat.arch in ['posix', 'unit']:
829-
toolchain = 'host/gnu' if not self.env.toolchain else self.env.toolchain
829+
if self.env.toolchain in ['host/llvm']:
830+
toolchain = 'host/llvm'
831+
else:
832+
toolchain = 'host/gnu'
830833
else:
831834
toolchain = "zephyr" if not self.env.toolchain else self.env.toolchain
832835

0 commit comments

Comments
 (0)