[m-dev.] diff: run nightly tests on earth.cs.mu.oz.au

Simon TAYLOR stayl at earth.cs.mu.oz.au
Thu Mar 1 22:59:50 AEDT 2001



Estimated hours taken: 0.2

tools/run_all_tests_from_cron:
tools/test_mercury:
	Run the nightly tests on earth.cs.mu.oz.au, in
	particular testing inter-module optimization.

Index: run_all_tests_from_cron
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.25
diff -u -u -r1.25 run_all_tests_from_cron
--- run_all_tests_from_cron	2001/02/07 08:20:55	1.25
+++ run_all_tests_from_cron	2001/03/01 11:44:36
@@ -39,12 +39,13 @@
 	ender)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
 	roy)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
 	venus)		ARCH=i686	FULLARCH=i686-pc-linux-gnu ;;
+	earth)		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) mail=/usr/bin/mail ;;
+	hydra|ender|roy|venus|earth) mail=/usr/bin/mail ;;
 	*)		mail=/bin/mail ;;
 esac
 
Index: test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.140
diff -u -u -r1.140 test_mercury
--- test_mercury	2001/02/27 07:17:52	1.140
+++ test_mercury	2001/03/01 11:50:16
@@ -128,6 +128,7 @@
 				gcc)	OPTIMIZE=-O5 ;;
 				*)	OPTIMIZE=-O2 ;;
 			esac ;;
+	earth)		OPTIMIZE="-O5 --intermodule-optimization" ;;
 	kryten) 	OPTIMIZE=-O1 ;;	# currently not used
 	rimmer) 	OPTIMIZE=-O1 ;; # currently not used
 esac
@@ -172,7 +173,7 @@
 DIR=$TESTDIR/test_dirs/$HOST
 
 case $HOST in
-	hg|ender|roy|venus) 	
+	hg|ender|roy|venus|earth) 	
 		INSTALL_DIR=/home/$HOST/public/$INSTALL_DIR_NAME/$FULLARCH ;;
 	*)		
 		INSTALL_DIR=/home/mercury/public/$INSTALL_DIR_NAME/$FULLARCH ;;
@@ -223,12 +224,15 @@
 	ender) 		PARALLEL= ;; 	# one CPU
 	roy) 		PARALLEL= ;; 	# one CPU
 	venus) 		PARALLEL= ;; 	# one CPU
+	earth) 		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
+		# is installed there.
 		BOOTSTRAP_MERCURY_COMPILER=/home/$HOST/public/$INSTALL_DIR_NAME/$FULLARCH/lib/mercury/bin/$FULLARCH/mercury_compile
 		;;
 	*)
@@ -382,7 +386,7 @@
 		;;
 esac
 case $HOST in
-	murlibobo|kryten|taifun|quicksilver|hg|hydra|roy|venus|ender)
+	murlibobo|kryten|taifun|quicksilver|hg|hydra|roy|venus|ender|earth)
 		[ -d mercury/extras/clpr/CVS ] ||
 		(cd mercury/extras && cvs checkout $CHECKOUT_OPTS clpr) ||
 			{ false; exit 1; }
@@ -507,7 +511,7 @@
 		# requires --enable-all-grades
 		GRADES="asm_fast.gc.tr asm_fast.tr"
 		;;
-	hg|quicksilver|hydra|ender|kryten|taifun|venus)
+	hg|quicksilver|hydra|ender|kryten|taifun|venus|earth)
 		case $C_COMPILER in
 			gcc)	GRADES="asm_fast.gc.tr" ;;
 			*)	GRADES="" ;;
@@ -635,6 +639,13 @@
 			asm_fast.gc.memprof asm_fast.gc.tr asm_fast.gc.tr.debug
 			asm_fast.par.gc hlc.gc"
 		;;
+
+	earth)	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
@@ -752,6 +763,9 @@
 		;;
 	venus)	
 		fullname=i686-pc-linux-libc2.1-gnu-O5
+		;;
+	earth)	
+		fullname=i686-pc-linux-libc2.1-gnu-O5-intermod
 		;;
 	roy)	
 		fullname=i686-pc-linux-libc2.1-gnu-O4-hlc
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list