Replies: 1 comment 1 reply
-
A concrete example would help with understanding your goal. https://labgrid.readthedocs.io/en/latest/configuration.html#environment-configuration has some example of how to specify which of a set of alternative drivers/resources a driver should bind to. There are also example with two parallel "chains" of
Hmm. In contrast to an SSHDriver (for example), which can open multiple independent channels, the ConsoleDriver can't open more independent channels on demand. Our standard approach is to have one driver instance per "component" on the DUT side. So there is a ShellDriver for the Linux shell, a BareboxDriver for the barebox bootloader. In your case, are there really two independent components using the DUT's console in parallel? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a question having to do with higher level driver modeling (i.e. driver of drivers/resources)..
If I have the following situation where a driver uses 2 lower level drivers each of which use an instance of the ConsoleProtocol and then a higher level driver binding to an instance of A and B protocols like the following:
And then for a testcase lets say I have:
My questions are:
Beta Was this translation helpful? Give feedback.
All reactions