diff options
author | Simon Glass | 2022-10-29 19:47:13 -0600 |
---|---|---|
committer | Simon Glass | 2022-11-07 16:24:30 -0700 |
commit | d1b46595700b063faaec3e33f5754642e68b3d8f (patch) | |
tree | d63e52f47c82a554fc26f3bcfe5b3d7064532175 /arch/sandbox | |
parent | 6580b618306a24b6ae2974318922c40588ab0284 (diff) |
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/cpu/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 0faf34cc00a..09e3d10d6a5 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c @@ -132,7 +132,7 @@ void spl_board_init(void) int ret; ret = ut_run_list("spl", NULL, tests, count, - state->select_unittests, 1, false); + state->select_unittests, 1, false, NULL); /* continue execution into U-Boot */ } } |