[m-rev.] diff: disable debugger tests for il* and java* grades

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Oct 17 22:48:33 AEST 2002


Estimated hours taken: 0.25
Branches: main

Fix some spurious test case failures in grade `ilc'.

tests/debugger/Mmakefile:
tests/debugger/declarative/Mmakefile:
	Skip these tests in grades il* and java*,
	just like we do for hl* grades.

Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: tests/debugger/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/Mmakefile,v
retrieving revision 1.89
diff -u -d -r1.89 Mmakefile
--- tests/debugger/Mmakefile	24 Sep 2002 06:37:56 -0000	1.89
+++ tests/debugger/Mmakefile	17 Oct 2002 12:40:33 -0000
@@ -100,8 +100,9 @@
 ALL_RETRY_PROGS = $(RETRY_PROGS) $(INTERACTIVE_PROGS)
 ALL_NONRETRY_PROGS = $(NONRETRY_PROGS) $(SENSITIVE_PROGS) $(SHALLOW_PROGS)
 
-# Debugging doesn't yet don't work in MLDS grades (hl*), and the retry command
-# doesn't and will not work in deep profiling grades (profdeep).
+# Debugging doesn't yet don't work in MLDS grades (hl*, il*, and java),
+# and the retry command doesn't and will not work in deep profiling
+# grades (profdeep).
 # Also base grades `jump' and `fast' cannot be used with
 # stack layouts (which are required for tracing).
 
@@ -115,7 +116,7 @@
     DEBUGGER_PROGS=$(ALL_NONRETRY_PROGS) $(ALL_RETRY_PROGS)
 endif
 
-ifneq "$(findstring hl,$(GRADE))" ""
+ifneq "$(filter hl% java% il%,$(GRADE))" ""
     PROGS=
 else
     ifneq "$(findstring asm_,$(GRADE))" ""
Index: tests/debugger/declarative/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/declarative/Mmakefile,v
retrieving revision 1.43
diff -u -d -r1.43 Mmakefile
--- tests/debugger/declarative/Mmakefile	3 Oct 2002 07:34:37 -0000	1.43
+++ tests/debugger/declarative/Mmakefile	17 Oct 2002 12:44:54 -0000
@@ -61,13 +61,14 @@
     SOLUTIONS_INP=solutions.inp
 endif
 
-# Debugging does not work in MLDS (hl*) and deep profiling (profdeep) grades.
+# Debugging does not work in MLDS (hl*, il*, and java*) grades
+# or deep profiling (profdeep) grades.
 # Base grades `jump' and `fast' cannot be used with
 # stack layouts (which are required for tracing).
 # Currently, declarative debugging does not work in `rt' grades.
 # Also, declarative debugging only works in `.gc' grades.
 
-ifeq "$(findstring hl,$(GRADE))$(findstring profdeep,$(GRADE))" ""
+ifeq "$(filter hl% il% java%,$(GRADE))$(findstring profdeep,$(GRADE))" ""
     ifneq "$(findstring .gc,$(GRADE))" ""
         ifneq "$(findstring rt,$(GRADE))" ""
 	    PROGS=

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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