1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
Commit graph

84 commits

Author SHA1 Message Date
Gareth Rees
af06b04a77 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
35dd801372 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
195ffba67b 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
b9306a0fac 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
56645cdc0c 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
a2de65a0d9 Fix build on linux.
Copied from Perforce
 Change: 182574
 ServerID: perforce.ravenbrook.com
2013-06-06 14:21:39 +01:00
Gareth Rees
3627d69bd2 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
1c4ff669ac Remove diag facility.
Copied from Perforce
 Change: 182553
 ServerID: perforce.ravenbrook.com
2013-06-05 18:35:40 +01:00
Gareth Rees
e6605cc39c 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
cb2aea227c Make fotest run on lii6gc.
Copied from Perforce
 Change: 182512
 ServerID: perforce.ravenbrook.com
2013-06-04 18:40:52 +01:00
Gareth Rees
2bda69bc6b 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
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