1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-26 00:01:47 -07:00
Commit graph

69 commits

Author SHA1 Message Date
Gareth Rees
80c2ad98e7 Add tip about running the same test case many times.
Copied from Perforce
 Change: 185420
 ServerID: perforce.ravenbrook.com
2014-04-10 12:22:12 +01:00
Gareth Rees
ffa190ac2b Catch-up merge from master sources to branch/2014-03-25/ansi.
Copied from Perforce
 Change: 185356
 ServerID: perforce.ravenbrook.com
2014-04-08 18:07:11 +01:00
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
Gareth Rees
d939167b1e Catch-up merge from master sources to branch/2014-03-25/ansi.
Copied from Perforce
 Change: 185305
 ServerID: perforce.ravenbrook.com
2014-04-07 16:04:58 +01:00
Gareth Rees
fc7bdbd4dd Fixed dl's review comments <https://info.ravenbrook.com/mail/2014/04/01/13-28-17/0/>.
Copied from Perforce
 Change: 185127
 ServerID: perforce.ravenbrook.com
2014-04-01 17:02:00 +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
22fa48f596 Uniquify the test log files so that you can run the same test case multiple times and still capture the output from each run.
Copied from Perforce
 Change: 185114
 ServerID: perforce.ravenbrook.com
2014-03-31 20:50:42 +01:00
Gareth Rees
5a035142d0 Fix typo: "if exists" should be "if exist".
Copied from Perforce
 Change: 185108
 ServerID: perforce.ravenbrook.com
2014-03-31 16:58:05 +01:00
Gareth Rees
633f791d15 Avoid spurious output from rmdir.
Copied from Perforce
 Change: 185078
 ServerID: perforce.ravenbrook.com
2014-03-28 14:27:44 +00:00
Gareth Rees
6103d4aeb3 Zcoll no longer bad.
Copied from Perforce
 Change: 185062
 ServerID: perforce.ravenbrook.com
2014-03-27 20:42:12 +00:00
Gareth Rees
67a9995863 Mark amsss and amssshe as bad because of job001549.
Copied from Perforce
 Change: 185061
 ServerID: perforce.ravenbrook.com
2014-03-27 20:41:31 +00:00
Gareth Rees
9e51ea6ce3 Merge nailboard size fix. enable zcoll for testci and testall.
Copied from Perforce
 Change: 185060
 ServerID: perforce.ravenbrook.com
2014-03-27 20:31:06 +00:00
Gareth Rees
693e3a4622 Test case database now notes which test cases use threads.
New test suite "testansi" consists of test cases that run on the generic ("ANSI") platform.
New target "ansi" builds the MPS with the CONFIG_PF_ANSI CONFIG_THREAD_SINGLE and CONFIG_PROTECTION_NONE settings.
Build and test the "ansi" target as part of "make test" for the benefit of the buildbots (just Linux and FreeBSD for the moment).

Copied from Perforce
 Change: 185050
 ServerID: perforce.ravenbrook.com
2014-03-27 15:19:42 +00:00
Gareth Rees
1597e8be5a Don't depend on test accepting == (not portable to /bin/sh).
Copied from Perforce
 Change: 185048
 ServerID: perforce.ravenbrook.com
2014-03-27 14:19:01 +00:00
Gareth Rees
849318cc45 Share test case database between windows and unix.
Add testci and testall targets on Windows. 

Copied from Perforce
 Change: 185047
 ServerID: perforce.ravenbrook.com
2014-03-27 14:01:16 +00:00
Gareth Rees
94d5fed788 Merge branch/2014-01-15/nailboard into branch/2014-03-25/ansi to pick up nailboardtest windows fix.
Copied from Perforce
 Change: 185043
 ServerID: perforce.ravenbrook.com
2014-03-27 12:29:01 +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
74c04b45f0 Provide three different test targets for different purposes:
* testrun = "smoke test", fast enough to run before every commit
* testci = continuous integration tests, must be known good
* testall = all test cases, for ensuring quality of a release
Switch the main "make test" from testrun to testci.
Put test cases into "database" so that they can be selected.

Copied from Perforce
 Change: 185039
 ServerID: perforce.ravenbrook.com
2014-03-27 11:52:27 +00:00
Gareth Rees
27d46c4557 Catch-up merge from master sources to branch/2014-03-21/pellesc.
Copied from Perforce
 Change: 184985
 ServerID: perforce.ravenbrook.com
2014-03-24 20:43:49 +00:00
Gareth Rees
603f3ab4d6 Update file types: add +k (keyword expansion).
Copied from Perforce
 Change: 184983
 ServerID: perforce.ravenbrook.com
2014-03-24 20:35:01 +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
b530338b86 Better to use /bin/sh and not have such fancy syntax.
Copied from Perforce
 Change: 184960
 ServerID: perforce.ravenbrook.com
2014-03-22 18:25:33 +00:00
Gareth Rees
9fc55a379f Testrun.sh needs to be run by bash in order to use a list.
Copied from Perforce
 Change: 184959
 ServerID: perforce.ravenbrook.com
2014-03-22 18:15:06 +00:00
Gareth Rees
15d585558e 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
6d2a13cbcd Fix links.
Copied from Perforce
 Change: 184956
 ServerID: perforce.ravenbrook.com
2014-03-22 16:18:29 +00:00
Gareth Rees
0567ab1a90 Update tool index.
Copied from Perforce
 Change: 184955
 ServerID: perforce.ravenbrook.com
2014-03-22 16:17:09 +00:00
Gareth Rees
15b9838d34 Use .format(**d) instead of .format_map(d) for portability to python 2.
Copied from Perforce
 Change: 184938
 ServerID: perforce.ravenbrook.com
2014-03-21 15:37:28 +00:00
Gareth Rees
9930b9c807 Move coverage testing out of the xcode project (to avoid normal debug builds being slowed down by coverage instrumentation, and to avoid error messages when the tests are unable to update the coverage data).
Copied from Perforce
 Change: 184931
 ServerID: perforce.ravenbrook.com
2014-03-21 12:51:06 +00:00
Gareth Rees
369966be2c Note supported platforms and prerequisites.
Copied from Perforce
 Change: 184928
 ServerID: perforce.ravenbrook.com
2014-03-21 12:22:45 +00:00
Gareth Rees
94dac456fb Support for pushing development branches to github.
Copied from Perforce
 Change: 184927
 ServerID: perforce.ravenbrook.com
2014-03-21 12:19:45 +00:00
Gareth Rees
6542484277 Open dylan continuous integration test (first draft).
Copied from Perforce
 Change: 184914
 ServerID: perforce.ravenbrook.com
2014-03-20 18:52:46 +00:00
Gareth Rees
3a249b1bfe Drop .py extension from python executables, as requested by rb.
Copied from Perforce
 Change: 184900
 ServerID: perforce.ravenbrook.com
2014-03-20 11:36:58 +00:00
Gareth Rees
a0fdeb7cae Delete the temporary client more reliably.
Copied from Perforce
 Change: 184893
 ServerID: perforce.ravenbrook.com
2014-03-19 23:01:39 +00:00
Gareth Rees
372b3ecb9a Automate more of the release registration steps.
Copied from Perforce
 Change: 184892
 ServerID: perforce.ravenbrook.com
2014-03-19 23:01:23 +00:00
Gareth Rees
dc86e379b1 Improvements to automation of procedures:
* branch.py now registers task and version branches, creates the git-fusion client for a version branch, and updates the table of pushes.
* release.py is more careful to be idempotent if re-run.

Copied from Perforce
 Change: 184888
 ServerID: perforce.ravenbrook.com
2014-03-19 17:50:32 +00:00
Gareth Rees
dab8f232c5 New methods connection.temp_client for creating a temporary client workspace, and connection.do for encapsulating run().done().
Copied from Perforce
 Change: 184887
 ServerID: perforce.ravenbrook.com
2014-03-19 17:48:02 +00:00
Gareth Rees
970d0b5fa7 New script release.py automates the process of making a release.
Copied from Perforce
 Change: 184871
 ServerID: perforce.ravenbrook.com
2014-03-18 18:15:34 +00:00
Gareth Rees
be18eb6e74 New script branch.py automates the process of creating a branch.
Copied from Perforce
 Change: 184864
 ServerID: perforce.ravenbrook.com
2014-03-18 15:47:18 +00:00
Gareth Rees
b9449c3066 Fix links.
Copied from Perforce
 Change: 183961
 ServerID: perforce.ravenbrook.com
2014-01-13 13:28:18 +00:00
Gareth Rees
acc6ba5d60 Improve process documents. convert tool index to restructuredtext.
Copied from Perforce
 Change: 183959
 ServerID: perforce.ravenbrook.com
2014-01-13 12:53:07 +00:00
Gareth Rees
dfe11f4734 Correct pass_count to fail_count in testrun.bat.
locbwcss shouldn't fail if there are non-contiguous allocations. Those are perfectly legitimate (MVFF uses CBS, which needs to allocate nodes in its splay tree).

Copied from Perforce
 Change: 183047
 ServerID: perforce.ravenbrook.com
2013-07-15 17:09:39 +01:00
Gareth Rees
ca777655bc Improve reporting of test failures on windows, so that the continuous integration is helpful.
Copied from Perforce
 Change: 183043
 ServerID: perforce.ravenbrook.com
2013-07-15 16:39:22 +01:00
Gareth Rees
3978907de4 Delete test-runner.py: this was obsoleted by the variety reform and by improvements to the build system.
Copied from Perforce
 Change: 182569
 ServerID: perforce.ravenbrook.com
2013-06-06 13:46:57 +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
540923be65 Document gcovfmt.py and testrun.sh. test-runner.py is no longer used.
Copied from Perforce
 Change: 182167
 ServerID: perforce.ravenbrook.com
2013-05-24 18:17:43 +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
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
Richard Brooksby
8a7c20ac96 Moving build-aux out of the way to tools/autoconf.
Correcting build and clean target substitutions for Mac OS X.
Adding Makefile rule for configure itself, running autoreconf.

Copied from Perforce
 Change: 179375
 ServerID: perforce.ravenbrook.com
2012-09-09 20:33:44 +01:00