Gareth Rees
3468b3c068
Modernize and fix more test cases:
...
* Missing mps_chain_destroy in function/132.
* Need to use platform alignment in the MVFF test cases (function/163, function/164, function/165, function/167, function/170)
* Avoid type pun in function/226.
Update testsets/passing accordingly.
Copied from Perforce
Change: 182262
ServerID: perforce.ravenbrook.com
2013-05-27 13:38:04 +01:00
Gareth Rees
216df55095
Fixes for the mmqa test harness:
...
* Clang helpfully annotates its "Undefined symbols" error messages with lines of the form "(maybe you meant: _mps_ap_trip)". To avoid false positives, we must ignore these lines in scrutinize().
* We can now get the correct MPS_PF_ALIGN out of mpstd.h instead of declaring it ourselves.
* Need to include mpslib.h for the declaration of mps_lib_assert_fail_install.
Copied from Perforce
Change: 182261
ServerID: perforce.ravenbrook.com
2013-05-27 13:27:29 +01:00
Gareth Rees
7fdf601e96
Status of mmqa function tests on os x.
...
Copied from Perforce
Change: 182238
ServerID: perforce.ravenbrook.com
2013-05-25 23:05:00 +01:00
Gareth Rees
fb3da86ab1
Mps_park is now mps_arena_park.
...
Copied from Perforce
Change: 182237
ServerID: perforce.ravenbrook.com
2013-05-25 23:04:11 +01:00
Gareth Rees
7c0056b720
Avoid puns in mps_root_create_table.
...
Copied from Perforce
Change: 182236
ServerID: perforce.ravenbrook.com
2013-05-25 23:03:51 +01:00
Gareth Rees
c014a160ac
Avoid test failure in function/120: can't provoke resresource so easily.
...
Copied from Perforce
Change: 182234
ServerID: perforce.ravenbrook.com
2013-05-25 20:18:07 +01:00
Gareth Rees
5db989ff27
Interface to mps_finalize has changed.
...
Copied from Perforce
Change: 182233
ServerID: perforce.ravenbrook.com
2013-05-25 19:20:00 +01:00
Gareth Rees
40ddc77dee
Avoid type pun in mps_root_create_table.
...
Copied from Perforce
Change: 182232
ServerID: perforce.ravenbrook.com
2013-05-25 18:34:53 +01:00
Gareth Rees
0cedf996ec
More test maintenance: mps_message_type_finalization is now mps_message_type_finalization().
...
Copied from Perforce
Change: 182229
ServerID: perforce.ravenbrook.com
2013-05-25 15:54:40 +01:00
Gareth Rees
6eef272bad
Several formats need a find-dependent function.
...
Copied from Perforce
Change: 182228
ServerID: perforce.ravenbrook.com
2013-05-25 15:45:26 +01:00
Gareth Rees
ffd00d9837
More test maintenance: exfmt needs a find-dependent function too.
...
Copied from Perforce
Change: 182222
ServerID: perforce.ravenbrook.com
2013-05-25 14:55:10 +01:00
Gareth Rees
6dc3173077
More test maintenance: mps_class_awl() now takes a find-dependent-object function.
...
Copied from Perforce
Change: 182219
ServerID: perforce.ravenbrook.com
2013-05-25 14:37:17 +01:00
Gareth Rees
18352702a5
Recognize "segmentation fault" as a test failure.
...
Copied from Perforce
Change: 182218
ServerID: perforce.ravenbrook.com
2013-05-25 14:35:10 +01:00
Gareth Rees
87a92d595e
Don't scrutinize windows headers on unix.
...
Copied from Perforce
Change: 182213
ServerID: perforce.ravenbrook.com
2013-05-25 13:20:12 +01:00
Gareth Rees
ebaceec812
Set mail_results option to "off".
...
Copied from Perforce
Change: 182212
ServerID: perforce.ravenbrook.com
2013-05-25 13:03:00 +01:00
Gareth Rees
f9c1a044ac
Use rmtree instead of unlink: clang creates directories.
...
Copied from Perforce
Change: 182211
ServerID: perforce.ravenbrook.com
2013-05-25 12:49:07 +01:00
Gareth Rees
e5d7987978
Fix detection of program abort: not necessarily at start of line.
...
Copied from Perforce
Change: 182210
ServerID: perforce.ravenbrook.com
2013-05-25 12:44:53 +01:00
Gareth Rees
e747fae50b
Comment out calls to &mailfile: we don't need this.
...
Copied from Perforce
Change: 182209
ServerID: perforce.ravenbrook.com
2013-05-25 12:44:17 +01:00
Gareth Rees
bef1a40374
Change $hopename$ to $id$.
...
Copied from Perforce
Change: 182204
ServerID: perforce.ravenbrook.com
2013-05-25 12:25:45 +01:00
Gareth Rees
e4b2c9363d
Remove compiler options that are not supported by clang.
...
Copied from Perforce
Change: 182203
ServerID: perforce.ravenbrook.com
2013-05-25 12:00:50 +01:00
Gareth Rees
25f606b33b
More test maintenance:
...
mps_class_amc() now takes a generation chain.
Copied from Perforce
Change: 182202
ServerID: perforce.ravenbrook.com
2013-05-25 11:35:44 +01:00
Gareth Rees
45d09b045a
Long delayed maintenance of test suite:
...
$HopeName$ -> $Id$
space -> arena
mps_arena_create now takes three arguments
/usr/local/perl -> /usr/bin/perl -w
Missing #include <stdio.h> in several tests
Bogus closedir(DIR); in script/clib
Copied from Perforce
Change: 182199
ServerID: perforce.ravenbrook.com
2013-05-25 10:33:30 +01:00
Richard Brooksby
e5234264fe
Fixing up mps_rank_* to the new interface as a step towards reviving the old test suite.
...
Copied from Perforce
Change: 182174
ServerID: perforce.ravenbrook.com
2013-05-24 19:23:01 +01:00
Richard Brooksby
0f4b6dc65d
Removed support for old or dead platforms: osf/1, irix, mac system 7, sunos, windows nt on alpha, windows nt on powerpc.
...
See <https://github.com/datafueled/memory-pool-system/pull/3 > for the origin of this change.
Copied from Perforce
Change: 178872
ServerID: perforce.ravenbrook.com
2012-08-08 19:02:57 +01:00
Richard Kistruck
ed8fdeb8e2
mmqs: put plinth into testlib
...
Copied from Perforce
Change: 146056
ServerID: perforce.ravenbrook.com
2005-02-23 15:43:15 +00:00
Richard Kistruck
847442e219
Mmqa: new plinth includes assertion handler if you need it
...
MPS_PF_ALIGN hackly defined to be 8 in testlib.h
Copied from Perforce
Change: 146052
ServerID: perforce.ravenbrook.com
2005-02-23 15:22:26 +00:00
Richard Kistruck
799b38eef2
mend mmqa product detection via mps version string.
...
Changed HQNMPS to Ravenbrook MPS; see mps/master/code/version.c
Copied from Perforce
Change: 146031
ServerID: perforce.ravenbrook.com
2005-02-23 11:54:15 +00:00
Nick Barnes
27597d15d8
Fix up mps documents and delete some scriptworks-specific stuff.
...
Copied from Perforce
Change: 30252
ServerID: perforce.ravenbrook.com
2002-06-18 14:59:14 +01:00
Nick Barnes
d784feff11
Redact test subdirectory to remove global graphics confidential stuff.
...
Copied from Perforce
Change: 29874
ServerID: perforce.ravenbrook.com
2002-06-07 12:45:38 +01:00
Nick Barnes
88e5e63275
Branch imports for masters.
...
Copied from Perforce
Change: 23678
ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00