[m-rev.] diff: enable tests/valid/agc* for hl*.agc* grades

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Oct 22 17:29:21 AEST 2002


Estimated hours taken: 0.25
Branches: main

tests/valid/Mmakefile:
	Enable the agc_* tests for hl*.agc* grades, since they now pass.

Workspace: /mnt/roy/fjh/traveller/mercury
Index: tests/valid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/valid/Mmakefile,v
retrieving revision 1.113
diff -u -d -r1.113 Mmakefile
--- tests/valid/Mmakefile	2002/09/25 06:49:43	1.113
+++ tests/valid/Mmakefile	2002/10/22 07:23:36
@@ -188,8 +188,10 @@
 # XXX We also don't pass this one (see the comments in it for details):
 #	mode_selection
 
-# The agc.* tests don't yet work in --high-level-code grades.
-ifneq "$(findstring hl,$(GRADE))" ""
+# The agc.* tests don't work in --high-level-code grades,
+# except hl*.agc*, because they require grade-specific header
+# files to be installed.
+ifeq "$(findstring hl,$(GRADE))$(findstring .agc,$(GRADE))" "hl"
 	PROGS0 = $(TYPECLASS_PROGS) $(OTHER_PROGS)
 else
 	PROGS0 = $(AGC_PROGS) $(TYPECLASS_PROGS) $(OTHER_PROGS)

-- 
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