summaryrefslogtreecommitdiff
path: root/test/scratchpad.c
diff options
context:
space:
mode:
authorYicheng Li <yichengli@chromium.org>2020-06-02 10:22:48 -0700
committerCommit Bot <commit-bot@chromium.org>2020-06-02 21:32:44 +0000
commitf341eed30e8db35ca635bc33392a86b5dd69e95f (patch)
tree1e0ac586b7d5409d347175f728a7cb10c997058b /test/scratchpad.c
parentcf6131382ca2864b7309cb4ba1b456e63c5dcc95 (diff)
downloadchrome-ec-f341eed30e8db35ca635bc33392a86b5dd69e95f.tar.gz
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>
Diffstat (limited to 'test/scratchpad.c')
-rw-r--r--test/scratchpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scratchpad.c b/test/scratchpad.c
index 8af697f0ae..eeae7fcb93 100644
--- a/test/scratchpad.c
+++ b/test/scratchpad.c
@@ -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();