* print.c (scm_print_options): Fixed texinfo in docstring.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
d19b0aac
MV
12001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
2
3 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
4 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
5 been fixed.
6
2fd945df
MV
72001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
8
97d41e3e
MV
9 * tests/syntax.test ("duplicate formals"): New category, move
10 appropriate tests here. Expect them to pass.
11 ("empty parentheses"): Expect to pass, bug has been fixed.
12
2fd945df
MV
13 * tests/alist.test: Use "'()" instead of "()" in all places
14 where the empty list is meant.
15
f29b3454
DH
162001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
17
08c608e1
DH
18 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
19 exported constants.
f29b3454 20
08c608e1
DH
21 * tests/r4rs.test: Make sure that no bindings for x and y exist
22 after the file is loaded.
23
24 * tests/syntax.test: New file.
25
26 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
27 Moved the test cases that are related to guile's syntactic forms
28 from tests/exceptions.test to tests/syntax.test. Moved tests
29 related to evaluation and application to tests/eval.test.
30
31 * tests/exceptions.test: Added some test cases that check guile's
97d41e3e 32
08c608e1
DH
33 exception handling.
34
352001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
36
37 * tests/exceptions.test, tests/numbers.test: Moved the number
38 related test cases from tests/exceptions.test to
39 tests/numbers.test.
40
41 * tests/numbers.test: Added a test case.
f29b3454 42
049fa449
DH
432001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
44
08c608e1 45 * tests/symbols.test: New file.
049fa449
DH
46
47 (exception:immutable-string): New constant. Currently, this is a
48 dummy since guile does not have immutable strings.
49
08c608e1
DH
50 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
51 Moved the string related test cases from tests/exceptions.test to
52 tests/strings.test and the symbol related test cases to
53 tests/symbols.test.
049fa449 54
08c608e1
DH
55 * tests/strings.test: Copyright notice updated. Added a couple
56 of test cases.
049fa449
DH
57
58 (exception:immutable-string): New constant. Currently, this is a
59 dummy since guile does not have immutable strings.
60
1b5b19c9
DH
612001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
62
08c608e1
DH
63 * tests/exceptions.test: Use expect-fail-exception to indicate
64 test cases where exceptions should occur, but don't.
1b5b19c9
DH
65
66 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
67 exception:missing/extra-expr): New constants.
68
ef9709da
DH
692001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
70
08c608e1
DH
71 * tests/reader.test, tests/exceptions.test: Moved the reader
72 related test cases from tests/exceptions.test to
73 tests/reader.test.
ef9709da 74
08c608e1
DH
75 * tests/reader.test (exception:eof, exception:unexpected-rparen):
76 New constants.
ef9709da 77
08c608e1 78 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
ef9709da
DH
79 Removed.
80
88f9ab70
DH
812001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
82
83 * lib.scm (signals-error?, signals-error?*): Removed.
84
0bfa4a17
DH
852001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
86
87 * lib.scm: Added comment about new convenience functions/macros
88 to test for exceptions.
89
90 (exception:out-of-range, exception:wrong-type-arg): New exported
91 constants.
92
93 (run-test-exception): New function.
94
95 (pass-if-exception, expect-fail-exception): New exported macros.
96
97 * tests/environments.test: Fixed tests that were checking for
98 exceptions when set!ing an unbound symbol.
99
100 (exception:unbound-symbol): New constant.
101
102 * tests/hooks.test (catch-error-returning-true, pass-if-not,
103 catch-error-returning-false), tests/weaks.test
104 (catch-error-returning-true, pass-if-not,
105 catch-error-returning-false): Removed. The macro pass-if-not was
106 not used. The macro catch-error-returning-false is unnecessary
107 since exceptions are caught by the test-suite anyway. The
108 functionality of catch-error-returning-true is provided by the new
109 convenience macro pass-if-exception.
110
111 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
112 Maybe a standard wrong-num-arg exception should be thrown instead
113 of a misc-error?
114
115 * tests/reader.test (try-to-read): Replaced by read-string.
116
117 (read-string): New function.
118
119 * tests/alist.test, tests/environments.test, tests/eval.test,
120 tests/hooks.test, tests/list.test, tests/ports.test,
121 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
122 tests for exceptions with the new convenience macros.
123
9d372117
DH
1242001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
125
126 * tests/alist.test: Remove redundant test name prefix.
127
1282001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
5c96bc39
DH
129
130 * lib.scm (pass-if): Tests shall return a boolean value.
131
132 * tests/bit-operations.test (documented?), tests/common-list.test
133 (documented?), tests/environments.test (documented?),
134 tests/eval.test (documented?), tests/gc.test (documented?),
135 tests/numbers.test (documented?), tests/guardians.test,
136 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
137 that tests return a boolean value.
138
139 * tests/list.test (documented?): New function, replace all checks
140 for documentation with calls to this function.
141
ac6849ff
DH
1422001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
143
144 * lib.scm (data-file): Remove from export list.
145
8fbe6998
TTN
1462001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
147
5d7aab2e
TTN
148 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
149 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
150 (syntax reading): New section.
151 (syntax let*): New section.
152 (syntax letrec): New section.
153 (syntax set!): New section.
154 (syntax misc): New section.
155 (bindings unbound): New section.
156 (bindings immutable-modification): New section.
157 (bindings let): New section.
158 (bindings let*): New section.
159 (bindings letrec): New section.
160
8fbe6998
TTN
161 * tests/exceptions.test: New file.
162
548728ea
MV
1632001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
164
165 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
166 and-let*).
167
efb07c89
DH
1682001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
169
170 This patch fixes things that I have broken with the last one :-(
171
172 * guile-test (test-suite): New variable.
173
174 (data-file-name): New function. Has the same purpose as the
175 former function data-file from lib.scm. Moved here in order to
176 have all file name handling at the same place. In contrast to the
177 former 'data-file function, it is not checked whether a file
178 exists. This allows to use this function also for file names of
179 files that are still to be created.
180
181 (test-file-name): Use the global 'test-suite variable.
182
183 (main): Initialize 'test-suite instead of a local variable.
184
185 * lib.scm: Don't import paths any more.
186
187 (data-file): Removed. Resurrected with a sligtly different
188 functionality as 'data-file-name' in guile-test.
189
190 * r4rs.scm: For all references to temporary file, make use of
191 data-file-name.
192
1ff7abbe
DH
1932001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
194
195 The following patch was sent by Thien-Thi Nguyen and a little bit
196 modified by me.
197
198 * guile-test: Usage and installation comments improved. Added
199 support for --test-suite and --debug command line options.
200
201 (default-test-suite): Added to allow for simplified
202 configurability. No need to load the paths file any more.
203
204 (enable-debug-mode): New function. Will be called when the
205 --debug command line option is given.
206
207 (test-root): Removed. The test directory has to be fully given.
208 This allows for arbitrarily named test directories.
209
210 (test-file-name, enumerate-tets): Take the test directory as a
211 paramter instead of using the global variable 'test-root'.
212
213 (main): Handle the new command line options. Return an exit code
214 depending on whether all tests came out as expected.
215
216 * README: Updated.
217
218 * paths.scm: Removed.
219
22d35615
GH
2202001-01-24 Gary Houston <ghouston@arglist.com>
221
222 * tests/ports.test: include (ice-9 rdelim) module.
223
21e39e8f
DH
2242001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
225
226 * tests/numbers.test: Converted to do real boundary testing.
227
339bfe47
DH
2282001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
229
230 * tests/bit-operations.test: Added.
231
53a53bd7
DH
2322000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
233
234 * tests/gc.test: Added.
235
b3b8952a
DH
2362000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
237
238 * tests/strings.test: string=? is fixed.
239
daa6ba18
DH
2402000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
241
242 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
243
548b9252
DH
2442000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
245
246 * tests/strings.test: Added a test to help remember that string=?
247 and friends need fixing.
248
41505259
DH
2492000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
250
251 * tests/environments.test: For tests that rely on garbage
252 collection, conservative scanning can be a problem. Add a comment
253 for these tests and make them turn out unresolved if things don't
254 work as expected.
255
034b924f
DH
2562000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
257
258 * tests/environments.test: Finished and cleaned up the tests for
259 the leaf environments. Added a complete set of testcases for the
260 leaf environment based eval environments. Started with the tests
261 for the import environments.
262
5d3e2388
DH
2632000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
264
265 * tests/environments.test: Added.
266
6ad9007a
DH
2672000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
268
269 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
270 of expressions.
271
272 * tests/eval.test: Fix documentation test.
273
685c0d71
DH
2742000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
275
276 * tests/list.test: Added tests for list-ref, list-set! and
277 list-cdr-set!
278
e5d2c2fa
DH
2792000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
280
281 * tests/common-list.test: Added.
282
141443d7
DH
2832000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
284
285 * tests/eval.test: Added.
286
0a9e521f
MD
2872000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
288
289 * tests/list.test: Use cons* instead of list*.
290
1c4ae8de
MD
2912000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
292
293 * tests/numbers.test, tests/list.test: Updated for new
294 documentation module.
295
e11f8b42
DH
2962000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
297
298 * tests/hooks.test: make-hook-with-name is deprecated.
299
de142bea
DH
3002000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
301
302 * tests/list.test, tests/numbers.test: Added.
303
57e7f270
DH
3042000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
305
306 * guile-test: Eliminate use of catch-test-errors.
307
308 * lib.scm: Adopted a couple of nice ideas from Greg.
309
310 (pass, fail, expect-failure, expect-failure-if,
311 expect-failure-if*, catch-test-errors, catch-test-errors*,
312 expected-failure-fluid, pessimist?): Removed.
313
314 (run-test, expect-fail, result-tags, important-result-tags):
315 Added.
316
317 (report, make-count-reporter, print-counts, make-log-reporter,
318 full-reporter, user-reporter): Reporters take two mandatory
319 arguments and make use of the tag descriptions in result-tags and
320 important-result-tags.
321
322 * tests/alist.test, tests/hooks.test, tests/ports.test,
323 tests/weaks.test: Don't use catch-test-errors and
324 expect-failure-if.
325
b2e37c5a
DH
3262000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
327
328 * mambo.test: Removed dummy file.
329
47a4dcc5
GH
3302000-03-31 Gary Houston <ghouston@arglist.com>
331
332 * tests/ports.test (non-blocking-I/O): a couple more details:
333 a) combine the O_NONBLOCK flag with the default flags instead
334 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
335
33cd325f
JB
3362000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
337
338 * lib.scm: Doc fixes.
339
153511a7
GB
340Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
341
342 * paths.scm: Assume that ~/guile-core/test-suite is the location
343 of the test suite now.
344
345 * tests/version.test: Added -- version.c had 0% coverage before,
346 now at 100%.
347
348 * tests/chars.test: Added -- needed test of char-is-both?.
349
15b08ebd
MD
3501999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
351
22efa996 352 * tests/weaks.test, tests/hooks.test: Added.
15b08ebd 353
807bfa83
MD
3541999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
355
356 * tests/alist.test: Added.
357
9fac976e
GB
358Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
359
360 * tests/c-api.test: Refine the list of files that are checked in
361 the seek-offset-test. Was just using files that end in "c", but
8fbe6998 362 that caught the new ".doc" files, too, so make sure that files end
9fac976e
GB
363 in ".c" before requiring that they include unistd.h if they
364 reference SEEK_(SET|CUR|END).
365
2d9e5bca
GH
3661999-10-24 Gary Houston <ghouston@freewire.co.uk>
367
368 * tests/ports.test ("string ports"): test seeking/unreading from
369 an input string and seeking an output string.
370
22a92623
GH
3711999-10-20 Gary Houston <ghouston@freewire.co.uk>
372
373 * tests/ports.test: in seek/tell test on input port, also test
374 that ftell doesn't discard unread chars.
375
4fcd6551
GH
3761999-10-18 Gary Houston <ghouston@freewire.co.uk>
377
378 * tests/ports.test: add seek/tell tests for unidirectional ports.
379
e59373d6
JB
3801999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
381
382 * tests/reader.test: Check that number->string checks its radix
383 properly.
8fbe6998 384
d033ad53
JB
3851999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
386
65b57e21
JB
387 * tests/ports.test: Check that our input functions cope when
388 current-input-port is closed.
389
d033ad53
JB
390 * tests/regexp.test: Check regexp-substitute/global when there are
391 no matches. (Duh.)
392
8c592a93
MD
3931999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
394
395 * tests/c-api.test: New file. Add test to check that all source
396 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
397
6e822cce
GH
3981999-09-14 Gary Houston <ghouston@freewire.co.uk>
399
400 * tests/ports.test: test non-blocking I/O.
401
b142c81d
JB
4021999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
403
404 * tests/strings.test: Add test for substring-move! argument checking.
405
406 * lib.scm (signals-error?, signals-error?*): New macro and function.
407 * tests/reader.test: Use them.
408
409 * tests/interp.test: Add copyright notice.
410
411 * tests/reader.test: New test file.
412
413 * tests/regexp.test: New test file.
414
95912c4d
MD
4151999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
416
417 * tests/interp.test: Added tests for evaluation of closure bodies.
418
51357176
JB
4191999-09-03 James Blandy <jimb@mule.m17n.org>
420
421 * tests/multilingual.nottest: New file, which we will turn into a
422 test file once we actually have multilingual support to test.
423
424 * tests/load.test: New test file.
425
6658356f
JB
4261999-08-30 James Blandy <jimb@mule.m17n.org>
427
428 * tests/strings.test: New test file.
429
d1b143e9
GH
4301999-08-29 Gary Houston <ghouston@easynet.co.uk>
431
432 * tests/ports.test: test unread-char and unread-string.
433
0eb2e8cd
GH
4341999-08-19 Gary Houston <ghouston@easynet.co.uk>
435
436 * tests/ports.test: test line-buffering of fports.
437
7f214e60
GH
4381999-08-18 Gary Houston <ghouston@easynet.co.uk>
439
440 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
441
75efe453
GH
4421999-08-12 Gary Houston <ghouston@easynet.co.uk>
443
444 * tests/ports.test: lseek -> seek.
445
7c035009
GH
4461999-08-04 Gary Houston <ghouston@easynet.co.uk>
447
448 * tests/ports.test: tests for buffered and unbuffered input/output
449 fports with seeking.
450
769f054d
JB
4511999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
452
453 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
454 corresponds to an example object, not a predicate. Aubrey
455 probably never noticed this because SCM doesn't check the lengths
456 of the arguments to for-each and map...
457
458 * tests/ports.test: Add some regression tests for char-ready?.
459
a3bb43e5
JB
4601999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
461
769f054d
JB
462 * tests/ports.test: Fix copyright years.
463
464 * tests/guardians.test: New test file.
465
a3bb43e5
JB
466 * tests/ports.test ("read-delimited!"): New tests.
467
9bb7a7ef
JB
4681999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
469
470 * tests/interp.test: New file.
471
70c4c075
JB
4721999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
473
efcbc5eb
JB
474 * tests/time.test: New test file.
475
70c4c075
JB
476 * tests/r4rs.test: New set of tests, taken from Guile's test
477 script, taken from SCM.
478
479 * tests/ports.test: Group the string port tests under a new
480 test name prefix.
481
482 * tests/ports.test ("line counter"): Check the final column, too.
483
484 * lib.scm: Import (test-suite paths).
485 (data-file): New exported function.
486
4871999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
488
489 * tests/ports.test ("line counter"): Add test for correct column
490 at EOF.
491
30521685
JB
4921999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
493
e6c32806
JB
494 * tests/ports.test ("line counter"): Verify that we do eventually
495 get EOF on the port --- don't just read forever.
496
30521685
JB
497 * lib.scm (full-reporter): The test name is the cadr of the
498 result, not the cdr. I'm not macho enough to handle run-time
499 typechecking.
500
e6c32806
JB
501 * lib.scm (print-counts): XFAILS are "expected failures", not
502 "unexpected failures."
503
30521685
JB
504 * lib.scm, guile-test, paths.scm: Log begins.
505