Gareth Rees
ebaceec812
Set mail_results option to "off".
...
Copied from Perforce
Change: 182212
ServerID: perforce.ravenbrook.com
2013-05-25 13:03:00 +01:00
Gareth Rees
f9c1a044ac
Use rmtree instead of unlink: clang creates directories.
...
Copied from Perforce
Change: 182211
ServerID: perforce.ravenbrook.com
2013-05-25 12:49:07 +01:00
Gareth Rees
e5d7987978
Fix detection of program abort: not necessarily at start of line.
...
Copied from Perforce
Change: 182210
ServerID: perforce.ravenbrook.com
2013-05-25 12:44:53 +01:00
Gareth Rees
e747fae50b
Comment out calls to &mailfile: we don't need this.
...
Copied from Perforce
Change: 182209
ServerID: perforce.ravenbrook.com
2013-05-25 12:44:17 +01:00
Gareth Rees
bef1a40374
Change $hopename$ to $id$.
...
Copied from Perforce
Change: 182204
ServerID: perforce.ravenbrook.com
2013-05-25 12:25:45 +01:00
Gareth Rees
e4b2c9363d
Remove compiler options that are not supported by clang.
...
Copied from Perforce
Change: 182203
ServerID: perforce.ravenbrook.com
2013-05-25 12:00:50 +01:00
Gareth Rees
25f606b33b
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
45d09b045a
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
002fbd5960
Fixing type of guide.impl.c.format.txt to ktext to get keyword expansion.
...
Copied from Perforce
Change: 182190
ServerID: perforce.ravenbrook.com
2013-05-25 04:22:46 +01:00
Richard Brooksby
5e62e8fa63
Declaring document format so that infosys processes it as restructuredtext.
...
Copied from Perforce
Change: 182189
ServerID: perforce.ravenbrook.com
2013-05-25 04:04:08 +01:00
Richard Brooksby
1bb7084ca5
Reformatting "cstyle" as restructuredtext and giving it its original name back.
...
Copied from Perforce
Change: 182186
ServerID: perforce.ravenbrook.com
2013-05-25 03:24:40 +01:00
Gareth Rees
fce5b5b27f
Convert poolams, poolawl, poollo, poolmfs, protan, protli, pthreadext, shield, and vman to restructuredtext.
...
Copied from Perforce
Change: 182183
ServerID: perforce.ravenbrook.com
2013-05-25 00:08:09 +01:00
Richard Brooksby
2a768c70a8
Directing travis ci build notifications to the team, rather than me.
...
Copied from Perforce
Change: 182179
ServerID: perforce.ravenbrook.com
2013-05-24 21:14:26 +01:00
Richard Brooksby
8a9d451ff8
Catch-up merge from custom/cet/main to master.
...
Includes installable assertion handler, events in circular memory buffers, LARGEADDRESSAWARE, etc.
Copied from Perforce
Change: 182176
ServerID: perforce.ravenbrook.com
2013-05-24 19:42:46 +01:00
Richard Brooksby
e5234264fe
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
Gareth Rees
540923be65
Document gcovfmt.py and testrun.sh. test-runner.py is no longer used.
...
Copied from Perforce
Change: 182167
ServerID: perforce.ravenbrook.com
2013-05-24 18:17:43 +01:00
Gareth Rees
4f54dc0ba8
Improve formatting of the keywords table.
...
Copied from Perforce
Change: 182163
ServerID: perforce.ravenbrook.com
2013-05-24 15:31:17 +01:00
Gareth Rees
29378fe033
Convert arenavm, buffer, lib, and poolmrg to restructuredtext.
...
Convert [notes in square brackets] to .. note:: to make them stand out more and be easier to find and fix.
Modernize config a bit.
Copied from Perforce
Change: 182162
ServerID: perforce.ravenbrook.com
2013-05-24 15:30:38 +01:00
Gareth Rees
82da980c32
Always run all the testcases, noting failures instead of stopping.
...
Copied from Perforce
Change: 182153
ServerID: perforce.ravenbrook.com
2013-05-24 11:25:15 +01:00
Gareth Rees
010fb7c45b
Need to handle sigsegv on linux and freebsd.
...
Copied from Perforce
Change: 182133
ServerID: perforce.ravenbrook.com
2013-05-23 20:19:01 +01:00
Gareth Rees
aab4d37ce5
Ensure that the random seed is not lost in case of failure.
...
Copied from Perforce
Change: 182131
ServerID: perforce.ravenbrook.com
2013-05-23 20:10:36 +01:00
Gareth Rees
a2db9c9770
Amcssth need to be added "all" as well as testcases.
...
Copied from Perforce
Change: 182129
ServerID: perforce.ravenbrook.com
2013-05-23 20:06:45 +01:00
Gareth Rees
1a3ed74d09
Tags might only be two letters long.
...
Copied from Perforce
Change: 182126
ServerID: perforce.ravenbrook.com
2013-05-23 19:45:17 +01:00
Gareth Rees
61743c36b4
On platform lii6gc, the mps needs a bunch of symbols which are not defined if the -ansi option is given to gcc. these can be enabled by defining features like _gnu_source, but all headers share a common set of features (via <feature.h>) and so all sources in the same compilation unit must turn on the same set of features. make sure this happens by turning on the features in config.h (not mpstd.h).
...
Remove <string.h> from mpsi.h (not needed).
Copied from Perforce
Change: 182124
ServerID: perforce.ravenbrook.com
2013-05-23 19:35:47 +01:00
Gareth Rees
7fca8a0d1f
Fix the table.
...
Copied from Perforce
Change: 182122
ServerID: perforce.ravenbrook.com
2013-05-23 19:18:25 +01:00
Gareth Rees
955c41b0fe
Convert message, pool, poolamc, prot, and vm design documents to restructuredtext.
...
Copied from Perforce
Change: 182116
ServerID: perforce.ravenbrook.com
2013-05-23 17:44:52 +01:00
Gareth Rees
18f29f427c
Process design documents for inclusion in the manual.
...
Copied from Perforce
Change: 182108
ServerID: perforce.ravenbrook.com
2013-05-23 12:43:28 +01:00
Gareth Rees
3bc6e01cf8
Convert reservoir, root, scan, seg, splay, telemetry, thread-safety, trace, and writef design documents to restructuredtext and add them to the manual.
...
Copied from Perforce
Change: 182102
ServerID: perforce.ravenbrook.com
2013-05-23 00:12:10 +01:00
Gareth Rees
8450a8d717
Files to ignore in example/scheme.
...
Copied from Perforce
Change: 182097
ServerID: perforce.ravenbrook.com
2013-05-22 22:22:34 +01:00
Gareth Rees
016d7b1b0a
Move restructuredtext conversions of design documents into design/...
...
Reorganize manual into "Design" and "Old design".
Manual gets design documents out of design/...
Copied from Perforce
Change: 182091
ServerID: perforce.ravenbrook.com
2013-05-22 19:26:24 +01:00
Gareth Rees
870bea6e2d
Avoid undefined behaviour in ring_elt by using parent (and thus offsetof) instead of deferencing a null pointer. add missing typedef for rememberedsummaryblockstruct. update ring design accordingly.
...
Copied from Perforce
Change: 182084
ServerID: perforce.ravenbrook.com
2013-05-22 16:45:45 +01:00
Gareth Rees
2f7669a602
Convert design.mps.ring to restructuredtext.
...
Copied from Perforce
Change: 182081
ServerID: perforce.ravenbrook.com
2013-05-22 16:20:57 +01:00
Gareth Rees
6097320dfe
Fix typo: "size", not "ap->size"
...
Copied from Perforce
Change: 182074
ServerID: perforce.ravenbrook.com
2013-05-22 13:41:33 +01:00
Richard Brooksby
4b22229ef5
Adding missing check on return value found by xcode analyzer.
...
Copied from Perforce
Change: 182071
ServerID: perforce.ravenbrook.com
2013-05-22 12:29:10 +01:00
Gareth Rees
93f329f7ef
Show the output of the test case that failed. (on linux.)
...
Copied from Perforce
Change: 182044
ServerID: perforce.ravenbrook.com
2013-05-21 17:34:35 +01:00
Gareth Rees
cd3e12c3cf
Ignore lots of junk so that the output of "p4 status" is clean.
...
Copied from Perforce
Change: 182041
ServerID: perforce.ravenbrook.com
2013-05-21 17:25:42 +01:00
Gareth Rees
ae5e9a15ca
If a test case fails, show the output of the test case that failed, so that it isn't lost if the test suite is running on a build server such as travis ci. (works on os x.)
...
Copied from Perforce
Change: 182040
ServerID: perforce.ravenbrook.com
2013-05-21 17:25:13 +01:00
Richard Brooksby
9f7a30bfbc
Preventing failure if there is an assertion before event buffers are initialized.
...
Copied from Perforce
Change: 182012
ServerID: perforce.ravenbrook.com
2013-05-20 19:37:59 +01:00
Richard Brooksby
8f4f17e745
Renaming some local variables from "index" to "indx" to avoid shadowing the function "index".
...
Only certain versions of GCC seem to warn about this, but they include 4.6.3 being used by Tracis CI causing this failure <https://travis-ci.org/Ravenbrook/mps-temporary/builds/7322161 >.
Copied from Perforce
Change: 182011
ServerID: perforce.ravenbrook.com
2013-05-20 19:37:18 +01:00
Richard Brooksby
032457f550
Removing gnuisms from top-level makefile so that it works on freebsd.
...
Copied from Perforce
Change: 182010
ServerID: perforce.ravenbrook.com
2013-05-20 19:25:57 +01:00
Richard Brooksby
67c9cd6c4f
Gcc 4.7.3 on ubuntu 13 has stricter alias checking. disabling for now.
...
Copied from Perforce
Change: 182001
ServerID: perforce.ravenbrook.com
2013-05-20 16:33:28 +01:00
Richard Brooksby
1f883a6097
Arg.c was never added to comm.gmk, breaking the linux build.
...
Copied from Perforce
Change: 182000
ServerID: perforce.ravenbrook.com
2013-05-20 16:32:24 +01:00
Richard Brooksby
234e6c0226
Removing dependency on standard c library memcpy. oops.
...
Copied from Perforce
Change: 181999
ServerID: perforce.ravenbrook.com
2013-05-20 16:31:34 +01:00
Richard Brooksby
a7d9cfdbfe
Fixing bogus comparison in assertion found by gcc warnings on linux.
...
Copied from Perforce
Change: 181998
ServerID: perforce.ravenbrook.com
2013-05-20 16:30:59 +01:00
Richard Brooksby
e0ca2f67d7
Merging branch/2013-05-01/keyword-arguments back to master.
...
Copied from Perforce
Change: 181994
ServerID: perforce.ravenbrook.com
2013-05-20 13:58:25 +01:00
Richard Brooksby
a2cb445ba9
Adding leader comment to .travis.yml so that there's an audit trail. and also to kick off the first travis build.
...
Copied from Perforce
Change: 181953
ServerID: perforce.ravenbrook.com
2013-05-19 21:43:54 +01:00
Richard Brooksby
837ccf5612
Adding a travis ci configuration to allow build testing via github.
...
See <http://about.travis-ci.org/docs/user/languages/c/ >.
Copied from Perforce
Change: 181951
ServerID: perforce.ravenbrook.com
2013-05-19 20:56:13 +01:00
Richard Brooksby
60f7df4335
Adjusting the default extend_by of the mv pool to be more sensible and match the other pools, but overriding it in the case of the arena control pool, where the default originated.
...
Copied from Perforce
Change: 181946
ServerID: perforce.ravenbrook.com
2013-05-19 20:01:52 +01:00
Richard Brooksby
0c3b15ec5d
Correcting documentation of pool classes to say which keyword arguments are optional, and documenting their (rather eccentric) defaults.
...
Copied from Perforce
Change: 181945
ServerID: perforce.ravenbrook.com
2013-05-19 19:49:07 +01:00
Richard Brooksby
fd540bff38
Adding rules to building a local sphinx using virtualenv.
...
Copied from Perforce
Change: 181948
ServerID: perforce.ravenbrook.com
2013-05-19 19:33:28 +01:00