1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

103 commits

Author SHA1 Message Date
Gareth Rees
4b5d396792 Catch-up merge from master sources to branch/2014-03-30/addrset.
Copied from Perforce
 Change: 185288
 ServerID: perforce.ravenbrook.com
2014-04-07 15:02:09 +01:00
Gareth Rees
642050880d Compile cool before hot because the former doesn't need to optimize and so detects errors more quickly; and because the former uses file-at-a-time compilation and so can pick up where it left off instead of having to start from the beginning of mps.c.
Copied from Perforce
 Change: 185211
 ServerID: perforce.ravenbrook.com
2014-04-03 15:02:20 +01:00
Gareth Rees
0b159dc650 New module failover implements a fail-over allocator as a land class.
Use Failover in MVT and MVFF.
Test Failover in landtest.
Implementation of LandFindInZones for Freelist (untested).
Remove signature from RangeStruct so we can embed it without a space cost.

Copied from Perforce
 Change: 185196
 ServerID: perforce.ravenbrook.com
2014-04-03 12:52:23 +01:00
Gareth Rees
b409ae89f6 Turn freelist into a land class.
Copied from Perforce
 Change: 185155
 ServerID: perforce.ravenbrook.com
2014-04-02 14:01:18 +01:00
Gareth Rees
a929adf067 Add land.c to list of modules, and missing header range.h.
Copied from Perforce
 Change: 185134
 ServerID: perforce.ravenbrook.com
2014-04-01 21:26:07 +01:00
Gareth Rees
3bbde3766b Generate dependencies for fmtscheme.c.
Copied from Perforce
 Change: 185120
 ServerID: perforce.ravenbrook.com
2014-04-01 12:11:06 +01:00
Gareth Rees
b81e8b2cc8 Catch-up merge from master sources to branch/2014-01-15/nailboard.
Copied from Perforce
 Change: 185029
 ServerID: perforce.ravenbrook.com
2014-03-26 16:36:36 +00:00
Gareth Rees
5bbe70609f Support for "make -f platform.gmk testrun".
Copied from Perforce
 Change: 184990
 ServerID: perforce.ravenbrook.com
2014-03-24 21:26:42 +00:00
Gareth Rees
ff8a0c71d9 Don't list the test cases to be run in the xcode project: list them in testrun.sh instead so that this is shared with the freebsd and linux platforms.
Format the list with one test case per line so that merges are easier.

Copied from Perforce
 Change: 184958
 ServerID: perforce.ravenbrook.com
2014-03-22 18:04:56 +00:00
Gareth Rees
de74b79bad Catch-up merge from master/...@184830 to nailboard branch.
Copied from Perforce
 Change: 184951
 ServerID: perforce.ravenbrook.com
2014-03-21 22:19:10 +00:00
Richard Brooksby
331be1205e Catch-up merge from masters.
Copied from Perforce
 Change: 184728
 ServerID: perforce.ravenbrook.com
2014-03-11 16:13:39 +00:00
Richard Brooksby
00420bfce5 Fixing freebsd build.
Copied from Perforce
 Change: 184719
 ServerID: perforce.ravenbrook.com
2014-03-11 14:46:47 +00:00
Gareth Rees
cf4d9b0596 Ensure that djbench and gcbench compile on freebsd:
Link fmtdy with gcbench.
RESERVE_ALLOC in djbench ignores the return values from mps_reserve and mps_commit.
Don't include alloca.h -- alloca is in stdlib.h.
Rename start, finish to begin, end to avoid "local variable shadows global" error from gcc.

Copied from Perforce
 Change: 184691
 ServerID: perforce.ravenbrook.com
2014-03-08 00:36:32 +00:00
Gareth Rees
d2b6956f6a Add locbwcss and locusss to the test suite on os x, freebsd and linux.
Add const qualifier so that locbwcss and locusss compile without warnings.
Build djbench and gcbench on FreeBSD and Linux.
Don't include <alloca.h> -- alloca is in stdlib.h.

Copied from Perforce
 Change: 184689
 ServerID: perforce.ravenbrook.com
2014-03-08 00:24:04 +00:00
Gareth Rees
0f2cc94e69 Build and run nailboardtest on unix.
Copied from Perforce
 Change: 184673
 ServerID: perforce.ravenbrook.com
2014-03-07 16:13:10 +00:00
Gareth Rees
14dafacf6b Catch-up merge from master sources to nailboard branch.
Copied from Perforce
 Change: 184402
 ServerID: perforce.ravenbrook.com
2014-02-20 14:48:39 +00:00
Richard Brooksby
121113c697 Fixing up the build on freebsd (fri3gc)
Copied from Perforce
 Change: 184356
 ServerID: perforce.ravenbrook.com
2014-02-17 17:00:08 +00:00
Gareth Rees
fd1b087f66 Add the object format from the scheme example, so that not all test cases use the dylan format.
New test case "airtest" (AIR = ambiguous interior reference).

Copied from Perforce
 Change: 184026
 ServerID: perforce.ravenbrook.com
2014-01-16 14:24:48 +00:00
Gareth Rees
77e9c2692b Refactor nailboard code from poolamc.c into a new nailboard module.
Nailboard design document contains the draft design for the new module.
New functions on Range objects, and documentation thereof: RangeInitCopy, RangeIsEmpty, RangeContains.

Copied from Perforce
 Change: 184022
 ServerID: perforce.ravenbrook.com
2014-01-15 17:59:02 +00:00
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