[m-dev.] diff: fixes for accumulator tests
Peter Ross
petdr at cs.mu.OZ.AU
Mon Feb 21 12:31:22 AEDT 2000
Hi,
===================================================================
Estimated hours taken: 0.5
tests/general/accumulator/Mmakefile:
The tests were failing .debug grades, because LCO was getting turned
off. Turn it back on by passing '--trace-optimized'.
tests/general/accumulator/runtests:
Add "**" to the error message about the tests not producing the
correct output, so that these error messages will show up when you
do "fgrep '**'" on the test output.
Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/tests/general/accumulator/Mmakefile,v
retrieving revision 1.8
diff -u -r1.8 Mmakefile
--- Mmakefile 2000/02/11 07:17:23 1.8
+++ Mmakefile 2000/02/21 01:11:58
@@ -36,8 +36,8 @@
ACC_FLAGS = -d accum --introduce-accumulators --optimize-constructor-last-call \
--intermodule-optimization
- # Optimizations to turn off.
-OPT_FLAGS = --no-optimize-unused-args
+ # Optimizations to turn off/on.
+OPT_FLAGS = --no-optimize-unused-args --trace-optimized
# Ensure that the accumulator introduction flags are passed
# after EXTRA_MCFLAGS, so that we can override things set in
Index: runtests
===================================================================
RCS file: /home/staff/zs/imp/tests/general/accumulator/runtests,v
retrieving revision 1.7
diff -u -r1.7 runtests
--- runtests 2000/02/20 03:29:37 1.7
+++ runtests 2000/02/21 01:27:35
@@ -42,8 +42,8 @@
. ../../shutdown
exit 0
else
- echo "the tests in the general/accumulator directory failed"
- echo "as some test cases didn't produce the correct output"
+ echo "** the tests in the general/accumulator directory failed"
+ echo "** as some test cases didn't produce the correct output"
echo "mmakeopts=$mmakeopts"
echo "the differences are:"
cat .allres
----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list