1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-27 01:01:52 -07:00
Commit graph

80 commits

Author SHA1 Message Date
Gareth Rees
993821517e Fix bugs in exposet0.c and steptest.c on windows.
Port djbench and gcbench to Windows.
Run amcssth and awlutth test cases on Windows.

Copied from Perforce
 Change: 185354
 ServerID: perforce.ravenbrook.com
2014-04-08 16:26:27 +01:00
Gareth Rees
a03056f39a New header testthr.h provides simple threading interface.
Implementations testthrix.c for Unix and testthrw3.c for Windows.
Multi-threaded test cases use the new interface.
Rename lockutw3 to lockut (no longer Windows-specific).
Run multi-threaded test cases on Windows and lockut elsewhere.

Copied from Perforce
 Change: 185350
 ServerID: perforce.ravenbrook.com
2014-04-08 15:14:32 +01:00
Richard Brooksby
103e03d285 Catch up merge from masters to branch/2014-01-15/nailboard.
Copied from Perforce
 Change: 185118
 ServerID: perforce.ravenbrook.com
2014-04-01 11:43:47 +01:00
Gareth Rees
6de8c58889 Catch-up merge from master sources to branch/2014-03-21/pellesc.
Copied from Perforce
 Change: 185074
 ServerID: perforce.ravenbrook.com
2014-03-28 13:54:30 +00:00
Gareth Rees
d338a23654 Avoid spurious output from rmdir when running "nmake clean".
Copied from Perforce
 Change: 185069
 ServerID: perforce.ravenbrook.com
2014-03-28 12:45:11 +00:00
Gareth Rees
2106c79a8f Build nailboardtest on windows; run it on all platforms.
Copied from Perforce
 Change: 185041
 ServerID: perforce.ravenbrook.com
2014-03-27 12:12:39 +00:00
Gareth Rees
26f1ceb523 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
c94be13bdf Improved support for pelles c:
* Refactor nmake files so that a compiler-specific makefile is included; move Microsoft Visual C-specific options to mv.nmk.
* Add nmake files for Pelles (w3i3pc.nmk and pc.nmk).
* Rename spw3i3mv.c to spw3i3.c and spw3i6mv.c to spw3i6.c since these are also used by Pelles C.
* Make reasonable changes to the source code to avoid warnings from Pelles C:
** check results of function calls;
** avoid useless return values;
** undef max before defining it;
** ensure printf formats are checkable;
** move notreached() assertions to the end of blocks;
** suppress warnings in cases where the code shouldn't be changed ("Unreachable code", "Inline assembly code is not portable", "Structured Exception Handling is not portable").

Copied from Perforce
 Change: 184977
 ServerID: perforce.ravenbrook.com
2014-03-24 18:23:29 +00:00
Gareth Rees
edd6409964 Don't list the test cases to be run in commpre.nmk: list them instead in testrun.bat for consistency with other platforms.
Format lists of files and test cases with one per line so that merges are easier.
Improve testrun.bat: better success/failure output; fewer gotos.

Copied from Perforce
 Change: 184971
 ServerID: perforce.ravenbrook.com
2014-03-24 12:12:24 +00:00
Gareth Rees
f070780cba 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
bcfad58d3c Merge custom cet mainline into the master sources. this includes fixes for job003519 (clock values in text telemetry logs on windows have top 32 bits zero), job003536 (cet office can't replicate 100k snowmen in reasonable time), job003651 (stack overflows are not reliably handled).
Copied from Perforce
 Change: 183926
 ServerID: perforce.ravenbrook.com
2014-01-10 14:16:08 +00:00
Gareth Rees
335edef764 Avoid calling abort() on windows when running the test suite, so that the test suite doesn't get suspended waiting for someone to press a button.
Copied from Perforce
 Change: 183041
 ServerID: perforce.ravenbrook.com
2013-07-15 15:37:22 +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
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
Richard Brooksby
5926e279f3 Merging branch/2013-06-05/diag to eliminate the "diag" system. hurrah!
Copied from Perforce
 Change: 182575
 ServerID: perforce.ravenbrook.com
2013-06-06 14:56:47 +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
9e8e01756b Ensure that mpseventcnv and mpseventtxt are built by default on windows, and that mpseventsql is buildable if you request it.
Copied from Perforce
 Change: 182537
 ServerID: perforce.ravenbrook.com
2013-06-05 15:27:42 +01:00
Gareth Rees
a027b2b217 Build and run on windows.
Copied from Perforce
 Change: 182519
 ServerID: perforce.ravenbrook.com
2013-06-04 20:52:40 +01:00
Gareth Rees
b631cd10cd Reorganize windows build so that facts are mentioned in only one place.
Provide "testrun" target (and batch file) for running the test suite.

Copied from Perforce
 Change: 182516
 ServerID: perforce.ravenbrook.com
2013-06-04 20:40:07 +01: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
Nick Barnes
2d9c5608d3 Port eventsql and friends to windows 7.
Copied from Perforce
 Change: 180885
 ServerID: perforce.ravenbrook.com
2013-01-30 16:06:59 +00:00
Richard Brooksby
6a71263677 Merging recent improvements from custom/cet/main to masters, but carefully excluding inclusion of configura-specific modules in mps.c.
Copied from Perforce
 Change: 179473
 ServerID: perforce.ravenbrook.com
2012-09-13 17:33:36 +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
4ba3ce899a Building hot varieties with globally optimized mps.c instead of separate object files.
Copied from Perforce
 Change: 179191
 ServerID: perforce.ravenbrook.com
2012-09-03 12:56:38 +01:00
Richard Brooksby
adce796a68 Merging the plinth and default pools into the mps library, as on other platforms, and building the tests using the library rather than object files.
Copied from Perforce
 Change: 179172
 ServerID: perforce.ravenbrook.com
2012-09-02 12:27:20 +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
7637bc783e Building a fresh copy of version.c in the link/library step to avoid constant rebuilding.
Copied from Perforce
 Change: 179168
 ServerID: perforce.ravenbrook.com
2012-09-02 09:03:55 +01:00
Richard Brooksby
83efeb796f Trimming varieties to match comm.gmk.
Copied from Perforce
 Change: 179166
 ServerID: perforce.ravenbrook.com
2012-09-02 08:26:56 +01:00
Richard Brooksby
3ac7671375 Deleting ti variety from windows build list.
Copied from Perforce
 Change: 179145
 ServerID: perforce.ravenbrook.com
2012-08-31 20:50:29 +01:00
David Lovemore
0606c85b46 Build sacss and round up alignments in tests
Copied from Perforce
 Change: 178322
 ServerID: perforce.ravenbrook.com
2012-05-24 17:58:26 +01:00
David Lovemore
0d93c21a0e Remove obsolete flag /coff from assembler options
Copied from Perforce
 Change: 178262
 ServerID: perforce.ravenbrook.com
2012-05-22 14:45:06 +01:00
David Lovemore
eb84a7dd79 Added ssw3i6.asm for stack scanning
Copied from Perforce
 Change: 178245
 ServerID: perforce.ravenbrook.com
2012-05-21 18:34:33 +01:00
David Lovemore
4bb3e3365e Added /debug and /pdb flags to make windows pdb debug files correctly.
Copied from Perforce
 Change: 178191
 ServerID: perforce.ravenbrook.com
2012-05-17 13:36:17 +01:00
Richard Kistruck
f0dbf2a41b Mps br/padding: job002148: drop mps_lib_callback_register from w3gen.def, and put it in new file mpslibcb.def, used only when building the mps dll (rule in commpost.nmk) which contains the mpslibcb stuff. correct expgen.sh accordingly (even though it's not working). so mps-fns.def (produced by w3build.bat by copying w3gen.def) is now correct for configura to use to re-export mps functions static linked into a larger executable, and mpsdy.dll still correctly exports the mps_lib_callback_register function.
Copied from Perforce
 Change: 168763
 ServerID: perforce.ravenbrook.com
2009-09-25 15:08:55 +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
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
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
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
26ef1fea7f Mps: fix w3 builds: integrate from master the following:
MPS: fix Windows build of text-executables needing formats, with new 
make-variable FMTTEST, replacing DWTEST and HETEST, and fixing 
awlut.exe build.  (integrate from version/1.106/...@157962)
   (159467)
MPS: fix w3i3mv "all" build with VC6:
1. amsss.c: initialize ambigRoot (uninitialized warning);
2. commpost.nmk: 
2a. drop long-vanished protcv.exe;
2b. mpmss.exe needs MVFF;
2c. locusss.exe had no build rule;
3. finaltest.c: main does not use argc,v so declare as main(void);
4. lockutw3.c: add parens to avoid operator-precedence warning;
5. protocol.h: s/interface/interfaceIn: suspected compiler bug.
(integrate from version/1.106/...@158054)
   (159468)
MPS: attempt to fix w3i3mv "all" build with VC7:
(unknown if these changes are effective, but they should be safe)
1. mpm.c: +1 to array size to make room for terminator of string initializer;
2. testlib.c: disable warning 4702: unreachable code, for va_end.
(integrate from version/1.106/...@158055)
   (159469)

Copied from Perforce
 Change: 159471
 ServerID: perforce.ravenbrook.com
2006-06-29 17:55:13 +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
Richard Kistruck
e105d29ef1 Mps: fix w3i3mv "all" build with vc6:
1. amsss.c: initialize ambigRoot (uninitialized warning);
2. commpost.nmk: 
2a. drop long-vanished protcv.exe;
2b. mpmss.exe needs MVFF;
2c. locusss.exe had no build rule;
3. finaltest.c: main does not use argc,v so declare as main(void);
4. lockutw3.c: add parens to avoid operator-precedence warning;
5. protocol.h: s/interface/interfaceIn: suspected compiler bug.

Copied from Perforce
 Change: 158054
 ServerID: perforce.ravenbrook.com
2006-04-07 15:56:43 +01:00