diff: disable typeclass tests in tests/valid
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Sep 21 21:26:50 AEST 1998
tests/valid/Mmakefile:
Disable the typeclass related tests in `jump.*' and `fast.*'
grades, since the `func_method.m' tests was failing in those
grades due to the initializer for the base_typeclass_info
containing a pointer and hence being non-const in those grades,
resulting in an error from gcc.
Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/tests/valid/Mmakefile,v
retrieving revision 1.24
diff -u -u -r1.24 Mmakefile
--- Mmakefile 1998/09/10 06:30:20 1.24
+++ Mmakefile 1998/09/21 11:21:18
@@ -15,6 +15,11 @@
agc_unbound_typevars2.m \
agc_unused_in.m
+TYPECLASS_SOURCES= \
+ func_method.m \
+ instance_superclass.m \
+ instance_unconstrained_tvar.m
+
OTHER_SOURCES= \
compl_unify_bug.m \
complicated_unify.m \
@@ -33,7 +38,6 @@
fail_ite.m \
followcode_det_problem.m \
func_int_bug_main.m \
- func_method.m \
headvar_not_found.m \
higher_order.m \
higher_order2.m \
@@ -45,8 +49,6 @@
indexing.m \
inhibit_warn_test.m \
inlining_bug.m \
- instance_superclass.m \
- instance_unconstrained_tvar.m \
intermod_lambda.m \
intermod_test.m \
lambda_inference.m\
@@ -106,10 +108,10 @@
# Base grades `jump' and `fast'
-# cannot be used with accurate GC
+# cannot be used with accurate GC or type classes
ifneq "$(findstring asm_,$(GRADE))" ""
- SOURCES=$(AGC_SOURCES) $(OTHER_SOURCES)
+ SOURCES=$(AGC_SOURCES) $(TYPECLASS_SOURCES) $(OTHER_SOURCES)
else
ifneq "$(findstring jump,$(GRADE))" ""
SOURCES=$(OTHER_SOURCES)
@@ -117,7 +119,7 @@
ifneq "$(findstring fast,$(GRADE))" ""
SOURCES=$(OTHER_SOURCES)
else
- SOURCES=$(AGC_SOURCES) $(OTHER_SOURCES)
+ SOURCES=$(AGC_SOURCES) $(TYPECLASS_SOURCES) $(OTHER_SOURCES)
endif
endif
endif
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list