From 3324383ce03f3d70a652f99291209e768d89c691 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 5 May 2014 09:47:30 -0500 Subject: testsuites: Remove BSP_SMALL_MEMORY --- testsuites/fstests/fsdosfsname01/init.c | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to 'testsuites/fstests/fsdosfsname01') diff --git a/testsuites/fstests/fsdosfsname01/init.c b/testsuites/fstests/fsdosfsname01/init.c index 8943639242..d57c653a70 100644 --- a/testsuites/fstests/fsdosfsname01/init.c +++ b/testsuites/fstests/fsdosfsname01/init.c @@ -16,11 +16,9 @@ #include "config.h" #endif -#include "tmacros.h" -const char rtems_test_name[] = "FSDOSFSNAME 1"; +#include "tmacros.h" -#if !defined(BSP_SMALL_MEMORY) #include #include #include @@ -38,6 +36,8 @@ const char rtems_test_name[] = "FSDOSFSNAME 1"; #include +const char rtems_test_name[] = "FSDOSFSNAME 1"; + #define PRINT_DISK_IMAGE 0 #define MOUNT_DIR "/mnt" @@ -1286,26 +1286,17 @@ static void test( void ) test_compatibility(); } -#endif static void Init( rtems_task_argument arg ) { TEST_BEGIN(); -#if defined(BSP_SMALL_MEMORY) - puts( "Test is too large for small memory BSPs" ); -#else test(); -#endif TEST_END(); rtems_test_exit( 0 ); } -/* - * Disable the "large" part of the configuration for this test - */ -#if !defined(BSP_SMALL_MEMORY) rtems_ramdisk_config rtems_ramdisk_configuration [] = { { .block_size = BLOCK_SIZE, .block_num = BLOCK_NUM }, { .block_size = BLOCK_SIZE, .block_num = BLOCK_NUM, .location = &IMAGE_BIN_LE_SINGLEBYTE[0] }, @@ -1315,11 +1306,14 @@ rtems_ramdisk_config rtems_ramdisk_configuration [] = { size_t rtems_ramdisk_configuration_size = RTEMS_ARRAY_SIZE(rtems_ramdisk_configuration); #define CONFIGURE_INIT_TASK_STACK_SIZE ( 1024 * 64 ) +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_MAXIMUM_DRIVERS 4 #define CONFIGURE_MAXIMUM_SEMAPHORES (2 * RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE) - #define CONFIGURE_APPLICATION_EXTRA_DRIVERS RAMDISK_DRIVER_TABLE_ENTRY +#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK + #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM #define CONFIGURE_FILESYSTEM_DOSFS @@ -1328,18 +1322,10 @@ size_t rtems_ramdisk_configuration_size = RTEMS_ARRAY_SIZE(rtems_ramdisk_configu * 2 for open directories/files + 4 * 2 for recursive tree compares*/ #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS ( 7 + 2 + ( 4 * 2 ) ) -#endif - -/* - * Even when in BSP_SMALL_MEMORY mode, we need this much to build and - * link the test. Hopefully this reduces the footprint sufficiently. - */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER - -#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK #define CONFIGURE_MAXIMUM_TASKS 1 + #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -- cgit v1.2.3