From 9021d1aefc3ef86eae99b6273d7f61c40fa391d8 Mon Sep 17 00:00:00 2001 From: Christophe Milard Date: Mon, 27 Jul 2015 19:38:48 +0200 Subject: validation: timer: lib populated test symbols are now exported in the module lib. Signed-off-by: Christophe Milard Reviewed-by: Stuart Haslam Signed-off-by: Maxim Uvarov --- test/validation/timer/timer.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/validation/timer/timer.c') diff --git a/test/validation/timer/timer.c b/test/validation/timer/timer.c index ecca78564..30b2b4343 100644 --- a/test/validation/timer/timer.c +++ b/test/validation/timer/timer.c @@ -50,7 +50,7 @@ struct test_timer { #define TICK_INVALID (~(uint64_t)0) -static void timer_test_timeout_pool_alloc(void) +void timer_test_timeout_pool_alloc(void) { odp_pool_t pool; const int num = 3; @@ -94,7 +94,7 @@ static void timer_test_timeout_pool_alloc(void) CU_ASSERT(odp_pool_destroy(pool) == 0); } -static void timer_test_timeout_pool_free(void) +void timer_test_timeout_pool_free(void) { odp_pool_t pool; odp_timeout_t tmo; @@ -125,7 +125,7 @@ static void timer_test_timeout_pool_free(void) CU_ASSERT(odp_pool_destroy(pool) == 0); } -static void timer_test_odp_timer_cancel(void) +void timer_test_odp_timer_cancel(void) { odp_pool_t pool; odp_pool_param_t params; @@ -436,7 +436,7 @@ static void *worker_entrypoint(void *arg TEST_UNUSED) } /* @private Timer test case entrypoint */ -static void timer_test_odp_timer_all(void) +void timer_test_odp_timer_all(void) { int rc; odp_pool_param_t params; @@ -529,7 +529,7 @@ static void timer_test_odp_timer_all(void) CU_PASS("ODP timer test"); } -static CU_TestInfo timer_suite[] = { +CU_TestInfo timer_suite[] = { {"test_timeout_pool_alloc", timer_test_timeout_pool_alloc}, {"test_timeout_pool_free", timer_test_timeout_pool_free}, {"test_odp_timer_cancel", timer_test_odp_timer_cancel}, @@ -537,7 +537,7 @@ static CU_TestInfo timer_suite[] = { CU_TEST_INFO_NULL, }; -static CU_SuiteInfo timer_suites[] = { +CU_SuiteInfo timer_suites[] = { {"Timer", NULL, NULL, NULL, NULL, timer_suite}, CU_SUITE_INFO_NULL, }; -- cgit v1.2.3