[m-rev.] For review: Use compare-representation for closure args

Julien Fischer juliensf at cs.mu.OZ.AU
Tue Jul 27 02:57:55 AEST 2004


On Sun, 25 Jul 2004, Ian MacLarty wrote:

> tests/hard_coded/closure_arg_comparison.m
> 	Test the bug fix.  Before the fix this program would terminate with
> 	"Mercury runtime: attempt to compare higher-order terms".
>
> tests/hard_coded/closure_arg_comparison.exp
> 	Expected output.

The following diff disables this test case for grades
where compare_represenation/3 is not implemented.

Estimated hours taken: 0.1
Branches: main

tests/hard_coded/Mmakefile:
	Don't run the closure_arg_comparison test Ian
	added the other day if we are testing a grade
	for which compare_representation/3 has not been
	implemented.

Julien.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mmakefile,v
retrieving revision 1.234
diff -u -r1.234 Mmakefile
--- Mmakefile	26 Jul 2004 03:19:28 -0000	1.234
+++ Mmakefile	26 Jul 2004 16:46:38 -0000
@@ -380,6 +380,7 @@

 	BACKEND_PROGS = \
 		$(BACKEND_PROGS_2) \
+		closure_arg_comparison \
 		compare_representation \
 		compare_rep_usereq \
 		stable_foreign \
--------------------------------------------------------------------------
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