]> git.baikalelectronics.ru Git - uboot.git/commit
test: Add a way to detect a test that breaks another
authorSimon Glass <sjg@chromium.org>
Sun, 30 Oct 2022 01:47:13 +0000 (19:47 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2022 23:24:30 +0000 (16:24 -0700)
commitfdb49ea6ebd3b9979e36baed2112dd4faf5dd712
treed63e52f47c82a554fc26f3bcfe5b3d7064532175
parent5f719a6cc6b83fc516e9302ca5b75c51ea2924b9
test: Add a way to detect a test that breaks another

When running unit tests, some may have side effects which cause a
subsequent test to break. This can sometimes be seen when using 'ut dm'
or similar.

Add a new argument which allows a particular (failing) test to be run
immediately after a certain number of tests have run. This allows the
test causing the failure to be determined.

Update the documentation also.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/spl.c
doc/develop/tests_sandbox.rst
doc/usage/cmd/ut.rst
include/test/ut.h
test/cmd_ut.c
test/test-main.c