File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
examples/utest/testcases/mm Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ void rt_memblock_setup_memory_environment(void)
397397 LOG_I ("%ld MB memory installed to system page" , mem /1000000 );
398398}
399399
400- #ifdef UTEST_MM_API_TC
400+ #ifdef RT_UTEST_MM_API
401401/* functions below are only used for utest */
402402void rt_memblock_merge (void )
403403{
@@ -423,4 +423,4 @@ rt_bool_t rt_memblock_is_last_free(void)
423423 return mem == rt_slist_entry (& (mmblk_memory .reg_list ), struct rt_mmblk_reg , node );
424424}
425425
426- #endif /* UTEST_MM_API_TC */
426+ #endif /* RT_UTEST_MM_API */
Original file line number Diff line number Diff line change 11menu "Memory Management Subsytem Testcase"
22
3- config UTEST_MM_API_TC
3+ config RT_UTEST_MM_API
44 bool "Enable Utest for MM API"
55 default n
66 help
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cwd = GetCurrentDir()
55src = []
66CPPPATH = [cwd ]
77
8- if GetDepend (['UTEST_MM_API_TC ' , 'RT_USING_SMART' ]):
8+ if GetDepend (['RT_UTEST_MM_API ' , 'RT_USING_SMART' ]):
99 # deprecated test, will be rewrited in the future
1010 # src += ['mm_api_tc.c', 'mm_libcpu_tc.c']
1111 src += ['rt_ioremap.c' ]
@@ -14,7 +14,7 @@ if GetDepend(['UTEST_MM_API_TC', 'RT_USING_SMART']):
1414 src += ['lwp_mmap_expand.c' , 'lwp_mmap_map_fixed.c' , 'lwp_mmap_fix_private.c' ]
1515 src += ['lwp_mmap_fd.c' , 'lwp_mmap_fd_map_fixed_merge.c' , 'lwp_mmap_fd_map_fixed_split.c' ]
1616
17- if GetDepend (['UTEST_MM_API_TC ' , 'RT_USING_MEMBLOCK' ]):
17+ if GetDepend (['RT_UTEST_MM_API ' , 'RT_USING_MEMBLOCK' ]):
1818 src += ['mm_memblock_tc.c' ]
1919
2020if GetDepend (['UTEST_MM_LWP_TC' , 'RT_USING_SMART' ]):
You can’t perform that action at this time.
0 commit comments