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
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
1fc2bbe52b
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
3c543eb1a2
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
9ec2dfb001
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
9ef6788399
Avoid spurious output from rmdir.
...
Copied from Perforce
Change: 185078
ServerID: perforce.ravenbrook.com
2014-03-28 14:27:44 +00:00
Gareth Rees
1e3e57a070
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
afe3e238a0
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
ff331d736e
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
9d5266c0cc
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
70a45934ac
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
29b0fa91d2
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
b7da6941d8
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
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
278ef695ec
Fix links.
...
Copied from Perforce
Change: 184956
ServerID: perforce.ravenbrook.com
2014-03-22 16:18:29 +00:00
Gareth Rees
a3b66086ed
Update tool index.
...
Copied from Perforce
Change: 184955
ServerID: perforce.ravenbrook.com
2014-03-22 16:17:09 +00:00
Gareth Rees
2c732bdfba
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
9b9e33c6d6
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
44a74002b5
Note supported platforms and prerequisites.
...
Copied from Perforce
Change: 184928
ServerID: perforce.ravenbrook.com
2014-03-21 12:22:45 +00:00
Gareth Rees
ac6795e407
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
6e07f248cd
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
87a1b83f20
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
6604d891d6
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
6726b6ddc7
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
bddb20f682
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
2ded986ab5
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
3569334383
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
1fb1554f71
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
1a3a8433b2
Fix links.
...
Copied from Perforce
Change: 183961
ServerID: perforce.ravenbrook.com
2014-01-13 13:28:18 +00:00
Gareth Rees
13a23ce957
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
6cedb9d2dc
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
b4f973a6bf
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
1fccf16a37
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
3c5b19a611
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
f4b445d1b5
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
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
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
Richard Brooksby
a31e2340da
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
David Lovemore
1e6a42e2cf
Update test-runner.py to check sdk build target.
...
Copied from Perforce
Change: 178524
ServerID: perforce.ravenbrook.com
2012-06-28 14:53:30 +01:00
Peter Jackson
49a7e7eed7
Remove remnant diagnostic write.
...
Copied from Perforce
Change: 175967
ServerID: perforce.ravenbrook.com
2011-08-29 13:29:59 +01:00
Peter Jackson
d7136bdbc0
Mainline changes to make a standard nt build environment based on nt6.1
...
(Windows7) and its SDK. The w3i3m9 pseudo platform has been removed and
w3i3mv adjusted for this framework.
Copied from Perforce
Change: 175966
ServerID: perforce.ravenbrook.com
2011-08-29 13:09:37 +01:00
Richard Kistruck
e2598917f4
mps br/padding: mps_addr_pool(), mps_addr_fmt() -- new mps functions
...
mps.h, mpsicv.c: implementation
mpsicv.c: new addr_pool_test(), to test them
w3gen.def: export them
walkt0.c: test them within mps_arena_formatted_objects_walk(). (Also checks against values passed to stepper function, and against what we expect).
tool/test-runner.py: add walkt0
Copied from Perforce
Change: 169861
ServerID: perforce.ravenbrook.com
2010-02-26 16:33:49 +00:00
Richard Kistruck
fa2320a2ea
Mps br/padding: testrunner.py: vc9.0: build and run w3i3m9.
...
So user should do \vc9vars.bat before invoking ..\tool\testrunner.py
Copied from Perforce
Change: 169815
ServerID: perforce.ravenbrook.com
2010-02-12 15:27:48 +00:00
Richard Kistruck
afd07175dc
Mps br/timing test-runner.py: add new test "zmess", which tests generating and getting mps messages.
...
Copied from Perforce
Change: 167380
ServerID: perforce.ravenbrook.com
2009-02-16 16:25:31 +00:00
Richard Kistruck
91648d6e01
Mps br/awldiag: tool/mpsclasses.py: show the mps class hierarchy
...
A simple parser that finds DEFINE_CLASS (et al) macros, builds
the MPS class hierarchy, and prints the tree to stdout.
Copied from Perforce
Change: 163588
ServerID: perforce.ravenbrook.com
2007-12-04 18:50:11 +00:00
Richard Kistruck
f93349f9c7
Mps master: test-runner.py: varieties we, hi, di, ci.
...
Copied from Perforce
Change: 162947
ServerID: perforce.ravenbrook.com
2007-07-19 16:59:57 +01:00
Richard Kistruck
4a7eff7cbf
Mps master: integ from br/band/...@162786:
...
trace.c, design/trace, mpmst.h:
- fix job001658;
- (by making traceFindGrey aware of reference rank bands);
- tidy according to cstyle.
fin1658a.c, comm.gmk, commpost.nmk:
- new test for job001658.
tool/test-runner.py:
- platform detection.
w3build.bat:
- rearrange to reduce interleaving of different deliverables;
- only we, hi, di, ci;
- rmdir the release directory, before creating and populating it.
(version.c - empty-integrate)
Copied from Perforce
Change: 162787
ServerID: perforce.ravenbrook.com
2007-07-05 18:13:01 +01:00
David Jones
a60d3129c6
Mps: workaround for test-runner.py on windows.
...
Copied from Perforce
Change: 162757
ServerID: perforce.ravenbrook.com
2007-07-04 14:41:32 +01:00
David Jones
4fb64d880b
Mps: make test-runner cross platform.
...
Copied from Perforce
Change: 162754
ServerID: perforce.ravenbrook.com
2007-07-04 14:03:24 +01:00
Richard Kistruck
2071d96cf1
Mps 107 testrunner.py: all windows varieties
...
Copied from Perforce
Change: 161222
ServerID: perforce.ravenbrook.com
2006-12-13 17:54:49 +00:00