test: Allow tpm2 tests to run in parallel
authorSimon Glass <sjg@chromium.org>
Sun, 19 Sep 2021 21:14:50 +0000 (15:14 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 5 Oct 2021 12:50:15 +0000 (08:50 -0400)
commit17d1fe1c4483d57edd3de5647973168713129374
tree59001c0f6e8ea128330b3ddae33db83fb317d42b
parentea3164eeb040bdff65323f8717f5dc2296f548a4
test: Allow tpm2 tests to run in parallel

These tests currently run in a particular sequence, with some of them
depending on the actions of earlier tests.

Add a check for sandbox and reset to a known state at the start of each
test, so that all tests can run in parallel.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_tpm2.py