Changeset bc50bea in rtems-testing for rtems


Ignore:
Timestamp:
Aug 7, 2009, 3:19:09 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
18e240c
Parents:
656b137
Message:

2009-08-07 Joel Sherrill <joel.sherrill@…>

  • bit_rtems: Account for adding examples-v2.
Location:
rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems/ChangeLog

    r656b137 rbc50bea  
     12009-08-07      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * bit_rtems: Account for adding examples-v2.
     4
    152009-07-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • rtems/bit_rtems

    r656b137 rbc50bea  
    122122         ENABLE_BSP="${ENABLE_BSP} ENABLE_LCD_MIRRORING=1"
    123123         ;;
     124      gumstix)
     125         ENABLE_BSP="--enable-rtemsbsp=gumstix ON_SKYEYE=1"
     126         BSP_TO_TEST=gumstix
     127         ;;
     128      lm32_evr)
     129         ENABLE_BSP="--enable-rtemsbsp=lm32_evr ON_SIMULATOR=1"
     130         BSP_TO_TEST=lm32_evr
     131         ;;
    124132      qemu)
    125          ENABLE_BSP="--enable-rtemsbsp=pc386 USE_COM1_AS_CONSOLE=1"
    126          # ENABLE_BSP="${ENABLE_BSP} IDE_USE_SECONDARY_INTERFACE=1"
     133         ENABLE_BSP="--enable-rtemsbsp=pc386"
     134         ENABLE_BSP="${ENABLE_BSP} USE_COM1_AS_CONSOLE=1"
     135         ENABLE_BSP="${ENABLE_BSP} BSP_PRESS_KEY_FOR_RESET=0"
     136         BSP_TO_TEST=pc386
     137         ;;
     138      #pc386)
     139      #   ENABLE_BSP="--enable-rtemsbsp=pc386"
     140      #   ENABLE_BSP="${ENABLE_BSP} USE_COM1_AS_CONSOLE=1"
     141      #   ENABLE_BSP="${ENABLE_BSP} IDE_USE_SECONDARY_INTERFACE=1"
     142      #   ENABLE_BSP="${ENABLE_BSP} BSP_VIDEO_80x50=1"
     143      #   BSP_TO_TEST=pc386
     144      #   ;;
     145      *) ENABLE_BSP=--enable-rtemsbsp="${BSP_TO_TEST}" ;;
    127146         BSP_TO_TEST=pc386
    128147         ;;
     
    255274
    256275if [ ${ENABLE_RTEMS_TCPIP} = yes ] ; then
    257   TCPIP_FLAG="--enable-networking"
     276  case ${CPU} in
     277    avr) TCPIP_FLAG="--disable-networking" ;;
     278    *)   TCPIP_FLAG="--enable-networking" ;;
     279  esac
    258280else
    259281  TCPIP_FLAG="--disable-networking"
     
    311333if [ ${ENABLE_RTEMS_CXX} = yes ] ; then
    312334  case ${CPU} in
    313     bfin|tic4x) ENABLE_RTEMS_CXX="--disable-cxx" ;;
    314     *)          ENABLE_RTEMS_CXX="--enable-cxx" ;;
     335    avr|bfin|tic4x) ENABLE_RTEMS_CXX="--disable-cxx" ;;
     336    *)              ENABLE_RTEMS_CXX="--enable-cxx" ;;
    315337  esac
    316338else
     
    556578      posix|bare*) ;;
    557579      *)
    558         # Build non-networked application level tests
    559         for suite in examples class-examples
     580        if [ -d ../examples-v2 ] ; then
     581          SUITES=examples-v2
     582        else
     583          echo "WARNING! examples-v2 not found"
     584        fi
     585
     586        if [ -d ../class-examples ] ; then
     587          SUITES=class-examples
     588        else
     589          echo "WARNING! class-examples not found"
     590        fi
     591
     592        if [ -d ../examples ] ; then
     593          SUITES=examples
     594        else
     595          echo "WARNING! examples not found"
     596        fi
     597
     598        if [ ${ENABLE_RTEMS_TCPIP} = yes ] ; then
     599          if [ -d ../network-demos ] ; then
     600            SUITES="${SUITES} network-demos"
     601          fi
     602        fi
     603
     604        # Build application level tests that use "make"
     605        for suite in examples-v2
    560606        do
    561607          cd ..
     
    587633          check_fatal $? "failed to build add on on ${BSP_TO_TEST}."
    588634
    589 
    590         fi
    591 
    592         if [ ${ENABLE_RTEMS_TCPIP} = yes ] ; then
    593           suite=network-demos
    594           cd ../network-demos
    595           check_fatal $? "failed cd to network-demos."
    596 
    597           RTEMS_MAKEFILE_PATH=${INSTALL_POINT}/${target}/${BSP_TO_TEST} \
    598              ${MAKE} ${MAKE_DEBUG_ARG} clean
    599           check_fatal $? "failed 1st clean ${suite} on ${BSP_TO_TEST}."
    600 
    601           RTEMS_MAKEFILE_PATH=${INSTALL_POINT}/${target}/${BSP_TO_TEST} \
    602              ${MAKE} ${MAKE_DEBUG_ARG}
    603           check_fatal $? "failed ${suite} on ${BSP_TO_TEST}."
    604 
    605           RTEMS_MAKEFILE_PATH=${INSTALL_POINT}/${target}/${BSP_TO_TEST} \
    606              ${MAKE} ${MAKE_DEBUG_ARG} clean
    607           check_fatal $? "failed clean ${suite} on ${BSP_TO_TEST}."
    608635        fi
    609636
Note: See TracChangeset for help on using the changeset viewer.