tests: mutex: rename main test function

For consistency sake and for better reporting.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-02-18 10:02:40 -06:00 committed by Anas Nashif
parent 88c16923e7
commit 86bb19ac7d

View File

@ -241,7 +241,7 @@ extern void thread_12(void);
* @return N/A
*/
void user_main(void)
void test_mutex(void)
{
/*
* Main thread(test_main) priority was 10 but ztest thread runs at
@ -384,6 +384,6 @@ void test_main(void)
&mutex_1, &mutex_2, &mutex_3, &mutex_4,
&thread_12_thread_data, &thread_12_stack_area,
NULL);
ztest_test_suite(test_mutex, ztest_user_unit_test(user_main));
ztest_run_test_suite(test_mutex);
ztest_test_suite(test_mutex_complex, ztest_user_unit_test(test_mutex));
ztest_run_test_suite(test_mutex_complex);
}