From a44fa5a7cead4e92d37efe45ae944a5d190f781d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 21 Apr 2014 09:08:48 -0500 Subject: utf8proc01: Honor BSP_SMALL_MEMORY --- testsuites/libtests/utf8proc01/init.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/utf8proc01/init.c b/testsuites/libtests/utf8proc01/init.c index fd27451117..06948fe44d 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(); -- cgit v1.2.3