Gareth Rees
73989d332e
Raise an error if variety is something other than rash, hot, or cool.
...
Copied from Perforce
Change: 183499
ServerID: perforce.ravenbrook.com
2013-10-01 10:53:09 +01:00
Richard Brooksby
55906e2b58
Fixing up build for test platform xci3gc, broken by os x threads development.
...
Enabling amcssth and awlutth tests for all platforms, since I believe these were fixed by OS X threads development.
Copied from Perforce
Change: 183118
ServerID: perforce.ravenbrook.com
2013-07-17 16:49:31 +01:00
Richard Brooksby
dc3fe5546b
Eliminating eventpro.c and simplifying event reading in eventcnv.
...
Copied from Perforce
Change: 182748
ServerID: perforce.ravenbrook.com
2013-06-15 14:24:52 +01:00
Richard Brooksby
9e8f8eb1b4
Removing amcssth from the list of automatically run tests, since we have no plans to fix it at present.
...
Copied from Perforce
Change: 182616
ServerID: perforce.ravenbrook.com
2013-06-08 11:18:22 +01:00
Richard Brooksby
ac1e57c0ac
Merging branch/2013-05-17/emergency with major rework of mvt, mvff, and cbs.
...
Some parts of this are still ragged, and would not normally pass review, but this is a massive improvement to the existing code.
Copied from Perforce
Change: 182614
ServerID: perforce.ravenbrook.com
2013-06-08 10:57:57 +01:00
Gareth Rees
81e1ea0da2
Fix build on linux.
...
Copied from Perforce
Change: 182574
ServerID: perforce.ravenbrook.com
2013-06-06 14:21:39 +01:00
Gareth Rees
ef9c7a057e
Remove the diag variety (and the obsolete ti variety) from the makefiles.
...
Copied from Perforce
Change: 182567
ServerID: perforce.ravenbrook.com
2013-06-06 13:46:08 +01:00
Gareth Rees
4e22988865
Remove diag facility.
...
Copied from Perforce
Change: 182553
ServerID: perforce.ravenbrook.com
2013-06-05 18:35:40 +01:00
Gareth Rees
4232dc3125
Tidying up in anticipation of review.
...
Copied from Perforce
Change: 182524
ServerID: perforce.ravenbrook.com
2013-06-04 23:49:48 +01:00
Gareth Rees
3515defcdd
Make fotest run on lii6gc.
...
Copied from Perforce
Change: 182512
ServerID: perforce.ravenbrook.com
2013-06-04 18:40:52 +01:00
Gareth Rees
67ab8d1385
New test case "fotest" for fail-over of cbs to freelist in mvff. (plus stub for mvt.) need some testing hooks in mvff and mvt for getting the cbs.
...
This reveals a couple of bugs in MVFF: (i) if CBSDelete fails, this might be because the block is actually on the Freelist instead; (ii) we can't SegFree before calling FreelistDelete because the Freelist needs access to the memory in order to read its pointers.
Copied from Perforce
Change: 182500
ServerID: perforce.ravenbrook.com
2013-06-04 16:51:24 +01:00
Gareth Rees
bb56e5bd24
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
5d0a3d48d9
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
21810fbccd
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
9da43c088a
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
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
be2a983861
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
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
0ff7dacbb8
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
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
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
Gareth Rees
6c74d9685c
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
03d76e0962
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
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
Gareth Rees
3c35eda773
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
e4f6a8a7fb
Correct a couple of comments.
...
Copied from Perforce
Change: 181469
ServerID: perforce.ravenbrook.com
2013-04-26 20:50:21 +01:00
Gareth Rees
61f99ec46a
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
524eaeb4b4
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
296ac3bccf
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
a4a18a1a27
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
30b0851159
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
6bddce8382
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
df3a1a1865
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
dd039bfbdc
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
4c51d72b56
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
b82e27dfa6
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
6b417b80d3
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
e6e620f76c
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
52dab6de7e
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
f4b62b0465
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
e5221f66f5
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
19a5cb4d08
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
003ea87973
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
0070b005a1
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
df2e7f0d3b
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
6bdffe4c12
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
24eb124aa4
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
d0349139d6
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
0ca8d085dd
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
4a9aeda2e0
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