
19 Oct
2016
19 Oct
'16
12:30 a.m.
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