[rtems commit] utf8proc01: Honor BSP_SMALL_MEMORY

Joel Sherrill joel at rtems.org
Tue Apr 22 20:04:23 UTC 2014


Module:    rtems
Branch:    master
Commit:    a44fa5a7cead4e92d37efe45ae944a5d190f781d
Changeset: http://git.rtems.org/rtems/commit/?id=a44fa5a7cead4e92d37efe45ae944a5d190f781d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Apr 21 09:08:48 2014 -0500

utf8proc01: Honor BSP_SMALL_MEMORY

---

 testsuites/libtests/utf8proc01/init.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/testsuites/libtests/utf8proc01/init.c b/testsuites/libtests/utf8proc01/init.c
index fd27451..06948fe 100644
--- a/testsuites/libtests/utf8proc01/init.c
+++ b/testsuites/libtests/utf8proc01/init.c
@@ -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();
 




More information about the vc mailing list