Skip to content

Commit dedae64

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

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
@@ -828,7 +828,10 @@ def apply_filters(self, **kwargs):
828828
if itoolchain:
829829
toolchain = itoolchain
830830
elif plat.arch in ['posix', 'unit']:
831-
toolchain = 'host/gnu' if not self.env.toolchain else self.env.toolchain
831+
if self.env.toolchain in ['host/llvm']:
832+
toolchain = 'host/llvm'
833+
else:
834+
toolchain = 'host/gnu'
832835
else:
833836
toolchain = "zephyr" if not self.env.toolchain else self.env.toolchain
834837

0 commit comments

Comments
 (0)