trivial diff: test memory profiling
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon May 25 17:49:49 AEST 1998
tools/test_mercury:
tests/benchmark/poly.mprof-exp:
Change the existing test case for memory profiling so that it
actually checks the profile output, rather than just testing
that the profile can be created.
Index: test_mercury
===================================================================
RCS file: /home/staff/zs/imp/mercury/tools/test_mercury,v
retrieving revision 1.68
diff -u -r1.68 test_mercury
--- test_mercury 1998/05/24 07:32:11 1.68
+++ test_mercury 1998/05/24 15:31:11
@@ -412,6 +412,7 @@
EXTRA_MLFLAGS="-static" &&
./poly > poly.$grade.out &&
mprof -v -m -c > poly.$grade.mprof 2>&1 &&
+ diff -c poly.mprof-exp poly.$grade.mprof &&
cp Prof.CallPair poly.$grade.CallPair &&
cp Prof.MemoryWords poly.$grade.MemoryWords &&
cp Prof.MemoryCells poly.$grade.MemoryCells &&
tests/benchmark/poly.mprof-exp:
[new file]
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list