diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-21 12:41:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-21 12:41:37 +0000 |
commit | 288a6fbf6dd0dd728d28db838c1dfc1df0311161 (patch) | |
tree | d592aa53f854caeb5967b501f7b5d8ca3f308eb8 /gcc/test_driver | |
parent | 64b459b59cae45e9b6988779b85d2a0b228c63d0 (diff) |
2010-07-21 Vinu Rajashekhar <vinutheraj@gmail.com>
* do_one, rundeja, test_driver: Add Go support. Plus some cleanup from
Joel.
Diffstat (limited to 'gcc/test_driver')
-rwxr-xr-x | gcc/test_driver | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/test_driver b/gcc/test_driver index d39fb55..7187b37 100755 --- a/gcc/test_driver +++ b/gcc/test_driver @@ -44,6 +44,7 @@ cat <<EOF do_one [options] CPU .. CPU -A - enable clean, native, and update -a - build Ada (default=yes) + -G - build GCC Go (default=yes) -c - clean install point (also installs auto tools) -m - mail results to lists (default=yes) -n - build native @@ -60,6 +61,7 @@ doUpdateRTEMS="no" doNative="no" verbose="no" doAda="yes" +doGccGo="yes" doMail="yes" doTests="yes" @@ -72,6 +74,7 @@ do doUpdateRTEMS=`toggle ${doUpdateRTEMS}` ;; a) doAda=`toggle ${doAda}` ;; + G) doGccGo=`toggle ${doGccGo}` ;; c) doCleanInstallPoint=`toggle ${doCleanInstallPoint}` ;; m) doMail=`toggle ${doMail}` ;; n) doNative=`toggle ${doNative}` ;; @@ -105,7 +108,8 @@ if [ ${verbose} = "yes" ] ; then echo "Install Native: " ${doNative} echo "Update Tool Source: " ${doUpdateTools} echo "Update RTEMS: " ${doUpdateRTEMS} - echo "Build Ada " ${doAda} + echo "Build Ada: " ${doAda} + echo "Build GCC Go: " ${doGccGo} echo "Email Results: " ${doMail} echo "Run Tests: " ${doTests} if [ "X${CPUs}" = "X" ] ; then @@ -118,6 +122,7 @@ fi test ${doMail} = "no" && mailArg="-M" test ${doTests} = "yes" && testArg="-T" test ${doAda} = "yes" && adaArg="-a" +test ${doGccGo} = "yes" && gccgoArg="-G" start=`date` echo Started at: ${start} @@ -215,7 +220,7 @@ do_cpus() esac doOne=${SCRIPTDIR}/gcc/do_one - time sh -x ${doOne} -v -b -D -1 -d -r ${adaArg} ${mailArg} ${testArg} \ + time sh -x ${doOne} -v -b -D -1 -d -r ${gccgoArg} ${adaArg} ${mailArg} ${testArg} \ ${cpu} ${bsp} >${BASEDIR}/${bsp}.log 2>&1 echo $? done |