[m-dev.] diff: disable debugger tests for MLDS grades

Fergus Henderson fjh at cs.mu.OZ.AU
Tue May 16 06:06:37 AEST 2000


Estimated hours taken: 0.25

tests/debugger/Mmakefile:
tests/debugger/declarative/Mmakefile:
	Don't run these tests in MLDS (`hl*') grades.

Workspace: /home/pgrad/fjh/ws/hg
Index: tests/debugger/declarative/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/declarative/Mmakefile,v
retrieving revision 1.14
diff -u -d -b -r1.14 Mmakefile
--- tests/debugger/declarative/Mmakefile	2000/05/08 18:16:50	1.14
+++ tests/debugger/declarative/Mmakefile	2000/05/15 18:50:59
@@ -44,29 +44,30 @@
 MLFLAGS = --trace
 C2INITFLAGS = --trace
 
+# Debugging does not work in MLDS (hl*) grades.
 # Base grades `jump' and `fast' cannot be used with
 # stack layouts (which are required for tracing).
 # Also, declarative debugging only works in `.gc' grades.
 
-ifneq "$(findstring asm_,$(GRADE))" ""
+ifneq "$(findstring hl,$(GRADE))" ""
+    PROGS=
+else
     ifneq "$(findstring .gc,$(GRADE))" ""
+        ifneq "$(findstring asm_,$(GRADE))" ""
         PROGS=$(DECLARATIVE_PROGS)
     else
-        PROGS=
-    endif
-else
     ifneq "$(findstring jump,$(GRADE))" ""
         PROGS=
     else
         ifneq "$(findstring fast,$(GRADE))" ""
             PROGS=
         else
-            ifneq "$(findstring .gc,$(GRADE))" ""
                 PROGS=$(DECLARATIVE_PROGS)
-            else
-                PROGS=
             endif
         endif
+        endif
+    else
+        PROGS=
     endif
 endif
 
Index: tests/debugger/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/Mmakefile,v
retrieving revision 1.38
diff -u -d -b -r1.38 Mmakefile
--- tests/debugger/Mmakefile	2000/04/16 06:10:04	1.38
+++ tests/debugger/Mmakefile	2000/05/15 18:39:07
@@ -47,12 +47,16 @@
 GRADEFLAGS-interactive = --pic-reg
 MLFLAGS-interactive = --shared
 
-# Base grades `jump' and `fast' cannot be used with
+# The debugging tests don't work in MLDS grades (hl*).
+# Also base grades `jump' and `fast' cannot be used with
 # stack layouts (which are required for tracing).
 
-ifneq "$(findstring asm_,$(GRADE))" ""
-    PROGS=$(DEBUGGER_PROGS)
+ifneq "$(findstring hl,$(GRADE))" ""
+    PROGS=
 else
+    ifneq "$(findstring asm_,$(GRADE))" ""
+        PROGS=$(DEBUGGER_PROGS)
+    else
     ifneq "$(findstring jump,$(GRADE))" ""
 	PROGS=
     else
@@ -61,6 +65,7 @@
 	else
 	    PROGS=$(DEBUGGER_PROGS)
 	endif
+        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.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list