Changeset de5954c in rtems-testing


Ignore:
Timestamp:
Nov 4, 2011, 5:05:39 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
5b46ab3
Parents:
301986e
Message:

2011-11-04 Joel Sherrill <joel.sherrilL@…>

  • bit_rtems: Update to handle exe extension more gracefully.
Location:
rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems/ChangeLog

    r301986e rde5954c  
     12011-11-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * bit_rtems: Update to handle exe extension more gracefully.
     4
    152011-07-25      Joel Sherrill <joel.sherrilL@OARcorp.com>
    26
  • rtems/bit_rtems

    r301986e rde5954c  
    138138      #   ;;
    139139      pc386) ENABLE_BSP="--enable-rtemsbsp=pc386 BSP_VIDEO_80x50=1" ;;
    140       sis)
    141          ENABLE_BSP="${ENABLE_BSP} CONSOLE_USE_INTERRUPTS=1"
    142          ;;
     140      # sis) ENABLE_BSP="${ENABLE_BSP} CONSOLE_USE_INTERRUPTS=1" ;;
    143141      *)     ENABLE_BSP=--enable-rtemsbsp="${BSP_TO_TEST}" ;;
    144142    esac
     
    370368
    371369conf_rtems ${TARGET_ARG} ${ENABLE_ARGS} ${ENABLE_BSP} $args
    372 
    373370if [ $? -ne 0 ] ; then
    374371  echo "Unable to configure successfully"
    375372  exit 1
    376373fi
    377 
    378374
    379375build_status=0
     
    425421build_status=$?
    426422
     423case ${target} in
     424  *4.6*|*4.7*|*4.8*) exeext=exe ;;
     425  *)                 exeext=ralf ;;
     426esac
     427
    427428case ${BSP_ARG} in
    428429  multilib)
     
    447448
    448449     mkdir -p ../ticker-executables
    449      find . -name ticker.ralf | while read f
     450     find . -name ticker.${exeext} | while read f
    450451     do
    451452        bsp=`echo $f | cut -d'/' -f4`
    452         cp $f ../ticker-executables/${CPU}-${bsp}-multilib-ticker.ralf
     453        cp $f ../ticker-executables/${CPU}-${bsp}-multilib-ticker.${exeext}
    453454     done
    454455
     
    506507  fi
    507508
    508   # If not multilib, grab the ticker.ralf and save it out
     509  # If not multilib, grab the ticker.${exeext} and save it out
    509510  if [ X${BSP_TO_TEST} != X ] ; then
    510511    mkdir -p ../ticker-executables
    511     cp `find . -name ticker.ralf` \
    512         ../ticker-executables/${CPU}-${BSP_TO_TEST}-ticker.ralf
     512    cp `find . -name ticker.${exeext}` \
     513        ../ticker-executables/${CPU}-${BSP_TO_TEST}-ticker.${exeext}
    513514  fi
    514515
     
    520521    mkdir ${testdir}
    521522    check_fatal $? "failed to mkdir test directory for ${BSP_TO_TEST}."
    522     cp `find . -name "*.ralf"` ${testdir}
     523    cp `find . -name "*.${exeext}"` ${testdir}
    523524
    524525    case ${BSP_TO_TEST} in
     
    542543
    543544    # This should run the tests
    544     ${runner} *.ralf
     545    ${runner} *.${exeext}
    545546
    546547    # Check Logs
Note: See TracChangeset for help on using the changeset viewer.