mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
test: Mark all but the first vboot test as slow
When doing a quick check we don't need to run all the vboot tests. Just run the first one, which is enough to catch most problems. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -42,7 +42,7 @@ import vboot_evil
|
|||||||
|
|
||||||
# Only run the full suite on a few combinations, since it doesn't add any more
|
# Only run the full suite on a few combinations, since it doesn't add any more
|
||||||
# test coverage.
|
# test coverage.
|
||||||
TESTDATA = [
|
TESTDATA_IN = [
|
||||||
['sha1-basic', 'sha1', '', None, False, True, False, False],
|
['sha1-basic', 'sha1', '', None, False, True, False, False],
|
||||||
['sha1-pad', 'sha1', '', '-E -p 0x10000', False, False, False, False],
|
['sha1-pad', 'sha1', '', '-E -p 0x10000', False, False, False, False],
|
||||||
['sha1-pss', 'sha1', '-pss', None, False, False, False, False],
|
['sha1-pss', 'sha1', '-pss', None, False, False, False, False],
|
||||||
@@ -60,6 +60,10 @@ TESTDATA = [
|
|||||||
['sha256-global-sign-pss', 'sha256', '-pss', '', False, False, False, True],
|
['sha256-global-sign-pss', 'sha256', '-pss', '', False, False, False, True],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Mark all but the first test as slow, so they are not run with '-k not slow'
|
||||||
|
TESTDATA = [TESTDATA_IN[0]]
|
||||||
|
TESTDATA += [pytest.param(*v, marks=pytest.mark.slow) for v in TESTDATA_IN[1:]]
|
||||||
|
|
||||||
@pytest.mark.boardspec('sandbox')
|
@pytest.mark.boardspec('sandbox')
|
||||||
@pytest.mark.buildconfigspec('fit_signature')
|
@pytest.mark.buildconfigspec('fit_signature')
|
||||||
@pytest.mark.requiredtool('dtc')
|
@pytest.mark.requiredtool('dtc')
|
||||||
|
|||||||
Reference in New Issue
Block a user