[m-dev.] diff: disable lcc test of none.gc.tr.debug

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Mar 11 17:52:46 AEDT 2001


Estimated hours taken: 0.25
Branches: main

tools/test_mercury:
	When using lcc on venus, don't install/test grade none.gc.tr.debug,
	since lcc 4.1 gets an internal error when installing that grade.

Workspace: /home/mercury/public/test_mercury/scripts/mercury
Index: tools/test_mercury
===================================================================
RCS file: /home/staff/zs/imp/mercury/tools/test_mercury,v
retrieving revision 1.145
diff -u -d -r1.145 test_mercury
--- tools/test_mercury	2001/03/11 06:30:16	1.145
+++ tools/test_mercury	2001/03/11 06:49:11
@@ -310,6 +310,19 @@
 			;;
 		esac
 		;;
+	venus)
+		CONFIG_OPTS=""
+		case $C_COMPILER in lcc)
+			# For grade none.gc.tr.debug, lcc 4.1 gets an
+			# internal error when compiling library/hash_table.c.
+			# So we need to disable that grade.
+			INSTALL_LIBGRADES="none 
+				none.gc.prof none.prof none.gc.memprof
+				none.gc.tr
+				hlc.gc hlc.par.gc"
+			;;
+		esac
+		;;
 	*)	
 		CONFIG_OPTS="" ;;
 esac
@@ -682,9 +695,12 @@
 				asm_fast.gc.memprof asm_fast.gc.tr
 				asm_fast.gc.tr.debug
 				hlc.gc hlc.par.gc" ;;
-			*)	GRADES="none.gc none none.gc.prof
+			*)	# We don't test none.gc.tr.debug
+				# because it wasn't installed,
+				# due to lcc 4.1 internal error (see above)
+				GRADES="none.gc none none.gc.prof
 				none.prof none.gc.memprof none.gc.tr
-				none.gc.tr.debug hlc.gc hlc.par.gc" ;;
+				hlc.gc hlc.par.gc" ;;
 		esac
 		;;
 	roy)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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