[m-rev.] diff: disable failing lcc tests
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Oct 23 16:20:21 AEST 2002
Estimated hours taken: 0.25
Branches: main
tests/hard_coded/Mmakefile:
Disable a couple of tests for lcc,
since those tests trigger a bug in lcc 4.1.
Workspace: /mnt/roy/fjh/traveller/mercury
Index: tests/hard_coded/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/Mmakefile,v
retrieving revision 1.171
diff -u -d -r1.171 Mmakefile
--- tests/hard_coded/Mmakefile 2002/10/23 05:24:33 1.171
+++ tests/hard_coded/Mmakefile 2002/10/23 06:18:10
@@ -8,7 +8,6 @@
address_of_builtins \
agg \
bidirectional \
- bigtest \
boyer \
c_write_string \
cc_and_non_cc_test \
@@ -123,7 +122,6 @@
reorder_di \
rev_arith \
reverse_arith \
- rnd \
rtc_bug \
rtti_strings \
setjmp_test \
@@ -160,6 +158,15 @@
write_reg1 \
write_reg2
+# These tests trigger a bug in lcc
+ifeq "$(findstring lcc,$(shell $(MGNUC) -v))" "lcc"
+ BROKEN_FOR_LCC_PROGS =
+else
+ BROKEN_FOR_LCC_PROGS = \
+ bigtest \
+ rnd
+endif
+
# These tests require the implementation to support closure layouts
CLOSURE_LAYOUT_PROGS = \
copy_pred \
@@ -248,8 +255,8 @@
endif
endif
-PROGS = $(ORDINARY_PROGS) $(CLOSURE_LAYOUT_PROGS) $(EXCEPTION_PROGS) \
- $(BACKEND_PROGS) $(NONDET_C_PROGS)
+PROGS = $(ORDINARY_PROGS) $(BROKEN_FOR_LCC_PROGS) $(CLOSURE_LAYOUT_PROGS) \
+ $(EXCEPTION_PROGS) $(BACKEND_PROGS) $(NONDET_C_PROGS)
# --split-c-files does not work in the hl* grades (e.g. hlc.gc),
# because it hasn't yet been implemented yet.
--
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