Changeset 2bea494 in rtems for testsuites/fstests
- Timestamp:
- 04/21/14 14:08:15 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- faa4e4c0
- Parents:
- 97ae79d7
- git-author:
- Joel Sherrill <joel.sherrill@…> (04/21/14 14:08:15)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (04/22/14 13:37:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/fstests/fsdosfsname01/init.c
r97ae79d7 r2bea494 17 17 #endif 18 18 19 20 19 #include "tmacros.h" 21 20 21 const char rtems_test_name[] = "FSDOSFSNAME 1"; 22 23 #if !defined(BSP_SMALL_MEMORY) 22 24 #include <errno.h> 23 25 #include <fcntl.h> … … 36 38 37 39 #include <errno.h> 38 39 const char rtems_test_name[] = "FSDOSFSNAME 1";40 40 41 41 #define PRINT_DISK_IMAGE 0 … … 1292 1292 test_compatibility(); 1293 1293 } 1294 #endif 1294 1295 1295 1296 static void Init( rtems_task_argument arg ) … … 1297 1298 TEST_BEGIN(); 1298 1299 1300 #if defined(BSP_SMALL_MEMORY) 1301 puts( "Test is too large for small memory BSPs" ); 1302 #else 1299 1303 test(); 1304 #endif 1300 1305 1301 1306 TEST_END(); … … 1303 1308 } 1304 1309 1310 /* 1311 * Disable the "large" part of the configuration for this test 1312 */ 1313 #if !defined(BSP_SMALL_MEMORY) 1305 1314 rtems_ramdisk_config rtems_ramdisk_configuration [] = { 1306 1315 { .block_size = BLOCK_SIZE, .block_num = BLOCK_NUM }, … … 1312 1321 1313 1322 #define CONFIGURE_INIT_TASK_STACK_SIZE ( 1024 * 64 ) 1314 #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER1315 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER1316 1323 #define CONFIGURE_MAXIMUM_DRIVERS 4 1317 1324 #define CONFIGURE_MAXIMUM_SEMAPHORES (2 * RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE) 1325 1318 1326 #define CONFIGURE_APPLICATION_EXTRA_DRIVERS RAMDISK_DRIVER_TABLE_ENTRY 1319 1320 #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK1321 1327 1322 1328 #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM … … 1328 1334 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS ( 7 + 2 + ( 4 * 2 ) ) 1329 1335 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 1330 1346 #define CONFIGURE_MAXIMUM_TASKS 1 1331 1332 1347 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION 1333 1334 1348 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE 1335 1349
Note: See TracChangeset
for help on using the changeset viewer.