1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00
Commit graph

26 commits

Author SHA1 Message Date
Richard Brooksby
080d135eec Catch up merge from master sources.
Copied from Perforce
 Change: 189088
 ServerID: perforce.ravenbrook.com
2016-02-03 16:56:04 +00:00
Richard Brooksby
5dccd2e006 Catch-up merge from masters.
Copied from Perforce
 Change: 188928
 ServerID: perforce.ravenbrook.com
2016-01-20 11:04:09 +00:00
Gareth Rees
e84a0670d7 Test case function/228.c is passing.
Copied from Perforce
 Change: 188123
 ServerID: perforce.ravenbrook.com
2015-08-11 08:35:53 +01:00
Gareth Rees
7dee7f10ea New test case 231: create/configure arena with too-small commit limit.
Copied from Perforce
 Change: 188118
 ServerID: perforce.ravenbrook.com
2015-08-10 20:29:21 +01:00
Gareth Rees
5960e2fd77 Testsets/conerr now passes.
Copied from Perforce
 Change: 187950
 ServerID: perforce.ravenbrook.com
2015-06-15 22:59:14 +01:00
Gareth Rees
e512989019 Argerr testset now passes.
Copied from Perforce
 Change: 187948
 ServerID: perforce.ravenbrook.com
2015-06-15 22:21:52 +01:00
Gareth Rees
9926492d9a Add a section to the guide explaining how to implement malloc and free.
Copied from Perforce
 Change: 187399
 ServerID: perforce.ravenbrook.com
2014-10-25 22:31:07 +01:00
Gareth Rees
eced8cbdad Mmqa test function/227.c now passes.
Update test README to mention which function to breakpoint.

Copied from Perforce
 Change: 187397
 ServerID: perforce.ravenbrook.com
2014-10-25 20:03:44 +01:00
Gareth Rees
c89ce2ba0b Get the mmqa conerr tests working:
* Make sure all the test build and run.
* Add output specifications to the passing tests.
* New testset/conerr runs them all.

Copied from Perforce
 Change: 187248
 ServerID: perforce.ravenbrook.com
2014-10-13 21:34:12 +01:00
Gareth Rees
6367f5c299 Get the mmqa argerr tests working:
* Make sure all the test build and run.
* Add output specifications to the passing tests.
* New testset/argerr runs them all.

Copied from Perforce
 Change: 187245
 ServerID: perforce.ravenbrook.com
2014-10-13 18:35:11 +01:00
Gareth Rees
42633ca624 Turn off the spare memory on the mvff pool so that it returns freed memory to the arena immediately.
Free the initial allocations so that the result determination is accurate.

Copied from Perforce
 Change: 187206
 ServerID: perforce.ravenbrook.com
2014-10-11 00:57:28 +01:00
Gareth Rees
34c8efce22 Specifying assertcond rather than assertline is likely to be more robust against code changes.
Copied from Perforce
 Change: 187203
 ServerID: perforce.ravenbrook.com
2014-10-10 22:55:48 +01:00
Gareth Rees
18a618cfe1 Need to take spare committed memory into account when checking that memory usage hasn't gone up after a collection.
Copied from Perforce
 Change: 187202
 ServerID: perforce.ravenbrook.com
2014-10-10 22:43:07 +01:00
Gareth Rees
28ceede8dc Job003495 is fixed, so mmqa test function/171.c now passes.
Reduce workload in function/171.c by a factor of 10 so that it completes in a reasonable amount of time.

Copied from Perforce
 Change: 187194
 ServerID: perforce.ravenbrook.com
2014-10-10 17:35:59 +01:00
Gareth Rees
92fceb127f Job003739 is fixed, so mmqa test function/51.c passes.
Copied from Perforce
 Change: 187192
 ServerID: perforce.ravenbrook.com
2014-10-10 17:21:36 +01:00
Gareth Rees
1276a299d3 Update the record of passing test cases.
Copied from Perforce
 Change: 187183
 ServerID: perforce.ravenbrook.com
2014-10-10 14:07:13 +01:00
Gareth Rees
05ac242c57 If you try to create a client arena that's too small for the full complement of zones, return mps_res_memory instead of asserting.
If you try to create a virtual memory arena that's too small for the full complement of zones, round up the size to the minimum instead of asserting.

Copied from Perforce
 Change: 187164
 ServerID: perforce.ravenbrook.com
2014-10-08 22:16:56 +01:00
Gareth Rees
97fd4f2d85 Fix many mmqa test cases:
* Use commit limit to test exhaustion instead of trying to exhaust virtual memory.
* Use exact roots where possible so that we don't have to worry about local variables pinning down memory.
* Reduce sizes and iterations so that tests complete in a reasonable amount of time.
* Use "MVT" instead of "MV2".
Update the list of passing test cases.

Copied from Perforce
 Change: 186035
 ServerID: perforce.ravenbrook.com
2014-05-12 17:13:00 +01:00
Gareth Rees
8f9c8f777b Test cases must call mps_arena_park before mps_chain_destroy.
Reduce the amount of work done by some test cases, to make the suite easier to run.
Update the list of passing test cases.

Copied from Perforce
 Change: 186030
 ServerID: perforce.ravenbrook.com
2014-05-12 15:58:16 +01:00
Gareth Rees
3251845ead Update passing list and release notes to reflect job003496 fix.
Copied from Perforce
 Change: 185533
 ServerID: perforce.ravenbrook.com
2014-04-15 00:18:29 +01:00
Gareth Rees
474cff250d Mmqa test case function/46.c now passes; update passing.
Copied from Perforce
 Change: 185236
 ServerID: perforce.ravenbrook.com
2014-04-04 22:00:39 +01:00
Gareth Rees
003a16f3c9 Modernize and fix more test cases:
* Missing mps_chain_destroy in function/132.
* Need to use platform alignment in the MVFF test cases (function/163, function/164, function/165, function/167, function/170)
* Avoid type pun in function/226.
Update testsets/passing accordingly.

Copied from Perforce
 Change: 182262
 ServerID: perforce.ravenbrook.com
2013-05-27 13:38:04 +01:00
Gareth Rees
81a10327c0 Status of mmqa function tests on os x.
Copied from Perforce
 Change: 182238
 ServerID: perforce.ravenbrook.com
2013-05-25 23:05:00 +01:00
Gareth Rees
e1a70a73db Long delayed maintenance of test suite:
$HopeName$ -> $Id$
space -> arena
mps_arena_create now takes three arguments
/usr/local/perl -> /usr/bin/perl -w
Missing #include <stdio.h> in several tests
Bogus closedir(DIR); in script/clib

Copied from Perforce
 Change: 182199
 ServerID: perforce.ravenbrook.com
2013-05-25 10:33:30 +01:00
Nick Barnes
34c1658aac Fix up mps documents and delete some scriptworks-specific stuff.
Copied from Perforce
 Change: 30252
 ServerID: perforce.ravenbrook.com
2002-06-18 14:59:14 +01:00
Nick Barnes
7acfca905d Branch imports for masters.
Copied from Perforce
 Change: 23678
 ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00