Changeset 3324383c in rtems for testsuites/fstests


Ignore:
Timestamp:
May 5, 2014, 2:47:30 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
07e7a7f8
Parents:
053abcda
git-author:
Joel Sherrill <joel.sherrill@…> (05/05/14 14:47:30)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/06/14 23:31:00)
Message:

testsuites: Remove BSP_SMALL_MEMORY

Location:
testsuites/fstests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/fstests/fsdosfsformat01/init.c

    r053abcda r3324383c  
    1919#include "tmacros.h"
    2020
    21 #include <bsp.h>
    22 
    23 const char rtems_test_name[] = "FSDOSFSFORMAT 1";
    24 
    25 #if !defined(BSP_SMALL_MEMORY)
    2621#include <fcntl.h>
    2722#include <inttypes.h>
     
    3126#include <rtems/dosfs.h>
    3227#include <rtems/sparse-disk.h>
     28
     29#include <bsp.h>
     30
     31const char rtems_test_name[] = "FSDOSFSFORMAT 1";
    3332
    3433#define MAX_PATH_LENGTH 100 /* Maximum number of characters per path */
     
    472471  rtems_test_assert( rv == 0 );
    473472}
    474 #endif
    475473
    476474static void Init( rtems_task_argument arg )
     
    478476  TEST_BEGIN();
    479477
    480 #if defined(BSP_SMALL_MEMORY)
    481   puts( "Test is too large for small memory BSPs" );
    482 #else
    483478  test();
    484 #endif
    485479
    486480  TEST_END();
  • testsuites/fstests/fsdosfsname01/init.c

    r053abcda r3324383c  
    1717#endif
    1818
     19
    1920#include "tmacros.h"
    2021
    21 const char rtems_test_name[] = "FSDOSFSNAME 1";
    22 
    23 #if !defined(BSP_SMALL_MEMORY)
    2422#include <errno.h>
    2523#include <fcntl.h>
     
    3836
    3937#include <errno.h>
     38
     39const char rtems_test_name[] = "FSDOSFSNAME 1";
    4040
    4141#define PRINT_DISK_IMAGE 0
     
    12921292  test_compatibility();
    12931293}
    1294 #endif
    12951294
    12961295static void Init( rtems_task_argument arg )
     
    12981297  TEST_BEGIN();
    12991298
    1300 #if defined(BSP_SMALL_MEMORY)
    1301   puts( "Test is too large for small memory BSPs" );
    1302 #else
    13031299  test();
    1304 #endif
    13051300
    13061301  TEST_END();
     
    13081303}
    13091304
    1310 /*
    1311  * Disable the "large" part of the configuration for this test
    1312  */
    1313 #if !defined(BSP_SMALL_MEMORY)
    13141305rtems_ramdisk_config rtems_ramdisk_configuration [] = {
    13151306  { .block_size = BLOCK_SIZE, .block_num = BLOCK_NUM },
     
    13211312
    13221313#define CONFIGURE_INIT_TASK_STACK_SIZE ( 1024 * 64 )
     1314#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
     1315#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    13231316#define CONFIGURE_MAXIMUM_DRIVERS 4
    13241317#define CONFIGURE_MAXIMUM_SEMAPHORES (2 * RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE)
    1325 
    13261318#define CONFIGURE_APPLICATION_EXTRA_DRIVERS RAMDISK_DRIVER_TABLE_ENTRY
     1319
     1320#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
    13271321
    13281322#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     
    13341328#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS ( 7 + 2 + ( 4 * 2 ) )
    13351329
    1336 #endif
    1337 
    1338 /*
    1339  * Even when in BSP_SMALL_MEMORY mode, we need this much to build and
    1340  * link the test.  Hopefully this reduces the footprint sufficiently.
    1341  */
    1342 #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
    1343 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    1344 
    1345 #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
    13461330#define CONFIGURE_MAXIMUM_TASKS 1
     1331
    13471332#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
     1333
    13481334#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    13491335
Note: See TracChangeset for help on using the changeset viewer.