From f207cfec549a4f0cdec9ebf66951dc79446ffa6f Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 22 Mar 2024 13:30:54 +0100 Subject: [PATCH] docs twister: Mention the env filter Quite many users do not know that it exists, as we don't seem to have it documented anywhere. Signed-off-by: Alberto Escolar Piedras --- doc/develop/test/twister.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/develop/test/twister.rst b/doc/develop/test/twister.rst index f84fc73b99c..35f2c087eca 100644 --- a/doc/develop/test/twister.rst +++ b/doc/develop/test/twister.rst @@ -205,6 +205,12 @@ testing: power-efficient but slow CPU or simulation platform which can perform instruction accurate simulation but does it slowly. +env: + A list of environment variables. Twister will check if all these environment variables are set, + and otherwise skip this platform. This allows the user to define a platform which should be + used, for example, only if some required software or hardware is present, and to signal that + presence to twister using these environment variables. + Test Cases **********