[m-rev.] diff: disable agc tests for hl grades

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Dec 29 17:37:26 AEDT 2001


Estimated hours taken: 0.1
Branches: main

tests/valid/Mmakefile:
	Disable the accurate GC tests in --high-level-code grades,
	since accurate GC is not yet supported for the high level
	back-end.

Workspace: /home/earth/fjh/ws-earth3/mercury
Index: tests/valid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/valid/Mmakefile,v
retrieving revision 1.92
diff -u -d -r1.92 Mmakefile
--- tests/valid/Mmakefile	2 Oct 2001 13:54:02 -0000	1.92
+++ tests/valid/Mmakefile	29 Dec 2001 06:35:25 -0000
@@ -176,10 +176,12 @@
 # XXX We also don't pass this one (see the comments in it for details):
 #	mode_selection.m
 
-# There used to be problems with compiling typeclass
-# and AGC stuff in grades jump.* and fast.*, but they should
-# be long since fixed now.
-SOURCES0 = $(AGC_SOURCES) $(TYPECLASS_SOURCES) $(OTHER_SOURCES)
+# The agc.* tests don't yet work in --high-level-code grades.
+ifneq "$(findstring hl,$(GRADE))" ""
+	SOURCES0 = $(TYPECLASS_SOURCES) $(OTHER_SOURCES)
+else
+	SOURCES0 = $(AGC_SOURCES) $(TYPECLASS_SOURCES) $(OTHER_SOURCES)
+endif
 
 # Base grades `jump' and `fast'
 # cannot be used with `--no-special-preds'

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