Changeset 3324383c in rtems for testsuites/samples


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/samples
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/capture/init.c

    r053abcda r3324383c  
    2525/* forward declarations to avoid warnings */
    2626rtems_task Init(rtems_task_argument argument);
    27 #if !BSP_SMALL_MEMORY
    28   static void notification(int fd, int seconds_remaining, void *arg);
    29 #endif
     27static void notification(int fd, int seconds_remaining, void *arg);
    3028
    3129const char rtems_test_name[] = "CAPTURE ENGINE";
     
    3331volatile int can_proceed = 1;
    3432
    35 #if !BSP_SMALL_MEMORY
    3633static void notification(int fd, int seconds_remaining, void *arg)
    3734{
     
    4138  );
    4239}
    43 #endif
    4440
    4541rtems_task Init(
     
    4743)
    4844{
    49 #if BSP_SMALL_MEMORY
    50   printf("NO Capture Engine. MEMORY TOO SMALL");
    51 #else
    5245  rtems_status_code   status;
    5346  rtems_task_priority old_priority;
     
    8578    exit( 0 );
    8679  }
    87 #endif
    8880}
  • testsuites/samples/capture/test1.c

    r053abcda r3324383c  
    2727#include <rtems/monitor.h>
    2828
    29 #if !BSP_SMALL_MEMORY
    3029static volatile int capture_CT1a_deleted;
    3130static volatile int capture_CT1b_deleted;
     
    272271      rtems_monitor_insert_cmd (&capture_cmds[cmd]);
    273272}
    274 #endif /* BSP_SMALL_MEMORY */
  • testsuites/samples/fileio/system.h

    r053abcda r3324383c  
    3030
    3131#define FILEIO_BUILD 1
    32 #if BSP_SMALL_MEMORY
    33 #undef FILEIO_BUILD
    34 #endif
    3532
    36 #if defined(RTEMS_BSP_HAS_IDE_DRIVER) && !BSP_SMALL_MEMORY
     33#if defined(RTEMS_BSP_HAS_IDE_DRIVER)
    3734#include <libchip/ata.h> /* for ata driver prototype */
    3835#include <libchip/ide_ctrl.h> /* for general ide driver prototype */
  • testsuites/samples/iostream/init.cc

    r053abcda r3324383c  
    2222#include "system.h"
    2323
    24 #if BSP_SMALL_MEMORY
    25 #include <stdio.h>
    26 #else
    2724#include <iostream>
    28 #endif
    2925
    3026#include <stdlib.h>
     
    3632)
    3733{
    38 #if BSP_SMALL_MEMORY
    39   printf ("NO STDC++. MEMORY TOO SMALL");
    40 #else
    4134  std::cout << std::endl << std::endl
    4235    << "*** BEGIN OF " << rtems_test_name << " TEST ***" << std::endl;
    4336  std::cout << "Hello World" << std::endl;
    4437  std::cout << "*** END OF " << rtems_test_name << " TEST ***" << std::endl;
    45 #endif
    4638  exit( 0 );
    4739}
  • testsuites/samples/loopback/init.c

    r053abcda r3324383c  
    4141
    4242#include <rtems/confdefs.h>
    43 
    44 #if !BSP_SMALL_MEMORY
    4543
    4644#include <rtems/rtems_bsdnet.h>
     
    287285    exit( 0 );
    288286}
    289 #else
    290 #include <stdio.h>
    291 /*
    292  * RTEMS Startup Task
    293  */
    294 rtems_task
    295 Init (rtems_task_argument ignored)
    296 {
    297   printf("NO NETWORKING. MEMORY TOO SMALL");
    298 }
    299 #endif
  • testsuites/samples/paranoia/init.c

    r053abcda r3324383c  
    3232   */
    3333
    34 #if BSP_SMALL_MEMORY
    35   printf("NO Paranoia Test. MEMORY TOO SMALL");
    36 #else
    37 
    3834#if (defined (m68040))
    3935  M68KFPSPInstallExceptionHandlers ();
     
    4339  paranoia(1, args);
    4440  rtems_test_end();
    45 #endif /* BSP_SMALL_MEMORY */
    4641  exit( 0 );
    4742}
  • testsuites/samples/paranoia/paranoia.c

    r053abcda r3324383c  
    44
    55#include <bsp.h>
    6 #if !BSP_SMALL_MEMORY
    76/*
    87 *      A C version of Kahan's Floating Point Test "Paranoia"
     
    23092308    msglist (hist);
    23102309}
    2311 #endif /* BSP_SMALL_MEMORY */
  • testsuites/samples/pppd/init.c

    r053abcda r3324383c  
    1919#include "system.h"
    2020
    21 #if !BSP_SMALL_MEMORY
    2221#include <rtems/rtems_bsdnet.h>
    2322#include <rtems/rtemspppd.h>
    2423#include "netconfig.h"
    25 #endif
    2624
    2725const char rtems_test_name[] = "PPPD";
     
    2927rtems_task Init(rtems_task_argument argument)
    3028{
    31 #if BSP_SMALL_MEMORY
    32   printf("NO NETWORKING. MEMORY TOO SMALL");
    33 #else
    3429  rtems_test_begin();
    3530
     
    3833  rtems_pppd_initialize();
    3934  pppdapp_initialize();
    40 #endif
    4135  rtems_task_delete(RTEMS_SELF);
    4236}
  • testsuites/samples/pppd/pppdapp.c

    r053abcda r3324383c  
    55
    66#include <bsp.h>
    7 
    8 #if !BSP_SMALL_MEMORY
    97
    108#include <stdio.h>
     
    153151  return ( iReturn );
    154152}
    155 
    156 #endif
Note: See TracChangeset for help on using the changeset viewer.