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
Richard Kistruck
601e74637c
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
beb476fd52
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
26e1672a0f
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
a2e31d78c7
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
21f2f9b8c0
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
56029c8542
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
1f9a9f8118
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
22b7aa1017
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
17f1066b27
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
c165d3d179
Mps: diag fixes.
...
Copied from Perforce
Change: 162163
ServerID: perforce.ravenbrook.com
2007-04-19 13:02:21 +01:00
Richard Kistruck
b389d65aa1
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
David Jones
3ae15c0e8b
Mps: mpslib via client callbacks. mpslib.c
...
Copied from Perforce
Change: 143314
ServerID: perforce.ravenbrook.com
2005-02-07 14:50:11 +00:00
David Jones
2181c4c807
Mps: test for bug in job000825
...
Copied from Perforce
Change: 64980
ServerID: perforce.ravenbrook.com
2003-11-19 13:55:41 +00:00
David Jones
376a58c49e
Mps: portable version of exposet0 test
...
Copied from Perforce
Change: 62979
ServerID: perforce.ravenbrook.com
2003-11-04 15:41:57 +00:00
David Jones
09b0e03b07
Mps: test for configura, mps_arena_has_addr during heap walk.
...
Copied from Perforce
Change: 50081
ServerID: perforce.ravenbrook.com
2003-07-09 13:31:36 +01:00
Nick Barnes
f38e4d0233
Make wi variety at the same time as the others.
...
Copied from Perforce
Change: 37547
ServerID: perforce.ravenbrook.com
2003-01-02 20:42:42 +00:00
Nick Barnes
bb0a812529
Add a new test, for finalization, demonstrating the value of proxies.
...
Copied from Perforce
Change: 34507
ServerID: perforce.ravenbrook.com
2002-10-18 14:29:20 +01:00
Nick Barnes
8af8bf3277
Dependencies for fmthe.
...
Copied from Perforce
Change: 30345
ServerID: perforce.ravenbrook.com
2002-06-20 16:58:59 +01:00
Richard Brooksby
c11fa19243
Merging branch mps/2002-05-22/open-source-prep.
...
Making some new files consistent with changes from that branch.
Deleting some new Global Graphics confidential files.
Copied from Perforce
Change: 30256
ServerID: perforce.ravenbrook.com
2002-06-18 16:19:34 +01:00
Nick Barnes
0c8fe12191
Integrate changes from global graphics.
...
Copied from Perforce
Change: 30250
ServerID: perforce.ravenbrook.com
2002-06-18 14:14:55 +01:00
Richard Brooksby
f22e14e334
Eliminating "impl" type tags and replacing them with uri-style file references.
...
Copied from Perforce
Change: 29900
ServerID: perforce.ravenbrook.com
2002-06-07 17:34:59 +01:00
Richard Brooksby
5afb4899ef
Adding forward reference to licenses from copyright notices.
...
Adding licenses to a couple of files I missed.
Copied from Perforce
Change: 29837
ServerID: perforce.ravenbrook.com
2002-06-06 11:56:19 +01:00
Richard Brooksby
819ed0ed76
Adding licenses to source code files.
...
Copied from Perforce
Change: 29836
ServerID: perforce.ravenbrook.com
2002-06-06 11:44:23 +01:00
Richard Brooksby
44aa444ef7
Removing global graphics confidential files and modifying build to work without them.
...
Copied from Perforce
Change: 29834
ServerID: perforce.ravenbrook.com
2002-06-06 11:13:37 +01:00