summaryrefslogtreecommitdiff
path: root/test/timer_calib.c
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-09 07:16:01 +0800
committerChromeBot <chrome-bot@google.com>2013-05-08 18:11:01 -0700
commite71f008388b3c69cf01a534c5084d7e3a441149b (patch)
treec68a0ba7443eef434ca3799ae85b4207ccfbc68c /test/timer_calib.c
parent4f463ebc46463d397e8a4c5296ad2168ce881bde (diff)
downloadchrome-ec-e71f008388b3c69cf01a534c5084d7e3a441149b.tar.gz
Put test utility macros in header
Several test utility macros have been duplicated across tests. Let's put them in a single place. BUG=chrome-os-partner:19236 TEST='make runtests', 'BOARD=spring make tests' BRANCH=None Change-Id: Ib0c9f829715425cc23e33b8ef456b17dfadab13c Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50513 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test/timer_calib.c')
-rw-r--r--test/timer_calib.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/timer_calib.c b/test/timer_calib.c
index e64cc6a769..65dab2900f 100644
--- a/test/timer_calib.c
+++ b/test/timer_calib.c
@@ -56,10 +56,7 @@ int timer_calib_task(void *data)
return EC_SUCCESS;
}
-static int command_run_test(int argc, char **argv)
+void run_test(void)
{
task_wake(TASK_ID_TESTTMR);
- return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(runtest, command_run_test,
- NULL, NULL, NULL);