From b6447b79953e4049d6ce6a20adbfdc1205700c38 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Tue, 21 Jun 2022 14:53:59 +0100 Subject: [PATCH] lisa._kmod: Handle non-str make variables FIX Turn make variables into strings early in the processing to avoid any issues if they come from Python or YAML as other types. --- lisa/_kmod.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisa/_kmod.py b/lisa/_kmod.py index 16a3dd3fd..dcc46af1e 100644 --- a/lisa/_kmod.py +++ b/lisa/_kmod.py @@ -898,6 +898,12 @@ class KernelTree(Loggable, SerializeViaConstructor): **env, **dict(make_vars or {}) } + + make_vars = { + str(k): str(v) + for k, v in make_vars.items() + } + if abi is None: abi = make_vars.get('ARCH', LISA_HOST_ABI) -- GitLab