]> git.dujemihanovic.xyz Git - u-boot.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)
commitd1b46595700b063faaec3e33f5754642e68b3d8f
treed63e52f47c82a554fc26f3bcfe5b3d7064532175
parent6580b618306a24b6ae2974318922c40588ab0284
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