diff options
author | Simon Glass <sjg@chromium.org> | 2022-08-01 16:58:45 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-02 23:21:44 +0300 |
commit | ea94d053e19ee3341301cf999a8dd78e37b83cca (patch) | |
tree | 94bfae9af3d2f92815effcd7351db40577a32af5 /arch/sandbox | |
parent | e033c180d0327e8fa791660ae26cdebd5e400153 (diff) | |
download | u-boot-ea94d053e19ee3341301cf999a8dd78e37b83cca.tar.xz |
test: Allow running tests multiple times
Some tests can have race conditions which are hard to detect on a single
one. Add a way to run tests more than once, to help with this.
Each individual test is run the requested number of times before moving
to the next test. If any runs failed, a message is shown.
This is most useful when running a single test, since running all tests
multiple times can take a while.
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 fe5d44d36e..1d49a9bd10 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c @@ -89,7 +89,7 @@ void spl_board_init(void) int ret; ret = ut_run_list("spl", NULL, tests, count, - state->select_unittests); + state->select_unittests, 1); /* continue execution into U-Boot */ } } |