Gareth Rees
21a69d0bfc
Fumbled the merge.
...
Copied from Perforce
Change: 186043
ServerID: perforce.ravenbrook.com
2014-05-12 18:53:10 +01:00
Gareth Rees
8a1418ea6d
Catch-up merge of testrun.sh (somehow got omitted).
...
Copied from Perforce
Change: 186042
ServerID: perforce.ravenbrook.com
2014-05-12 18:51:15 +01:00
Gareth Rees
35985c3587
Catch-up merge from master sources @186035 to branch/2014-03-25/ansi.
...
Copied from Perforce
Change: 186040
ServerID: perforce.ravenbrook.com
2014-05-12 18:42:33 +01:00
Gareth Rees
5ae19ee234
Improve coverage of events by turning on mps_telemetry_control=all and by running mpseventcnv, mpseventtxt and (if available) mpseventsql.
...
Copied from Perforce
Change: 186025
ServerID: perforce.ravenbrook.com
2014-05-12 12:54:33 +01:00
Gareth Rees
b9ccc0af7a
Fix problems identified by dl in < https://info.ravenbrook.com/mail/2014/04/30/12-47-23/0/ >.
...
Copied from Perforce
Change: 185897
ServerID: perforce.ravenbrook.com
2014-04-30 15:24:26 +01:00
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
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
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
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
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
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
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
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