[m-rev.] for review: do overnight tests on uranus

Julien Fischer juliensf at cs.mu.OZ.AU
Mon Oct 31 14:54:20 AEDT 2005


On Mon, 31 Oct 2005, Ian MacLarty wrote:

> Estimated hours taken: 1
> Branches: main
>
> tools/run_all_tests_from_cron:
> tools/test_mercury:
> 	Add /usr/bin to the PATH so that basic commands like cp can be run.
> 	ulimit doesn't seem to work properly on cygwin, so disable it for
> 	uranus.
> 	Enable nightly builds on uranus.
>

Great.


> Index: tools/run_all_tests_from_cron
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
> retrieving revision 1.67
> diff -u -r1.67 run_all_tests_from_cron
> --- tools/run_all_tests_from_cron	25 Oct 2005 10:17:29 -0000	1.67
> +++ tools/run_all_tests_from_cron	31 Oct 2005 02:42:16 -0000
> @@ -42,6 +42,7 @@
>  PATH="$TOPDIR/mercury-latest/$FULLARCH/bin:$PATH"
>  PATH="$TOPDIR/$HOST:$PATH"
>  PATH="$HOME/bin:$PATH"
> +PATH="$PATH:/usr/bin"
>  export PATH
>
>  CVSROOT=/home/mercury1/repository
> @@ -96,7 +97,7 @@
>  		#
>  		BRANCH=latest
>  	   	;;
> -	   earth|saskervoy|ceres)
> +	   earth|saskervoy|ceres|uranus)
>  		# On odd-numbered days, test the release branch
>  		# On even-numbered days, test the main branch
>  		case $DAY in
> Index: tools/test_mercury
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
> retrieving revision 1.261
> diff -u -r1.261 test_mercury
> --- tools/test_mercury	26 Oct 2005 06:59:51 -0000	1.261
> +++ tools/test_mercury	31 Oct 2005 02:42:16 -0000
> @@ -38,6 +38,7 @@
>  	;;
>  esac
>  PATH="/home/staff/zs/mer/mundroo_arena/bin:$PATH"
> +PATH="$PATH:/usr/bin"
>  export PATH
>
>  # Use NFS if we can, otherwise use anonymous cvs (pserver).
> @@ -62,13 +63,20 @@
>  fi
>
>  # Stop looping tests after 5 minutes of CPU time.
> -ulimit -S -t 300
> -
> -# Allow tests to use up to about 250 Mb of memory
> +# Also allow tests to use up to about 250 Mb of memory
>  # (Most of it should build fine with 128 Mb,
>  # but building the --split-c-files versions of
>  # the libraries needs more, at least for dec-alpha-osf*.)
> -ulimit -S -d 250000
> +case $HOST in
> +	# ulimit doesn't work properly under cygwin, so don't use it on
> +	# uranus.
> +	uranus) ;;
> +	*) 	ulimit -S -t 300
> +		ulimit -S -d 250000
> +		;;
> +esac
> +
> +
>
>  # directories to use
>
> @@ -217,15 +225,14 @@
>  			# if scripts is a symbolic link to a directory.
>  	aral)		OPTIMIZE="-O3" ;;
>  	ceres)		OPTIMIZE="-O5" ;;	# hlc
> +	uranus)		OPTIMIZE="-O3" ;;
>  esac
>
>  # on some systems, the file system we're using does not support links
> -#case $HOST in
> -#	hg)		LN="cp -r"; LN_S="cp -r" ;;
> -#	*)		LN="ln"; LN_S="ln -s" ;;
> -#esac
> -LN="ln"
> -LN_S="ln -s"
> +case $HOST in
> +	uranus)		LN="cp -r"; LN_S="cp -r" ;;
> +	*)		LN="ln"; LN_S="ln -s" ;;
> +esac
>
>  # flags for building the compiler
>  INSTALL_MCFLAGS="$OPTIMIZE --opt-space"
> @@ -272,7 +279,7 @@
>  # So if you modify this list of hosts, you need to also modify
>  # run_all_tests_from_cron.
>  case $HOST in
> -	hg|ender|roy|earth|ceres|aral|jupiter|swordfish|saturn)
> +	hg|ender|roy|earth|ceres|aral|jupiter|swordfish|saturn|uranus)
>  		INSTALL_DIR=/home/$HOST/public/$INSTALL_DIR_NAME/$FULLARCH ;;
>  	*)
>  		INSTALL_DIR=$TOPDIR/$INSTALL_DIR_NAME/$FULLARCH ;;
> @@ -473,6 +480,14 @@
>  					asm_fast.gc.tr.decldebug	\
>  					hlc.gc"
>  		;;
> +	uranus)
> +		CONFIG_OPTS=""
> +		INSTALL_LIBGRADES="asm_fast.gc				\
> +					hlc.gc				\
> +					asm_fast.gc.decldebug		\
> +					asm_fast.gc.tr.debug		\
> +					asm_fast.gc.prof"
> +		;;

uranus should probably just install the standard set of grades, like
saturn does at the moment.

Julien.




--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list