From: Stefan Bruens Date: Wed, 19 Oct 2016 00:30:48 +0200 Subject: [U-Boot] Some issues with the python tests Message-ID: <4274380.VWzqPzmXmy@pebbles.site> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I have started diving into the u-boot python tests. Now I have come accross two problems: 1. I would like to access the config, specifically the paths to e.g. build_dir, result_dir, ... 2. I would like to run and log system commands Now while I can do this via the u_boot_console fixture, I would like to issue some of my fixture setup on the session/module level. Unfortunately, the u_boot_console fixture has "function" scope, and thus my fixtures are limited to function scope as well. Although for the u_boot_console (i.e. the sandbox instance or the SoC terminal) function scope is likely correct, the runner/logger and the config should be accessible independent of u_boot_console. Any ideas how to solve this issue? Kind regards, Stefan -- Stefan Br?ns / Bergstra?e 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424