test: Pass command line arguments to scratchpad unit test

Now that the main function of test files expects command line
arguments, pass arguments to scratchpad test so that it can build.

BRANCH=none
BUG=none
TEST=make -j BOARD=bloonchipper test-scratchpad

Signed-off-by: Yicheng Li <yichengli@chromium.org>
Change-Id: I042d91734b3cd46b9e14cfd647487b300a8f07ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2226521
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
This commit is contained in:
Yicheng Li 2020-06-02 10:22:48 -07:00 committed by Commit Bot
parent cf6131382c
commit f341eed30e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ test_static int test_scratchpad(void)
return EC_SUCCESS;
}
void run_test(void)
void run_test(int argc, char **argv)
{
RUN_TEST(test_scratchpad);
test_print_result();