[m-rev.] trivial diff: disable var_test in .rt grades
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Nov 11 00:38:31 AEDT 2002
Branches: main
Estimated hours taken: 0.25
Fix a problems with the trailed_update tests.
extras/trailed_update/tests/Mmakefile:
Disable the `var_test' test in `.rt' grades,
since it uses the `var' module, which doesn't work in `.rt' grades.
Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: extras/trailed_update/tests/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/trailed_update/tests/Mmakefile,v
retrieving revision 1.7
diff -u -d -r1.7 Mmakefile
--- extras/trailed_update/tests/Mmakefile 21 May 2001 06:15:48 -0000 1.7
+++ extras/trailed_update/tests/Mmakefile 10 Nov 2002 13:35:43 -0000
@@ -29,7 +29,13 @@
#-----------------------------------------------------------------------------#
-PROGS = var_test func_trail_test func_trail_test_2
+# The "var_test" program does not work in ".rt" grades,
+# since it uses the "var" module which does not work in ".rt" grades.
+ifeq "$(findstring .rt,$(GRADE))" ".rt"
+PROGS = func_trail_test func_trail_test_2
+else
+PROGS = func_trail_test func_trail_test_2 var_test
+endif
DEPENDS = $(PROGS:%=%.depend)
CS = $(PROGS:%=%.c)
--
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