[m-rev.] diff: disable uci test in .rt grades

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu Apr 17 19:52:35 AEST 2003


tests/debugger/Mmakefile:
	Disable the uci test in reserved tag grades, because of unnecessary
	differences in the expected output.

Zoltan.

cvs diff: Diffing .
Index: Mmakefile
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/debugger/Mmakefile,v
retrieving revision 1.95
diff -u -b -r1.95 Mmakefile
--- Mmakefile	2 Apr 2003 23:01:42 -0000	1.95
+++ Mmakefile	17 Apr 2003 08:24:06 -0000
@@ -36,8 +36,7 @@
 	print_table			\
 	queens_rep			\
 	resume_typeinfos		\
-	type_desc_test			\
-	uci
+	type_desc_test
 
 # This test is currently not useful.
 #	output_term_dep
@@ -114,9 +113,17 @@
 	DEBUG_GRADE_PROGS =
 endif
 
+# The uci test matches its expected output only if the grade supports
+# enumerated types. Reserved tag grades do not.
+ifeq "$(findstring .rt,$(GRADE))" ""
+	ENUM_PROGS = uci
+else 
+	ENUM_PROGS =
+endif
+
 ALL_RETRY_PROGS = $(RETRY_PROGS) $(INTERACTIVE_PROGS)
 ALL_NONRETRY_PROGS = $(NONRETRY_PROGS) $(SENSITIVE_PROGS) \
-			$(SHALLOW_PROGS) $(DEBUG_GRADE_PROGS)
+			$(SHALLOW_PROGS) $(DEBUG_GRADE_PROGS) $(ENUM_PROGS)
 
 # 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
cvs diff: Diffing declarative
--------------------------------------------------------------------------
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