diff options
author | Simon Glass <sjg@chromium.org> | 2020-10-25 20:38:33 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-10-29 14:42:18 -0600 |
commit | 22b29cc8fb15f611e8e2af6fde8627a32abea76d (patch) | |
tree | c04b463c63901c50087822c6d29a329fd1a9ca7a /arch/sandbox/cpu/spl.c | |
parent | 7b51bf770af349aa03f49cb9f445173ff2dc7fc7 (diff) |
sandbox: Allow selection of SPL unit tests
Now that we have more than one test, add a way to select the test to run.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/spl.c')
-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 48fd1265afe..81b217a1d70 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c @@ -72,7 +72,7 @@ void spl_board_init(void) if (state->run_unittests) { int ret; - ret = dm_test_main(NULL); + ret = dm_test_main(state->select_unittests); /* continue execution into U-Boot */ } } |