Skip to content

Commit 8d4cb7f

Browse files
nashifstephanosio
authored andcommitted
twister: fix variant handling
Signed-off-by: Anas Nashif <[email protected]>
1 parent e115b1d commit 8d4cb7f

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
@@ -873,7 +873,10 @@ def apply_filters(self, **kwargs):
873873
if itoolchain:
874874
toolchain = itoolchain
875875
elif plat.arch in ['posix', 'unit']:
876-
toolchain = 'host/gnu' if not self.env.toolchain else self.env.toolchain
876+
if self.env.toolchain in ['host/llvm']:
877+
toolchain = 'host/llvm'
878+
else:
879+
toolchain = 'host/gnu'
877880
else:
878881
toolchain = "zephyr" if not self.env.toolchain else self.env.toolchain
879882

0 commit comments

Comments
 (0)