diff: disable typeclass tests in jump grades

David Glen JEFFERY dgj at cs.mu.OZ.AU
Tue Jul 21 15:50:54 AEST 1998


Hi Fergus,

Could you review this, please?
------------------------------------------------------------

Estimated hours taken: 1/2

Disable the typeclass tests in jump grade since we cannot use static code
initialisers. I have an uncommitted partial fix to this. Unfortunately, making
it a proper fix will involve making all the initialisation code do two passes,
so I'm just disabling the tests for now.

tests/hard_coded/typeclasses/Mmakefile:
	Don't do anything in jump grades.

Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/tests/hard_coded/typeclasses/Mmakefile,v
retrieving revision 1.7
diff -u -t -r1.7 Mmakefile
--- Mmakefile	1998/07/08 20:59:07	1.7
+++ Mmakefile	1998/07/21 05:38:58
@@ -6,7 +6,7 @@
 
 #-----------------------------------------------------------------------------#
 
-PROGS=  \
+SOURCES=        \
         constrained_lambda \
         extract_typeinfo \
         existential_type_classes \
@@ -24,6 +24,15 @@
         superclass_call \
         test_default_func_mode \
         typeclass_test_6
+
+# These tests are all failing in jump grades b/c we can't use static code
+# initialisers.
+ifneq "$(findstring jump,$(GRADE))" ""
+    PROGS=
+else
+    PROGS=$(SOURCES)
+endif
+
 
 # implied_instance_missing_constraint is not yet included as there is a bug
 # stopping it from working.


love and cuddles,
dgj
-- 
David Jeffery (dgj at cs.mu.oz.au) |  Marge: Did you just call everyone "chicken"?
PhD student,                    |  Homer: Noooo.  I swear on this Bible!
Department of Computer Science  |  Marge: That's not a Bible; that's a book of
University of Melbourne         |         carpet samples!
Australia                       |  Homer: Ooooh... Fuzzy.



More information about the developers mailing list