Simon Glass fe806861a9 test: Use a local variable for test state
At present we use a global test state for all driver-model tests. Make use
of a local struct like we do with the other tests.

To make this work, add functions to get and set this state. When a test
starts, the state is set (so it can be used in the test). When a test
finishes, the state is unset, so it cannot be used by mistake.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-12 09:57:30 -05:00
..
2020-07-01 15:01:21 +08:00
2020-10-30 10:56:11 -04:00
2019-11-14 07:09:34 -06:00
2021-03-12 09:57:30 -05:00
2021-03-12 09:57:30 -05:00