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:
parent
cf6131382c
commit
f341eed30e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue