Richard Brooksby
26da5b46b0
Catch-up merge from master sources to branch/2014-10-13/format.
...
Copied from Perforce
Change: 190060
ServerID: perforce.ravenbrook.com
2016-03-15 10:02:21 +00:00
Gareth Rees
69c312d179
Use a regular expression in case the number of built-in pools changes.
...
Copied from Perforce
Change: 190011
ServerID: perforce.ravenbrook.com
2016-03-13 21:49:36 +00:00
Gareth Rees
dfa7354873
Avoid warnings when compiling argerr/{146,147,148}.c with gcc.
...
Test cases conerr/{53,54}.c rely on junk in uninitialized local variables, so ensure that there is some.
Test case function/72.c relies on an object moving, but it might be pinned by an ambiguous reference from the stack, so don't register the stack as a root.
Copied from Perforce
Change: 189964
ServerID: perforce.ravenbrook.com
2016-03-13 14:16:39 +00:00
Gareth Rees
d1973da5f3
Avoid unusued variable warnings from clang 3.4.1.
...
Copied from Perforce
Change: 189717
ServerID: perforce.ravenbrook.com
2016-03-07 18:47:27 +00: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
4ce030ad13
Use a reference count to discover cases where a format is deleted when a pool is still using it, as suggested by rb < https://info.ravenbrook.com/mail/2014/10/16/13-35-06/0/ >.
...
Copied from Perforce
Change: 187279
ServerID: perforce.ravenbrook.com
2014-10-16 22:59:00 +01:00
Gareth Rees
d4b8907389
Assert if you try to create a pool using a format from another arena, a pool using a chain from another arena, or a root using a thread from another arena.
...
Copied from Perforce
Change: 187268
ServerID: perforce.ravenbrook.com
2014-10-14 22:21:43 +01:00
Gareth Rees
f65f1db83e
Attach the pools using a format to a ring in the format, so that when we destroy the format, we can check that no pools are using it.
...
Copied from Perforce
Change: 187253
ServerID: perforce.ravenbrook.com
2014-10-13 22:44:20 +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
9a880c8d0d
More test maintenance:
...
mps_class_amc() now takes a generation chain.
Copied from Perforce
Change: 182202
ServerID: perforce.ravenbrook.com
2013-05-25 11:35:44 +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
Richard Brooksby
fd8912c287
Fixing up mps_rank_* to the new interface as a step towards reviving the old test suite.
...
Copied from Perforce
Change: 182174
ServerID: perforce.ravenbrook.com
2013-05-24 19:23:01 +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