Adjust the code to use the common test-execution function. Signed-off-by: Simon Glass <sjg@chromium.org>