Update of /cvsroot/nice/tester
In directory sc8-pr-cvs1:/tmp/cvs-serv25051
Modified Files:
Project cvs cvs-master
Added Files:
cvs-pserver
Log Message:
Use make universe instead of make world to make sure the development compiler
can bootstrap itself from scratch.
Split cvs into cvs-master and cvs-pserver.
--- NEW FILE: cvs-pserver ---
#! /bin/sh
# Wrapper for cvs, that retries several times in case of failure
# Usage:
# cvs <module name>
# Try at most 20 times times, in case the cvs server is busy
tries=0
while ! cvs -d:pserver:anonymous@$CVS_SOURCEFORGE:/cvsroot/nice export \
-rHEAD "$@"; do
tries=`expr $tries + 1`
if [ $tries -ge 20 ]; then
# Signal that we failed because of a network problem
exit 1
fi
echo "$tries failures"
sleep 30
done
Index: Project
===================================================================
RCS file: /cvsroot/nice/tester/Project,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Project 25 Jul 2003 14:01:49 -0000 1.7
--- Project 13 Nov 2003 16:57:55 -0000 1.8
***************
*** 5,13 ****
if [ ! -r Nice ]; then
! ../cvs${NICE_MASTER:+-master} Nice || exit 3
wget -O Nice/external/nice-bootstrap.jar http://nice.sf.net/nice.jar || exit 3
fi
! cd Nice && make world
# If we got here, the whole bootstrap process succeeded.
--- 5,13 ----
if [ ! -r Nice ]; then
! ../cvs Nice || exit 3
wget -O Nice/external/nice-bootstrap.jar http://nice.sf.net/nice.jar || exit 3
fi
! cd Nice && make universe
# If we got here, the whole bootstrap process succeeded.
Index: cvs
===================================================================
RCS file: /cvsroot/nice/tester/cvs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cvs 22 Jun 2003 10:10:52 -0000 1.2
--- cvs 13 Nov 2003 16:57:55 -0000 1.3
***************
*** 1,23 ****
#! /bin/sh
! # Wrapper for cvs, that retries seevral times in case of failure
!
! # Usage:
! # cvs <module name>
!
! # Try at most 20 times times, in case the cvs server is busy
! tries=0
!
! while ! cvs -d:pserver:anonymous@$CVS_SOURCEFORGE:/cvsroot/nice export \
! -rHEAD "$@"; do
!
! tries=`expr $tries + 1`
! if [ $tries -ge 20 ]; then
! # Signal that we failed because of a network problem
! exit 1
! fi
! echo "$tries failures"
! sleep 30
! done
--- 1,11 ----
#! /bin/sh
! # Wrapper for cvs, that retries several times in case of failure
! dir="`dirname $0`"
! if [ -n "$NICE_MASTER" ]; then
! $dir/cvs-master "$@"
! else
! $dir/cvs-pserver "$@"
! fi
Index: cvs-master
===================================================================
RCS file: /cvsroot/nice/tester/cvs-master,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** cvs-master 25 Jul 2003 14:01:49 -0000 1.1
--- cvs-master 13 Nov 2003 16:57:55 -0000 1.2
***************
*** 6,9 ****
# cvs <module name>
! CVS_RSH=ssh cvs -d:ext:bonniot@$CVS_SOURCEFORGE:/cvsroot/nice export \
! -rHEAD "$@"
--- 6,9 ----
# cvs <module name>
! CVS_RSH=ssh cvs -d:ext:bonniot@$CVS_SOURCEFORGE:/cvsroot/nice ${2:-export} \
! "${CVS_DATE:--rHEAD}" "$1"
|