[m-rev.] diff: don't use non-installed grades in tests/valid
Simon Taylor
stayl at cs.mu.OZ.AU
Sat Jun 1 18:35:50 AEST 2002
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).
Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/valid/Mmakefile,v
retrieving revision 1.102
diff -u -u -r1.102 Mmakefile
--- Mmakefile 14 May 2002 14:34:41 -0000 1.102
+++ Mmakefile 1 Jun 2002 08:21:59 -0000
@@ -242,14 +242,25 @@
# some regression tests only failed with particular options enabled
# (please keep these lists sorted)
+# When compiling using the installed libraries, setting GRADEFLAGS may
+# may cause mgnuc to look for the `.mih' files for a non-installed grade.
+# 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),)
+GRADEFLAGS-complex_failure = --use-trail
+GRADEFLAGS-semi_fail_in_non_ite = --use-trail
+endif
+
+# The `agc*' tests currently aren't run in grades for which `.mih'
+# files are created, and no header files are generated in `il' grades,
+# so it's OK to set GRADEFLAGS for these tests.
GRADEFLAGS-agc_graph = --gc accurate
GRADEFLAGS-agc_ho_pred = --gc accurate
GRADEFLAGS-agc_ite = --gc accurate
GRADEFLAGS-agc_unbound_typevars = --gc accurate
GRADEFLAGS-agc_unbound_typevars2 = --gc accurate
GRADEFLAGS-agc_unused_in = --gc accurate
-GRADEFLAGS-complex_failure = --use-trail
-GRADEFLAGS-semi_fail_in_non_ite = --use-trail
GRADEFLAGS-foreign_type_spec = --grade il
GRADEFLAGS-foreign_type_spec.foreign = --grade il
--------------------------------------------------------------------------
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