[m-rev.] diff: run nightly tests on mars

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Thu Apr 12 01:15:11 AEST 2001


Estimated hours taken: 0.2
Branches: main

tools/run_all_tests_from_cron:
tools/test_mercury:
	Run the nightly tests on mars.

Index: tools/run_all_tests_from_cron
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.28
diff -u -r1.28 run_all_tests_from_cron
--- tools/run_all_tests_from_cron	2001/03/11 06:30:16	1.28
+++ tools/run_all_tests_from_cron	2001/04/11 14:47:35
@@ -40,12 +40,13 @@
 	roy)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
 	venus)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
 	earth)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
+	mars)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
 	*)		echo "$0: unknown HOST $HOST" 1>&2; exit 1 ;;
 esac
 	
 case $HOST in
 	kryten|taifun) 	mail="rsh mundook /bin/mail" ;;
-	hydra|ender|roy|venus|earth) mail=/usr/bin/mail ;;
+	hydra|ender|roy|venus|earth|mars) mail=/usr/bin/mail ;;
 	*)		mail=/bin/mail ;;
 esac
 
@@ -77,7 +78,7 @@
 
 DAY=`date '+%e'`
 case $HOST in
-	murlibobo|taifun|hg|hydra)
+	murlibobo|taifun|hg|hydra|mars)
 		#
 		# For these hosts:
 		# On odd-numbered days, test the release branch.
Index: tools/test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.149
diff -u -r1.149 test_mercury
--- tools/test_mercury	2001/04/10 15:37:38	1.149
+++ tools/test_mercury	2001/04/11 14:57:20
@@ -126,6 +126,7 @@
 			# forever to compile with --intermodule-optimization
 			# and --deforestation), so disable it for now.
 	earth)		OPTIMIZE="-O5 --intermodule-optimization --no-deforestation" ;;
+	mars)		OPTIMIZE=-O5 ;;
 	kryten) 	OPTIMIZE=-O1 ;;	# currently not used
 	rimmer) 	OPTIMIZE=-O1 ;; # currently not used
 esac
@@ -170,7 +171,7 @@
 DIR=$TESTDIR/test_dirs/$HOST
 
 case $HOST in
-	hg|ender|roy|venus|earth) 	
+	hg|ender|roy|venus|earth|mars) 	
 		INSTALL_DIR=/home/$HOST/public/$INSTALL_DIR_NAME/$FULLARCH ;;
 	*)		
 		INSTALL_DIR=/home/mercury/public/$INSTALL_DIR_NAME/$FULLARCH ;;
@@ -222,13 +223,14 @@
 	roy) 		PARALLEL= ;; 	# one CPU
 	venus) 		PARALLEL= ;; 	# one CPU
 	earth) 		PARALLEL= ;; 	# one CPU
+	mars) 		PARALLEL= ;; 	# one CPU
 	*)		PARALLEL= ;;
 esac
 
 # version of the mercury compiler to use for bootstrapping
 case $HOST in
-	hg|ender|roy|venus)
-		# XXX Add earth to the list above once a compiler
+	hg|ender|roy|venus|earth)
+		# XXX Add mars to the list above once a compiler
 		# is installed there.
 		BOOTSTRAP_MERCURY_COMPILER=/home/$HOST/public/$INSTALL_DIR_NAME/$FULLARCH/lib/mercury/bin/$FULLARCH/mercury_compile
 		;;
@@ -407,7 +409,7 @@
 		;;
 esac
 case $HOST in
-	murlibobo|kryten|taifun|quicksilver|hg|hydra|roy|venus|ender|earth)
+	murlibobo|kryten|taifun|quicksilver|hg|hydra|roy|venus|ender|earth|mars)
 		[ -d mercury/extras/clpr/CVS ] ||
 		(cd mercury/extras && cvs checkout $CHECKOUT_OPTS clpr) ||
 			{ false; exit 1; }
@@ -556,7 +558,7 @@
 		# requires --enable-all-grades
 		GRADES="asm_fast.gc.tr asm_fast.tr"
 		;;
-	hg|quicksilver|hydra|ender|kryten|taifun|venus|earth)
+	hg|quicksilver|hydra|ender|kryten|taifun|venus|earth|mars)
 		case "$C_COMPILER" in
 			gcc)	GRADES="asm_fast.gc.tr" ;;
 			*)	GRADES="" ;;
@@ -692,6 +694,12 @@
 			hlc.gc hlc.par.gc"
 		;;
 
+	mars)	GRADES="asm_fast.gc asm_fast
+			asm_fast.gc.prof asm_fast.prof
+			asm_fast.gc.memprof asm_fast.gc.tr asm_fast.gc.tr.debug
+			hlc.gc hlc.par.gc"
+		;;
+
 	venus)
 		case "$C_COMPILER" in
 			gcc)	GRADES="asm_fast.gc asm_fast
@@ -827,6 +835,9 @@
 		;;
 	earth)	
 		fullname=i686-pc-linux-libc2.1-gnu-O5-intermod
+		;;
+	mars)	
+		fullname=i686-pc-linux-libc2.1-gnu-O5
 		;;
 	roy)	
 		fullname=i686-pc-linux-libc2.1-gnu-O4-hlc
--------------------------------------------------------------------------
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