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