From e71f008388b3c69cf01a534c5084d7e3a441149b Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Thu, 9 May 2013 07:16:01 +0800 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/50513 Reviewed-by: Vincent Palatin --- test/mutex.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/mutex.c') diff --git a/test/mutex.c b/test/mutex.c index e795fa15b7..cc4202378c 100644 --- a/test/mutex.c +++ b/test/mutex.c @@ -118,11 +118,3 @@ void run_test(void) { task_wake(TASK_ID_MTX1); } - -static int command_run_test(int argc, char **argv) -{ - run_test(); - return EC_SUCCESS; -} -DECLARE_CONSOLE_COMMAND(runtest, command_run_test, - NULL, NULL, NULL); -- cgit v1.2.1