Skip to content

Commit 6c6df64

Browse files
nashiftpambor
authored andcommitted
twister: fix variant handling
Signed-off-by: Anas Nashif <[email protected]>
1 parent db0f3a7 commit 6c6df64

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
@@ -882,7 +882,10 @@ def apply_filters(self, **kwargs):
882882
if itoolchain:
883883
toolchain = itoolchain
884884
elif plat.arch in ['posix', 'unit']:
885-
toolchain = 'host/gnu' if not self.env.toolchain else self.env.toolchain
885+
if self.env.toolchain in ['host/llvm']:
886+
toolchain = 'host/llvm'
887+
else:
888+
toolchain = 'host/gnu'
886889
else:
887890
toolchain = "zephyr" if not self.env.toolchain else self.env.toolchain
888891

0 commit comments

Comments
 (0)