Skip to content

Remove TestEnv

  • introduce Target: Composition of devlib.Target's instance. It provides additional context manager (freezer etc), a PlatformInfo, and allows transparent access to the composed devlib.Target (using __getattr__ forwarding). This allows easily managing which class is chosen exactly (based on "kind"), and make explicit all references to the underlying target.
  • remove lisa.env.TestEnv, replace it with lisa.target.Targtet
  • update wlgen to use Target
  • introduce lisa.traceFtraceCollector as a thin wrapper around devlib's one This collector is propagated as an optional parameter along the from_target() path down to _run_rtapp(). Exekall is able to create a custom collector configured with a user conf that is merged with the conf from the TestBundle class.
  • Introduce lisa.conf.Configurable class to allow pear a configuration class with a regular class.

Merge request reports