[m-rev.] diff: don't use non-installed grades in tests/valid

Simon Taylor stayl at cs.mu.OZ.AU
Sat Jun 1 20:59:30 AEST 2002


On 01-Jun-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> Estimated hours taken: 0.1
> Branches: main
> 
> tests/valid/Mmakefile:
> 	Don't set GRADEFLAGS when compiling using the installed libraries,
> 	because it may cause mgnuc to look for the `.mih' files for a
> 	non-installed grade (e.g. hlc.agc.tr).

Estimated hours taken: 0.1
Branches: main

tests/valid/Mmakefile:
	Fix an undefined variable warning caused by my last change.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/valid/Mmakefile,v
retrieving revision 1.103
diff -u -u -r1.103 Mmakefile
--- Mmakefile	1 Jun 2002 08:34:23 -0000	1.103
+++ Mmakefile	1 Jun 2002 10:57:44 -0000
@@ -247,7 +247,7 @@
 # test_mercury runs the tests using the installed libraries, so GRADEFLAGS
 # won't be set, but test_mercury runs the tests in at least one `.tr' grade
 # on all machines, so it isn't a problem.
-ifneq ($(WORKSPACE),)
+ifneq ($(origin WORKSPACE),undefined)
 GRADEFLAGS-complex_failure	= --use-trail
 GRADEFLAGS-semi_fail_in_non_ite	= --use-trail
 endif
--------------------------------------------------------------------------
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