mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
utf8proc01: Honor BSP_SMALL_MEMORY
This commit is contained in:
1 parent
faa4e4c08d
commit
a44fa5a7ce
1 file changed
+7
-1
@@ -23,6 +23,7 @@
|
||||
|
||||
const char rtems_test_name[] = "UTF8PROC 1";
|
||||
|
||||
#if !defined(BSP_SMALL_MEMORY)
|
||||
static void
|
||||
test_utf8proc_errmsg ( void )
|
||||
{
|
||||
@@ -247,12 +248,17 @@ static void test ( void )
|
||||
test_utf8proc_normalize ( utf8proc_NFKD );
|
||||
test_utf8proc_normalize ( utf8proc_NFKC );
|
||||
}
|
||||
#endif
|
||||
|
||||
static void Init ( rtems_task_argument arg )
|
||||
{
|
||||
TEST_BEGIN();
|
||||
|
||||
test ( );
|
||||
#if defined(BSP_SMALL_MEMORY)
|
||||
puts( "Does not run on small memory targets" );
|
||||
#else
|
||||
test();
|
||||
#endif
|
||||
|
||||
TEST_END();
|
||||
|
||||
|
||||
Reference in new issue
Block a user