Gareth Rees
c9780a3401
Add freelist module to core mps.
...
Copied from Perforce
Change: 182422
ServerID: perforce.ravenbrook.com
2013-06-03 12:58:12 +01:00
Gareth Rees
f154b62bf4
Catch-up merge from master sources to mps/branch/2013-05-17/emergency
...
Copied from Perforce
Change: 182417
ServerID: perforce.ravenbrook.com
2013-06-03 12:25:18 +01:00
Gareth Rees
b764d4b19d
Improve organization of comm.gmk:
...
* Mention each target once (this makes it more reliable to modify the set of targets).
* Include exposet0, expt825 and xmess in the automatically run test cases.
* For other test cases, explain why not included in automated test suite.
* Organize targets alphabetically (this is makes it easier to check the lists against each other).
Copied from Perforce
Change: 182413
ServerID: perforce.ravenbrook.com
2013-06-03 11:35:01 +01:00
Gareth Rees
ba1a45d970
Catch-up merge from master sources to mps/branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182170
ServerID: perforce.ravenbrook.com
2013-05-24 18:44:18 +01:00
Gareth Rees
da75b40c73
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
09b845a726
Catch-up merge from the master sources to branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182135
ServerID: perforce.ravenbrook.com
2013-05-23 20:58:21 +01:00
Gareth Rees
0206d9feb2
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
5ea309b5cc
Catch-up merge from master sources to branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182048
ServerID: perforce.ravenbrook.com
2013-05-21 18:31:50 +01:00
Gareth Rees
f306ba4b47
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
69ef2cbe09
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
Gareth Rees
ecb45f24d2
Include mv2test in the test suite (although it doesn't pass yet).
...
Copied from Perforce
Change: 182027
ServerID: perforce.ravenbrook.com
2013-05-21 00:30:20 +01:00
Gareth Rees
9e25483815
Add abq and range modules to mps core; add poolmv2 to supported pools.
...
Copied from Perforce
Change: 182021
ServerID: perforce.ravenbrook.com
2013-05-20 23:21:24 +01:00
Richard Brooksby
07e043adee
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
Gareth Rees
297f287200
Put xxxxxx at the end of the pattern argument to mktemp, so that it works on freebsd and os x.
...
Copied from Perforce
Change: 181562
ServerID: perforce.ravenbrook.com
2013-05-06 19:01:25 +01:00
Gareth Rees
d503983733
Correct a couple of comments.
...
Copied from Perforce
Change: 181469
ServerID: perforce.ravenbrook.com
2013-04-26 20:50:21 +01:00
Gareth Rees
25ab662238
Add -*- makefile -*- to .gmk files so that syntax highlighting in emacs works out of the box.
...
Copied from Perforce
Change: 181101
ServerID: perforce.ravenbrook.com
2013-03-08 17:26:12 +00:00
Gareth Rees
13e6529c52
Make amcssth test case runnable on platforms that use gnumake.
...
Copied from Perforce
Change: 181072
ServerID: perforce.ravenbrook.com
2013-03-07 14:03:00 +00:00
Gareth Rees
8dc0d72a8d
Improve the usability of the test suite:
...
1. "make test" now reports the name of the test case before running it, so that when you look back through the test output you can see which test case failed.
2. "make test" now collects the standard output from all the tests to a log file in /tmp, so that this does not clutter the user's terminal, and so that nothing is lost if the output exceeds the terminal's scrollback.
3. Each test case now prints a success message ("Conclusion: Failed to find any defects.") to standard output (not standard error) so that these messages do not clutter up the terminal when running "make test".
4. Each test case now uses its result code (not the printed message) to indicate whether it succeeded or failed.
5. More of the diagnostic messages from the test cases now start by printing argv[0] so that it is easier to tell which test case was running.
Copied from Perforce
Change: 181071
ServerID: perforce.ravenbrook.com
2013-03-07 13:13:32 +00:00
Gareth Rees
bc4ccedc13
More build/install improvements:
...
1. Name the command-line tools with the "mps" prefix throughout, for consistency between build and installation.
2. Don't build "mpseventsql.exe" by default on Windows.
3. Instructions for building mpseventsql on the supported platforms.
Copied from Perforce
Change: 180913
ServerID: perforce.ravenbrook.com
2013-02-05 15:43:41 +00:00
Gareth Rees
2ffce9476e
Build extra_targets. in particular, build eventsql only if configured to do so.
...
Copied from Perforce
Change: 180912
ServerID: perforce.ravenbrook.com
2013-02-05 15:03:47 +00:00
Nick Barnes
7dc00c2912
Get eventcnv/txt/sql working on fri3gc.
...
Copied from Perforce
Change: 180887
ServerID: perforce.ravenbrook.com
2013-01-31 14:54:35 +00:00
Richard Brooksby
847bd516aa
Reinstating "mkdir -p" so that "make -j" can do a parallel make. we only avoided "mkdir -p" because it was broken on osf/1.
...
Copied from Perforce
Change: 179534
ServerID: perforce.ravenbrook.com
2012-09-18 18:33:07 +01:00
Richard Brooksby
5a604a2f51
Fixing bugs introduced by type puns passed through scanning methods, discovered by offsetting mps_ss_s from the beginning of scanstatestruct.
...
Adding a pseudo-target "find-puns" which, on FreeBSD mostly, prints useful warnings about strict aliasing rule violations.
Fixing more strict aliasing rule violations found by the above.
Copied from Perforce
Change: 179358
ServerID: perforce.ravenbrook.com
2012-09-07 23:48:14 +01:00
Richard Brooksby
858e4ac0ac
Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts.
...
Copied from Perforce
Change: 179309
ServerID: perforce.ravenbrook.com
2012-09-06 17:17:18 +01:00
Richard Brooksby
383335816d
Merging recent review changes from variety-reform branch.
...
Copied from Perforce
Change: 179306
ServerID: perforce.ravenbrook.com
2012-09-06 16:59:31 +01:00
Richard Brooksby
d8a499b473
Responding to nb's review of variety-reform.
...
https://info.ravenbrook.com/mail/2012/09/06/15-42-57/0/
Copied from Perforce
Change: 179302
ServerID: perforce.ravenbrook.com
2012-09-06 16:47:44 +01:00
Richard Brooksby
27c6706791
Merging branch/2012-08-21/diagnostic-telemetry.
...
Copied from Perforce
Change: 179289
ServerID: perforce.ravenbrook.com
2012-09-05 23:45:31 +01:00
Richard Brooksby
3ec3f57262
Renaming varieties we to rash and di to diag. leaving ti alone as it will be deleted shortly in merge with diagnostic-telemetry branch.
...
Copied from Perforce
Change: 179193
ServerID: perforce.ravenbrook.com
2012-09-03 13:32:11 +01:00
Richard Brooksby
164a6b4bc7
Building hot varieties with globally optimized mps.c instead of separate object files.
...
Copied from Perforce
Change: 179189
ServerID: perforce.ravenbrook.com
2012-09-03 12:37:33 +01:00
Richard Brooksby
17977ef9c8
Eliminating pfmdefs from makefiles by moving them to mpstd.h so that the mps can be built with a simpler compiler command.
...
Copied from Perforce
Change: 179180
ServerID: perforce.ravenbrook.com
2012-09-03 00:49:02 +01:00
Richard Brooksby
369994f49f
Fixing up warnings caused by higher levels of optimisation.
...
Copied from Perforce
Change: 179178
ServerID: perforce.ravenbrook.com
2012-09-03 00:29:21 +01:00
Richard Brooksby
ee4106393a
Renaming "he" variety to "hot" and "ci" variety to "cool". like the old days.
...
Copied from Perforce
Change: 179170
ServerID: perforce.ravenbrook.com
2012-09-02 11:04:53 +01:00
Richard Brooksby
fa0bfed44e
Removing product-specific configuration, including dylan- and scriptworks-specific targets and config_prod configurations. we should support any necessary requirements generically.
...
It's now possible to write "cc -c mps.c" and get a sensible result.
Copied from Perforce
Change: 179169
ServerID: perforce.ravenbrook.com
2012-09-02 10:39:42 +01:00
Richard Brooksby
f92b4c3823
Building version.c at link time to avoid constant rebuilds of executables and libraries.
...
Copied from Perforce
Change: 179165
ServerID: perforce.ravenbrook.com
2012-09-02 08:25:27 +01:00
Richard Brooksby
82bc137464
Abolishing a bunch of varieties and reforming the hot variety to run about as fast as white-hot.
...
See <http://info.ravenbrook.com/mail/2012/08/15/17-43-37/0/ >.
Copied from Perforce
Change: 179153
ServerID: perforce.ravenbrook.com
2012-09-01 00:01:03 +01:00
Richard Brooksby
c4c3595fb8
Now there is no measurable performance penalty for events, they're on in all varieties (except we).
...
Copied from Perforce
Change: 179137
ServerID: perforce.ravenbrook.com
2012-08-31 16:42:17 +01:00
Richard Kistruck
262e9ae530
Mps br/timing zcoll.c: (new test) hack in the basics; build it
...
Copied from Perforce
Change: 167017
ServerID: perforce.ravenbrook.com
2008-12-22 17:31:14 +00:00
Richard Kistruck
9457df93db
Mps br/timing: zmess.c subsumes and replaces fin1658a.c
...
Also improve comments in zmess.c.
Copied from Perforce
Change: 166994
ServerID: perforce.ravenbrook.com
2008-12-19 14:47:54 +00:00
Richard Kistruck
b0790cf19a
Mps br/timing: rename z001989a.c as zmess.c
...
Copied from Perforce
Change: 166993
ServerID: perforce.ravenbrook.com
2008-12-19 14:27:48 +00:00
Richard Kistruck
538d4990e7
Mps br/timing: rename z001989a.c as zmessco.c
...
Copied from Perforce
Change: 166991
ServerID: perforce.ravenbrook.com
2008-12-19 14:08:14 +00:00
Richard Kistruck
77ea63625a
Mps br/timing: traceanc.c -- all this ancillary stuff was making
...
trace.c very cluttered. Put it here instead.
Copied from Perforce
Change: 166911
ServerID: perforce.ravenbrook.com
2008-12-09 16:55:22 +00:00
Richard Kistruck
eead2f757b
Mps br/timing: new test z001989a.c, for job001989: mps _gc_start messages may cause assert or infinite loop
...
Add it to makefiles.
Make a start on test file:
main
main2
test
testscript
So far, only counts messages, does not get _gc or _gs_start, does not
yet test finalization messages. But works, so useful checkpoint.
Copied from Perforce
Change: 166876
ServerID: perforce.ravenbrook.com
2008-12-05 17:07:26 +00:00
Richard Kistruck
044ae18973
Mps br/auto_header: mpsicv can use auto_header format, by the magic
...
of adding #ifdefs... Ahem. I'll fix that in a minute.
Copied from Perforce
Change: 164396
ServerID: perforce.ravenbrook.com
2008-03-12 11:37:06 +00:00
Richard Kistruck
a916fb782c
Mps master: (after merge from br/diag):
...
w3build.bat: also build variety.di.
delete fint1658.c (superseded by fin1658a.c), and remove it from
comm.gmk and commpost.nmk
Copied from Perforce
Change: 162930
ServerID: perforce.ravenbrook.com
2007-07-18 17:19:00 +01:00
David Jones
667b09883c
Mps: ti and wi replaced by di and we as default varieties
...
Copied from Perforce
Change: 162918
ServerID: perforce.ravenbrook.com
2007-07-17 12:32:00 +01:00
Richard Kistruck
674c46c848
Mps br/diag: fin1658a: confirms defect described in job001658.
...
Copied from Perforce
Change: 162631
ServerID: perforce.ravenbrook.com
2007-06-21 19:26:00 +01:00
Richard Kistruck
e89285a293
Mps br/diag: new fint1658.c: test for job001658, finalization promptness
...
Copied from Perforce
Change: 162624
ServerID: perforce.ravenbrook.com
2007-06-21 14:23:03 +01:00
Richard Kistruck
bd09ac3c18
Mps br/diag: new variety.di: hot+diagnostics
...
Copied from Perforce
Change: 162222
ServerID: perforce.ravenbrook.com
2007-04-27 16:46:51 +01:00
David Jones
afbf0b8ce7
Mps: diag fixes.
...
Copied from Perforce
Change: 162163
ServerID: perforce.ravenbrook.com
2007-04-19 13:02:21 +01:00
Richard Kistruck
d05deebf6b
Mps: add mpsplan.a to "all" target; add mps.lib and mpsplan.lib to "all" target
...
Copied from Perforce
Change: 158999
ServerID: perforce.ravenbrook.com
2006-05-31 16:58:03 +01:00