[m-rev.] for review: fix tests/valid/Mmakefile
Zoltan Somogyi
zs at cs.mu.OZ.AU
Mon Oct 27 16:36:10 AEDT 2003
For review by Fergus.
Zoltan.
tests/valid/Mmakefile:
Fix a bug in Pete's recent change: the reserve_tag test case wasn't
part of OBJ_PROGS, and thus meant there was no make rule for compiling
its source file.
cvs diff: Diffing .
Index: Mmakefile
===================================================================
RCS file: /home/mercury/mercury1/repository/tests/valid/Mmakefile,v
retrieving revision 1.133
diff -u -b -r1.133 Mmakefile
--- Mmakefile 26 Oct 2003 12:43:34 -0000 1.133
+++ Mmakefile 27 Oct 2003 05:28:24 -0000
@@ -192,13 +192,9 @@
vn_float \
zero_arity
-# The following require that num_tag_bits > 1
-ifeq "$(filter java% il%,$(GRADE))" ""
-RESERVE_TAG= \
+# The following programs require that num_tag_bits > 1
+RESERVE_TAG_PROGS = \
reserve_tag
-else
-RESERVE_TAG=
-endif
# XXX The mode system can't handle the following test cases yet:
# assoc_list_bug
@@ -255,12 +251,18 @@
ifneq "$(filter hl% java% il%,$(GRADE))$(findstring profdeep,$(GRADE))" ""
# We currently don't do any testing in grade java on this directory.
ifneq "$(findstring java,$(GRADE))$" ""
- OBJ_PROGS=
+ PROGS3 =
else
- OBJ_PROGS=$(PROGS2)
+ PROGS3 = $(PROGS2)
endif
else
- OBJ_PROGS=$(PROGS2) $(ADITI_PROGS)
+ PROGS3 = $(PROGS2) $(ADITI_PROGS)
+endif
+
+ifeq "$(filter java% il%,$(GRADE))" ""
+ OBJ_PROGS = $(PROGS3) $(RESERVE_TAG_PROGS)
+else
+ OBJ_PROGS = $(PROGS3)
endif
ifneq "$(findstring profdeep,$(GRADE))$(findstring java,$(GRADE))" ""
@@ -270,9 +272,9 @@
endif
ifneq "$(findstring tsw,$(GRADE))$(findstring tsc,$(GRADE))" ""
- PROGS = $(OBJ_PROGS) $(ALL_RLO_PROGS) $(RESERVE_TAG)
+ PROGS = $(OBJ_PROGS) $(ALL_RLO_PROGS)
else
- PROGS = $(OBJ_PROGS) $(ALL_RLO_PROGS) $(IL_PROGS) $(RESERVE_TAG)
+ PROGS = $(OBJ_PROGS) $(ALL_RLO_PROGS) $(IL_PROGS)
endif
# `mmc --make' doesn't expect subdirectories to appear in targets.
--------------------------------------------------------------------------
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