diff options
| author | Simon Glass <sjg@chromium.org> | 2021-03-07 17:35:04 -0700 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2021-03-12 09:57:30 -0500 |
| commit | fe806861a98b4ad524d070c6d7b9d20fd475ec6f (patch) | |
| tree | 59df6d3172d2ec6758deb6ee14fa872be5837b6a /scripts/objdiff | |
| parent | d2281bb09b0ebf580f8efe23c84c240a2f3ea9bb (diff) | |
| download | u-boot-fe806861a98b4ad524d070c6d7b9d20fd475ec6f.tar.gz u-boot-fe806861a98b4ad524d070c6d7b9d20fd475ec6f.tar.xz u-boot-fe806861a98b4ad524d070c6d7b9d20fd475ec6f.zip | |
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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
