Changeset d69d629 in rtems-testing


Ignore:
Timestamp:
Apr 29, 2010, 7:54:27 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
9ecf50a
Parents:
c1a3cbc
Message:

2010-04-29 Joel Sherrill <joel.sherrill@…>

  • do_one, test_driver: Add more arguments. Remove early exit.
Location:
gcc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gcc/ChangeLog

    rc1a3cbc rd69d629  
     12010-04-29      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * do_one, test_driver: Add more arguments. Remove early exit.
     4
    152010-04-13      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • gcc/do_one

    rc1a3cbc rd69d629  
    295295      mkdir b-binutils-${cpu}
    296296      cd b-binutils-${cpu}
    297       (${BINUTILSDIR}/configure --target=${TARGET} --prefix=$INSTALL && \
     297      (${BINUTILSDIR}/configure --target=${TARGET} --prefix=$INSTALL \
     298        --disable-werror && \
    298299        make ${MAKEJOBS} && make install) >${LOGDIR}/${cpu}-binutils.log 2>&1
    299300      if [ $? -ne 0 ] ; then
  • gcc/test_driver

    rc1a3cbc rd69d629  
    4343cat <<EOF
    4444do_one [options] CPU ..  CPU
     45  -A - enable clean, native, and update
     46  -a - build Ada (default=yes)
    4547  -c - clean install point (also installs auto tools)
     48  -m - mail results to lists (default=yes)
     49  -n - build native
     50  -T - run tests (default=yes)
    4651  -u - update GNU source if version from CVS/SVN
    4752  -U - update RTEMS source if version from CVS/SVN (will bootstrap)
     
    5560doNative="no"
    5661verbose="no"
    57 
    58 while getopts AcnuUv OPT
     62doAda="yes"
     63doMail="yes"
     64doTests="yes"
     65
     66while getopts AacmnuUv OPT
    5967do
    6068  case "$OPT" in
     
    6472       doUpdateRTEMS=`toggle ${doUpdateRTEMS}`
    6573       ;;
     74    a) doAda=`toggle ${doAda}` ;;
    6675    c) doCleanInstallPoint=`toggle ${doCleanInstallPoint}` ;;
     76    m) doMail=`toggle ${doMail}` ;;
    6777    n) doNative=`toggle ${doNative}` ;;
     78    T) doTests=`toggle ${doTests}` ;;
    6879    u) doUpdateTools=`toggle ${doUpdateTools}` ;;
    6980    U) doUpdateRTEMS=`toggle ${doUpdateRTEMS}` ;;
     
    95106  echo "Update Tool Source:  " ${doUpdateTools}
    96107  echo "Update RTEMS:        " ${doUpdateRTEMS}
    97   echo "CPUs to Build:       " ${CPUs}
    98 fi
     108  echo "Build Ada            " ${doAda}
     109  echo "Email Results:       " ${doMail}
     110  echo "Run Tests:           " ${doTests}
     111  if [ X${CPUs} = X ] ; then
     112    echo "CPUs to Build:       " ALL
     113  else
     114    echo "CPUs to Build:       " ${CPUs}
     115  fi
     116fi
     117
     118test ${doMail}  = "no"   && mailArg="-M"
     119test ${doTests} = "yes" && testArg="-T"
     120test ${doAda}   = "yes" && adaArg="-a"
    99121
    100122start=`date`
     
    168190do_cpus()
    169191{
    170   tests=-T
    171 
    172192  bsp=
    173193
     
    196216
    197217    doOne=${SCRIPTDIR}/gcc/do_one
    198     # Everything
    199     # -M -> do not mail
    200     #time sh -x ${doOne} -v -d -A ${tests} \
    201 #       ${cpu} ${bsp} >${BASEDIR}/${bsp}.log 2>&1
    202     # Just C/C++, no clean up, no mail
    203     time sh -x ${doOne} -v -b -D -1 -d -M -r ${tests} \
     218    time sh -x ${doOne} -v -b -D -1 -d -r ${adaArg} ${mailArg} ${testArg} \
    204219        ${cpu} ${bsp} >${BASEDIR}/${bsp}.log 2>&1
    205     # Just C/C++
    206     #time sh -x ${doOne} -v -1 -r -g ${tests}\
    207     #     ${cpu} ${bsp} >${BASEDIR}/${bsp}.log 2>&1
    208220    echo $?
    209221  done
     
    215227
    216228update_gcc
    217 exit 0
    218229
    219230if [ ${doCleanInstallPoint} = "yes" ] ; then
Note: See TracChangeset for help on using the changeset viewer.