commit | eff9658dd7fabab4dc4c16be41b9b727d300007b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 25 20:38:33 2020 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Oct 29 14:42:18 2020 -0600 |
tree | c04b463c63901c50087822c6d29a329fd1a9ca7a | |
parent | e43b1b5e637672208d6b3a0c3ac0859988ebf610 [diff] [blame] |
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>
diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 48fd126..81b217a 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c
@@ -72,7 +72,7 @@ if (state->run_unittests) { int ret; - ret = dm_test_main(NULL); + ret = dm_test_main(state->select_unittests); /* continue execution into U-Boot */ } }