* Provide and use new convenience macros to test for exceptions.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
9d372117
DH
12001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
2
3 * tests/alist.test: Remove redundant test name prefix.
4
52001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
5c96bc39
DH
6
7 * lib.scm (pass-if): Tests shall return a boolean value.
8
9 * tests/bit-operations.test (documented?), tests/common-list.test
10 (documented?), tests/environments.test (documented?),
11 tests/eval.test (documented?), tests/gc.test (documented?),
12 tests/numbers.test (documented?), tests/guardians.test,
13 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
14 that tests return a boolean value.
15
16 * tests/list.test (documented?): New function, replace all checks
17 for documentation with calls to this function.
18
ac6849ff
DH
192001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
20
21 * lib.scm (data-file): Remove from export list.
22
8fbe6998
TTN
232001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
24
5d7aab2e
TTN
25 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
26 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
27 (syntax reading): New section.
28 (syntax let*): New section.
29 (syntax letrec): New section.
30 (syntax set!): New section.
31 (syntax misc): New section.
32 (bindings unbound): New section.
33 (bindings immutable-modification): New section.
34 (bindings let): New section.
35 (bindings let*): New section.
36 (bindings letrec): New section.
37
8fbe6998
TTN
38 * tests/exceptions.test: New file.
39
548728ea
MV
402001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
41
42 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
43 and-let*).
44
efb07c89
DH
452001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
46
47 This patch fixes things that I have broken with the last one :-(
48
49 * guile-test (test-suite): New variable.
50
51 (data-file-name): New function. Has the same purpose as the
52 former function data-file from lib.scm. Moved here in order to
53 have all file name handling at the same place. In contrast to the
54 former 'data-file function, it is not checked whether a file
55 exists. This allows to use this function also for file names of
56 files that are still to be created.
57
58 (test-file-name): Use the global 'test-suite variable.
59
60 (main): Initialize 'test-suite instead of a local variable.
61
62 * lib.scm: Don't import paths any more.
63
64 (data-file): Removed. Resurrected with a sligtly different
65 functionality as 'data-file-name' in guile-test.
66
67 * r4rs.scm: For all references to temporary file, make use of
68 data-file-name.
69
1ff7abbe
DH
702001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
71
72 The following patch was sent by Thien-Thi Nguyen and a little bit
73 modified by me.
74
75 * guile-test: Usage and installation comments improved. Added
76 support for --test-suite and --debug command line options.
77
78 (default-test-suite): Added to allow for simplified
79 configurability. No need to load the paths file any more.
80
81 (enable-debug-mode): New function. Will be called when the
82 --debug command line option is given.
83
84 (test-root): Removed. The test directory has to be fully given.
85 This allows for arbitrarily named test directories.
86
87 (test-file-name, enumerate-tets): Take the test directory as a
88 paramter instead of using the global variable 'test-root'.
89
90 (main): Handle the new command line options. Return an exit code
91 depending on whether all tests came out as expected.
92
93 * README: Updated.
94
95 * paths.scm: Removed.
96
22d35615
GH
972001-01-24 Gary Houston <ghouston@arglist.com>
98
99 * tests/ports.test: include (ice-9 rdelim) module.
100
21e39e8f
DH
1012001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
102
103 * tests/numbers.test: Converted to do real boundary testing.
104
339bfe47
DH
1052001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
106
107 * tests/bit-operations.test: Added.
108
53a53bd7
DH
1092000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
110
111 * tests/gc.test: Added.
112
b3b8952a
DH
1132000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
114
115 * tests/strings.test: string=? is fixed.
116
daa6ba18
DH
1172000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
118
119 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
120
548b9252
DH
1212000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
122
123 * tests/strings.test: Added a test to help remember that string=?
124 and friends need fixing.
125
41505259
DH
1262000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
127
128 * tests/environments.test: For tests that rely on garbage
129 collection, conservative scanning can be a problem. Add a comment
130 for these tests and make them turn out unresolved if things don't
131 work as expected.
132
034b924f
DH
1332000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
134
135 * tests/environments.test: Finished and cleaned up the tests for
136 the leaf environments. Added a complete set of testcases for the
137 leaf environment based eval environments. Started with the tests
138 for the import environments.
139
5d3e2388
DH
1402000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
141
142 * tests/environments.test: Added.
143
6ad9007a
DH
1442000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
145
146 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
147 of expressions.
148
149 * tests/eval.test: Fix documentation test.
150
685c0d71
DH
1512000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
152
153 * tests/list.test: Added tests for list-ref, list-set! and
154 list-cdr-set!
155
e5d2c2fa
DH
1562000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
157
158 * tests/common-list.test: Added.
159
141443d7
DH
1602000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
161
162 * tests/eval.test: Added.
163
0a9e521f
MD
1642000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
165
166 * tests/list.test: Use cons* instead of list*.
167
1c4ae8de
MD
1682000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
169
170 * tests/numbers.test, tests/list.test: Updated for new
171 documentation module.
172
e11f8b42
DH
1732000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
174
175 * tests/hooks.test: make-hook-with-name is deprecated.
176
de142bea
DH
1772000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
178
179 * tests/list.test, tests/numbers.test: Added.
180
57e7f270
DH
1812000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
182
183 * guile-test: Eliminate use of catch-test-errors.
184
185 * lib.scm: Adopted a couple of nice ideas from Greg.
186
187 (pass, fail, expect-failure, expect-failure-if,
188 expect-failure-if*, catch-test-errors, catch-test-errors*,
189 expected-failure-fluid, pessimist?): Removed.
190
191 (run-test, expect-fail, result-tags, important-result-tags):
192 Added.
193
194 (report, make-count-reporter, print-counts, make-log-reporter,
195 full-reporter, user-reporter): Reporters take two mandatory
196 arguments and make use of the tag descriptions in result-tags and
197 important-result-tags.
198
199 * tests/alist.test, tests/hooks.test, tests/ports.test,
200 tests/weaks.test: Don't use catch-test-errors and
201 expect-failure-if.
202
b2e37c5a
DH
2032000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
204
205 * mambo.test: Removed dummy file.
206
47a4dcc5
GH
2072000-03-31 Gary Houston <ghouston@arglist.com>
208
209 * tests/ports.test (non-blocking-I/O): a couple more details:
210 a) combine the O_NONBLOCK flag with the default flags instead
211 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
212
33cd325f
JB
2132000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
214
215 * lib.scm: Doc fixes.
216
153511a7
GB
217Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
218
219 * paths.scm: Assume that ~/guile-core/test-suite is the location
220 of the test suite now.
221
222 * tests/version.test: Added -- version.c had 0% coverage before,
223 now at 100%.
224
225 * tests/chars.test: Added -- needed test of char-is-both?.
226
15b08ebd
MD
2271999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
228
22efa996 229 * tests/weaks.test, tests/hooks.test: Added.
15b08ebd 230
807bfa83
MD
2311999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
232
233 * tests/alist.test: Added.
234
9fac976e
GB
235Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
236
237 * tests/c-api.test: Refine the list of files that are checked in
238 the seek-offset-test. Was just using files that end in "c", but
8fbe6998 239 that caught the new ".doc" files, too, so make sure that files end
9fac976e
GB
240 in ".c" before requiring that they include unistd.h if they
241 reference SEEK_(SET|CUR|END).
242
2d9e5bca
GH
2431999-10-24 Gary Houston <ghouston@freewire.co.uk>
244
245 * tests/ports.test ("string ports"): test seeking/unreading from
246 an input string and seeking an output string.
247
22a92623
GH
2481999-10-20 Gary Houston <ghouston@freewire.co.uk>
249
250 * tests/ports.test: in seek/tell test on input port, also test
251 that ftell doesn't discard unread chars.
252
4fcd6551
GH
2531999-10-18 Gary Houston <ghouston@freewire.co.uk>
254
255 * tests/ports.test: add seek/tell tests for unidirectional ports.
256
e59373d6
JB
2571999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
258
259 * tests/reader.test: Check that number->string checks its radix
260 properly.
8fbe6998 261
d033ad53
JB
2621999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
263
65b57e21
JB
264 * tests/ports.test: Check that our input functions cope when
265 current-input-port is closed.
266
d033ad53
JB
267 * tests/regexp.test: Check regexp-substitute/global when there are
268 no matches. (Duh.)
269
8c592a93
MD
2701999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
271
272 * tests/c-api.test: New file. Add test to check that all source
273 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
274
6e822cce
GH
2751999-09-14 Gary Houston <ghouston@freewire.co.uk>
276
277 * tests/ports.test: test non-blocking I/O.
278
b142c81d
JB
2791999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
280
281 * tests/strings.test: Add test for substring-move! argument checking.
282
283 * lib.scm (signals-error?, signals-error?*): New macro and function.
284 * tests/reader.test: Use them.
285
286 * tests/interp.test: Add copyright notice.
287
288 * tests/reader.test: New test file.
289
290 * tests/regexp.test: New test file.
291
95912c4d
MD
2921999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
293
294 * tests/interp.test: Added tests for evaluation of closure bodies.
295
51357176
JB
2961999-09-03 James Blandy <jimb@mule.m17n.org>
297
298 * tests/multilingual.nottest: New file, which we will turn into a
299 test file once we actually have multilingual support to test.
300
301 * tests/load.test: New test file.
302
6658356f
JB
3031999-08-30 James Blandy <jimb@mule.m17n.org>
304
305 * tests/strings.test: New test file.
306
d1b143e9
GH
3071999-08-29 Gary Houston <ghouston@easynet.co.uk>
308
309 * tests/ports.test: test unread-char and unread-string.
310
0eb2e8cd
GH
3111999-08-19 Gary Houston <ghouston@easynet.co.uk>
312
313 * tests/ports.test: test line-buffering of fports.
314
7f214e60
GH
3151999-08-18 Gary Houston <ghouston@easynet.co.uk>
316
317 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
318
75efe453
GH
3191999-08-12 Gary Houston <ghouston@easynet.co.uk>
320
321 * tests/ports.test: lseek -> seek.
322
7c035009
GH
3231999-08-04 Gary Houston <ghouston@easynet.co.uk>
324
325 * tests/ports.test: tests for buffered and unbuffered input/output
326 fports with seeking.
327
769f054d
JB
3281999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
329
330 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
331 corresponds to an example object, not a predicate. Aubrey
332 probably never noticed this because SCM doesn't check the lengths
333 of the arguments to for-each and map...
334
335 * tests/ports.test: Add some regression tests for char-ready?.
336
a3bb43e5
JB
3371999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
338
769f054d
JB
339 * tests/ports.test: Fix copyright years.
340
341 * tests/guardians.test: New test file.
342
a3bb43e5
JB
343 * tests/ports.test ("read-delimited!"): New tests.
344
9bb7a7ef
JB
3451999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
346
347 * tests/interp.test: New file.
348
70c4c075
JB
3491999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
350
efcbc5eb
JB
351 * tests/time.test: New test file.
352
70c4c075
JB
353 * tests/r4rs.test: New set of tests, taken from Guile's test
354 script, taken from SCM.
355
356 * tests/ports.test: Group the string port tests under a new
357 test name prefix.
358
359 * tests/ports.test ("line counter"): Check the final column, too.
360
361 * lib.scm: Import (test-suite paths).
362 (data-file): New exported function.
363
3641999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
365
366 * tests/ports.test ("line counter"): Add test for correct column
367 at EOF.
368
30521685
JB
3691999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
370
e6c32806
JB
371 * tests/ports.test ("line counter"): Verify that we do eventually
372 get EOF on the port --- don't just read forever.
373
30521685
JB
374 * lib.scm (full-reporter): The test name is the cadr of the
375 result, not the cdr. I'm not macho enough to handle run-time
376 typechecking.
377
e6c32806
JB
378 * lib.scm (print-counts): XFAILS are "expected failures", not
379 "unexpected failures."
380
30521685
JB
381 * lib.scm, guile-test, paths.scm: Log begins.
382