diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-21 18:59:05 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-21 18:59:05 +0000 |
commit | c11a3f5e31b2bc2837267cef4835d292f2b388af (patch) | |
tree | 6a06315b55d963a3e7b9ec00263d4383d063fccf /contrib | |
parent | 154b5e3af6e944f8a6019c0037738d798dd39cd1 (diff) | |
download | gcc-c11a3f5e31b2bc2837267cef4835d292f2b388af.tar.gz |
* gcc_build: Fix handling of -t option. Add -x option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70658 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_build | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 8f353e10055..f472267833c 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2003-08-21 Mark Mitchell <mark@codesourcery.com> + + * gcc_build: Fix handling of -t option. Add -x option. + 2003-07-31 Matt Kraai <kraai@alumni.cmu.edu> * texi2pod.pl: Remove extra line. diff --git a/contrib/gcc_build b/contrib/gcc_build index 21379fb9de1..b36685eeea3 100755 --- a/contrib/gcc_build +++ b/contrib/gcc_build @@ -66,6 +66,7 @@ gcc_build [-c configure_options] [-u username] [-p protocol] [-t tarfile] + [-x make_check_options] [bootstrap] [build] [checkout] @@ -174,7 +175,7 @@ test_gcc() { changedir ${OBJDIR} echo "Running tests... This will take a while." - ${MAKE} -k check + eval \${MAKE} -k ${MAKE_CHECK_OPTIONS} check ${DESTINATION}/contrib/test_summary } @@ -233,8 +234,10 @@ TARFILE="${HOME}/dev/gcc.tgz" CONFIGURE_OPTIONS= # The `make' program. MAKE=${MAKE:-make} -# Options to pass to make. +# Options to pass to "make bootstrap". MAKE_BOOTSTRAP_OPTIONS= +# Options to pass to "make check". +MAKE_CHECK_OPTIONS= # Modes of operation BOOTSTRAP=0 @@ -250,14 +253,15 @@ UPDATE=0 ######################################################################## # Parse the options. -while getopts "c:d:m:o:p:t:u:" ARG; do +while getopts "c:d:m:o:p:t:u:x:" ARG; do case $ARG in c) CONFIGURE_OPTIONS="${OPTARG}";; d) DESTINATION="${OPTARG}";; m) MAKE_BOOTSTRAP_OPTIONS="${OPTARG}";; o) OBJDIR="${OPTARG}";; p) CVS_PROTOCOL="${OPTARG}";; - t) CVS_TARGFILE="${OPTARG}";; + t) TARFILE="${OPTARG}";; + x) MAKE_CHECK_OPTIONS="${OPTARG}";; u) CVS_USERNAME="${OPTARG}";; \?) usage;; esac |