* Add docs-related authorship information.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
c685b42f
GH
12001-04-26 Gary Houston <ghouston@arglist.com>
2
3 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
4 have run.
5
6 * tests/ports.test (test-file), tests/load.test (temp-dir):
7 redefined using data-file-name instead of tmpnam. the test files
8 will be created in the build directory instead of /var/tmp or
9 whereever tmpnam puts them.
10
f5e64558
DH
112001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
12
13 * tests/symbols.c: Added some tests.
14
66301f9a
GH
152001-03-19 Gary Houston <ghouston@arglist.com>
16
17 * tests/r4rs.test: use test-file-name to locate r4rs.test,
18 not data-file-name.
19
20 * guile-test: define tmp-dir, the location where r4rs.test will
21 create it's temporary files.
22 (data-file-name): use tmp-dir. this must be under build-dir,
23 not src-dir.
24
51cfd7da
GH
252001-03-18 Gary Houston <ghouston@arglist.com>
26
27 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
28 first line.
29
e1a7b2ce
DH
302001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
31
32 * tests/syntax.test: Added a test for let* bindings and
33 re-arranged and slightly improved the existing one.
34
880c2858
MG
352001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
36
37 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
38 test, dups are allowed in `let*' and are now expected to pass.
39
8bc4547c
DH
402001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
41
42 * lib.scm (run-test-exception): Preserve the original error's
43 stack for re-throwing.
44
d19b0aac
MV
452001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
46
47 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
48 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
49 been fixed.
50
2fd945df
MV
512001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
52
97d41e3e
MV
53 * tests/syntax.test ("duplicate formals"): New category, move
54 appropriate tests here. Expect them to pass.
55 ("empty parentheses"): Expect to pass, bug has been fixed.
56
2fd945df
MV
57 * tests/alist.test: Use "'()" instead of "()" in all places
58 where the empty list is meant.
59
f29b3454
DH
602001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
61
08c608e1
DH
62 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
63 exported constants.
f29b3454 64
08c608e1
DH
65 * tests/r4rs.test: Make sure that no bindings for x and y exist
66 after the file is loaded.
67
68 * tests/syntax.test: New file.
69
70 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
71 Moved the test cases that are related to guile's syntactic forms
72 from tests/exceptions.test to tests/syntax.test. Moved tests
73 related to evaluation and application to tests/eval.test.
74
75 * tests/exceptions.test: Added some test cases that check guile's
76 exception handling.
77
782001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
79
80 * tests/exceptions.test, tests/numbers.test: Moved the number
81 related test cases from tests/exceptions.test to
82 tests/numbers.test.
83
84 * tests/numbers.test: Added a test case.
f29b3454 85
049fa449
DH
862001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
87
08c608e1 88 * tests/symbols.test: New file.
049fa449
DH
89
90 (exception:immutable-string): New constant. Currently, this is a
91 dummy since guile does not have immutable strings.
92
08c608e1
DH
93 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
94 Moved the string related test cases from tests/exceptions.test to
95 tests/strings.test and the symbol related test cases to
96 tests/symbols.test.
049fa449 97
08c608e1
DH
98 * tests/strings.test: Copyright notice updated. Added a couple
99 of test cases.
049fa449
DH
100
101 (exception:immutable-string): New constant. Currently, this is a
102 dummy since guile does not have immutable strings.
103
1b5b19c9
DH
1042001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
105
08c608e1
DH
106 * tests/exceptions.test: Use expect-fail-exception to indicate
107 test cases where exceptions should occur, but don't.
1b5b19c9
DH
108
109 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
110 exception:missing/extra-expr): New constants.
111
ef9709da
DH
1122001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
113
08c608e1
DH
114 * tests/reader.test, tests/exceptions.test: Moved the reader
115 related test cases from tests/exceptions.test to
116 tests/reader.test.
ef9709da 117
08c608e1
DH
118 * tests/reader.test (exception:eof, exception:unexpected-rparen):
119 New constants.
ef9709da 120
08c608e1 121 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
ef9709da
DH
122 Removed.
123
88f9ab70
DH
1242001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
125
126 * lib.scm (signals-error?, signals-error?*): Removed.
127
0bfa4a17
DH
1282001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
129
130 * lib.scm: Added comment about new convenience functions/macros
131 to test for exceptions.
132
133 (exception:out-of-range, exception:wrong-type-arg): New exported
134 constants.
135
136 (run-test-exception): New function.
137
138 (pass-if-exception, expect-fail-exception): New exported macros.
139
140 * tests/environments.test: Fixed tests that were checking for
141 exceptions when set!ing an unbound symbol.
142
143 (exception:unbound-symbol): New constant.
144
145 * tests/hooks.test (catch-error-returning-true, pass-if-not,
146 catch-error-returning-false), tests/weaks.test
147 (catch-error-returning-true, pass-if-not,
148 catch-error-returning-false): Removed. The macro pass-if-not was
149 not used. The macro catch-error-returning-false is unnecessary
150 since exceptions are caught by the test-suite anyway. The
151 functionality of catch-error-returning-true is provided by the new
152 convenience macro pass-if-exception.
153
154 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
155 Maybe a standard wrong-num-arg exception should be thrown instead
156 of a misc-error?
157
158 * tests/reader.test (try-to-read): Replaced by read-string.
159
160 (read-string): New function.
161
162 * tests/alist.test, tests/environments.test, tests/eval.test,
163 tests/hooks.test, tests/list.test, tests/ports.test,
164 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
165 tests for exceptions with the new convenience macros.
166
9d372117
DH
1672001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
168
169 * tests/alist.test: Remove redundant test name prefix.
170
1712001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
5c96bc39
DH
172
173 * lib.scm (pass-if): Tests shall return a boolean value.
174
175 * tests/bit-operations.test (documented?), tests/common-list.test
176 (documented?), tests/environments.test (documented?),
177 tests/eval.test (documented?), tests/gc.test (documented?),
178 tests/numbers.test (documented?), tests/guardians.test,
179 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
180 that tests return a boolean value.
181
182 * tests/list.test (documented?): New function, replace all checks
183 for documentation with calls to this function.
184
ac6849ff
DH
1852001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
186
187 * lib.scm (data-file): Remove from export list.
188
8fbe6998
TTN
1892001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
190
5d7aab2e
TTN
191 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
192 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
193 (syntax reading): New section.
194 (syntax let*): New section.
195 (syntax letrec): New section.
196 (syntax set!): New section.
197 (syntax misc): New section.
198 (bindings unbound): New section.
199 (bindings immutable-modification): New section.
200 (bindings let): New section.
201 (bindings let*): New section.
202 (bindings letrec): New section.
203
8fbe6998
TTN
204 * tests/exceptions.test: New file.
205
548728ea
MV
2062001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
207
208 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
209 and-let*).
210
efb07c89
DH
2112001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
212
213 This patch fixes things that I have broken with the last one :-(
214
215 * guile-test (test-suite): New variable.
216
217 (data-file-name): New function. Has the same purpose as the
218 former function data-file from lib.scm. Moved here in order to
219 have all file name handling at the same place. In contrast to the
220 former 'data-file function, it is not checked whether a file
221 exists. This allows to use this function also for file names of
222 files that are still to be created.
223
224 (test-file-name): Use the global 'test-suite variable.
225
226 (main): Initialize 'test-suite instead of a local variable.
227
228 * lib.scm: Don't import paths any more.
229
230 (data-file): Removed. Resurrected with a sligtly different
231 functionality as 'data-file-name' in guile-test.
232
233 * r4rs.scm: For all references to temporary file, make use of
234 data-file-name.
235
1ff7abbe
DH
2362001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
237
238 The following patch was sent by Thien-Thi Nguyen and a little bit
239 modified by me.
240
241 * guile-test: Usage and installation comments improved. Added
242 support for --test-suite and --debug command line options.
243
244 (default-test-suite): Added to allow for simplified
245 configurability. No need to load the paths file any more.
246
247 (enable-debug-mode): New function. Will be called when the
248 --debug command line option is given.
249
250 (test-root): Removed. The test directory has to be fully given.
251 This allows for arbitrarily named test directories.
252
253 (test-file-name, enumerate-tets): Take the test directory as a
254 paramter instead of using the global variable 'test-root'.
255
256 (main): Handle the new command line options. Return an exit code
257 depending on whether all tests came out as expected.
258
259 * README: Updated.
260
261 * paths.scm: Removed.
262
22d35615
GH
2632001-01-24 Gary Houston <ghouston@arglist.com>
264
265 * tests/ports.test: include (ice-9 rdelim) module.
266
21e39e8f
DH
2672001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
268
269 * tests/numbers.test: Converted to do real boundary testing.
270
339bfe47
DH
2712001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
272
273 * tests/bit-operations.test: Added.
274
53a53bd7
DH
2752000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
276
277 * tests/gc.test: Added.
278
b3b8952a
DH
2792000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
280
281 * tests/strings.test: string=? is fixed.
282
daa6ba18
DH
2832000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
284
285 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
286
548b9252
DH
2872000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
288
289 * tests/strings.test: Added a test to help remember that string=?
290 and friends need fixing.
291
41505259
DH
2922000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
293
294 * tests/environments.test: For tests that rely on garbage
295 collection, conservative scanning can be a problem. Add a comment
296 for these tests and make them turn out unresolved if things don't
297 work as expected.
298
034b924f
DH
2992000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
300
301 * tests/environments.test: Finished and cleaned up the tests for
302 the leaf environments. Added a complete set of testcases for the
303 leaf environment based eval environments. Started with the tests
304 for the import environments.
305
5d3e2388
DH
3062000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
307
308 * tests/environments.test: Added.
309
6ad9007a
DH
3102000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
311
312 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
313 of expressions.
314
315 * tests/eval.test: Fix documentation test.
316
685c0d71
DH
3172000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
318
319 * tests/list.test: Added tests for list-ref, list-set! and
320 list-cdr-set!
321
e5d2c2fa
DH
3222000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
323
324 * tests/common-list.test: Added.
325
141443d7
DH
3262000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
327
328 * tests/eval.test: Added.
329
0a9e521f
MD
3302000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
331
332 * tests/list.test: Use cons* instead of list*.
333
1c4ae8de
MD
3342000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
335
336 * tests/numbers.test, tests/list.test: Updated for new
337 documentation module.
338
e11f8b42
DH
3392000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
340
341 * tests/hooks.test: make-hook-with-name is deprecated.
342
de142bea
DH
3432000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
344
345 * tests/list.test, tests/numbers.test: Added.
346
57e7f270
DH
3472000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
348
349 * guile-test: Eliminate use of catch-test-errors.
350
351 * lib.scm: Adopted a couple of nice ideas from Greg.
352
353 (pass, fail, expect-failure, expect-failure-if,
354 expect-failure-if*, catch-test-errors, catch-test-errors*,
355 expected-failure-fluid, pessimist?): Removed.
356
357 (run-test, expect-fail, result-tags, important-result-tags):
358 Added.
359
360 (report, make-count-reporter, print-counts, make-log-reporter,
361 full-reporter, user-reporter): Reporters take two mandatory
362 arguments and make use of the tag descriptions in result-tags and
363 important-result-tags.
364
365 * tests/alist.test, tests/hooks.test, tests/ports.test,
366 tests/weaks.test: Don't use catch-test-errors and
367 expect-failure-if.
368
b2e37c5a
DH
3692000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
370
371 * mambo.test: Removed dummy file.
372
47a4dcc5
GH
3732000-03-31 Gary Houston <ghouston@arglist.com>
374
375 * tests/ports.test (non-blocking-I/O): a couple more details:
376 a) combine the O_NONBLOCK flag with the default flags instead
377 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
378
33cd325f
JB
3792000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
380
381 * lib.scm: Doc fixes.
382
153511a7
GB
383Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
384
385 * paths.scm: Assume that ~/guile-core/test-suite is the location
386 of the test suite now.
387
388 * tests/version.test: Added -- version.c had 0% coverage before,
389 now at 100%.
390
391 * tests/chars.test: Added -- needed test of char-is-both?.
392
15b08ebd
MD
3931999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
394
22efa996 395 * tests/weaks.test, tests/hooks.test: Added.
15b08ebd 396
807bfa83
MD
3971999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
398
399 * tests/alist.test: Added.
400
9fac976e
GB
401Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
402
403 * tests/c-api.test: Refine the list of files that are checked in
404 the seek-offset-test. Was just using files that end in "c", but
8fbe6998 405 that caught the new ".doc" files, too, so make sure that files end
9fac976e
GB
406 in ".c" before requiring that they include unistd.h if they
407 reference SEEK_(SET|CUR|END).
408
2d9e5bca
GH
4091999-10-24 Gary Houston <ghouston@freewire.co.uk>
410
411 * tests/ports.test ("string ports"): test seeking/unreading from
412 an input string and seeking an output string.
413
22a92623
GH
4141999-10-20 Gary Houston <ghouston@freewire.co.uk>
415
416 * tests/ports.test: in seek/tell test on input port, also test
417 that ftell doesn't discard unread chars.
418
4fcd6551
GH
4191999-10-18 Gary Houston <ghouston@freewire.co.uk>
420
421 * tests/ports.test: add seek/tell tests for unidirectional ports.
422
e59373d6
JB
4231999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
424
425 * tests/reader.test: Check that number->string checks its radix
426 properly.
8fbe6998 427
d033ad53
JB
4281999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
429
65b57e21
JB
430 * tests/ports.test: Check that our input functions cope when
431 current-input-port is closed.
432
d033ad53
JB
433 * tests/regexp.test: Check regexp-substitute/global when there are
434 no matches. (Duh.)
435
8c592a93
MD
4361999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
437
438 * tests/c-api.test: New file. Add test to check that all source
439 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
440
6e822cce
GH
4411999-09-14 Gary Houston <ghouston@freewire.co.uk>
442
443 * tests/ports.test: test non-blocking I/O.
444
b142c81d
JB
4451999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
446
447 * tests/strings.test: Add test for substring-move! argument checking.
448
449 * lib.scm (signals-error?, signals-error?*): New macro and function.
450 * tests/reader.test: Use them.
451
452 * tests/interp.test: Add copyright notice.
453
454 * tests/reader.test: New test file.
455
456 * tests/regexp.test: New test file.
457
95912c4d
MD
4581999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
459
460 * tests/interp.test: Added tests for evaluation of closure bodies.
461
51357176
JB
4621999-09-03 James Blandy <jimb@mule.m17n.org>
463
464 * tests/multilingual.nottest: New file, which we will turn into a
465 test file once we actually have multilingual support to test.
466
467 * tests/load.test: New test file.
468
6658356f
JB
4691999-08-30 James Blandy <jimb@mule.m17n.org>
470
471 * tests/strings.test: New test file.
472
d1b143e9
GH
4731999-08-29 Gary Houston <ghouston@easynet.co.uk>
474
475 * tests/ports.test: test unread-char and unread-string.
476
0eb2e8cd
GH
4771999-08-19 Gary Houston <ghouston@easynet.co.uk>
478
479 * tests/ports.test: test line-buffering of fports.
480
7f214e60
GH
4811999-08-18 Gary Houston <ghouston@easynet.co.uk>
482
483 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
484
75efe453
GH
4851999-08-12 Gary Houston <ghouston@easynet.co.uk>
486
487 * tests/ports.test: lseek -> seek.
488
7c035009
GH
4891999-08-04 Gary Houston <ghouston@easynet.co.uk>
490
491 * tests/ports.test: tests for buffered and unbuffered input/output
492 fports with seeking.
493
769f054d
JB
4941999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
495
496 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
497 corresponds to an example object, not a predicate. Aubrey
498 probably never noticed this because SCM doesn't check the lengths
499 of the arguments to for-each and map...
500
501 * tests/ports.test: Add some regression tests for char-ready?.
502
a3bb43e5
JB
5031999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
504
769f054d
JB
505 * tests/ports.test: Fix copyright years.
506
507 * tests/guardians.test: New test file.
508
a3bb43e5
JB
509 * tests/ports.test ("read-delimited!"): New tests.
510
9bb7a7ef
JB
5111999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
512
513 * tests/interp.test: New file.
514
70c4c075
JB
5151999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
516
efcbc5eb
JB
517 * tests/time.test: New test file.
518
70c4c075
JB
519 * tests/r4rs.test: New set of tests, taken from Guile's test
520 script, taken from SCM.
521
522 * tests/ports.test: Group the string port tests under a new
523 test name prefix.
524
525 * tests/ports.test ("line counter"): Check the final column, too.
526
527 * lib.scm: Import (test-suite paths).
528 (data-file): New exported function.
529
5301999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
531
532 * tests/ports.test ("line counter"): Add test for correct column
533 at EOF.
534
30521685
JB
5351999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
536
e6c32806
JB
537 * tests/ports.test ("line counter"): Verify that we do eventually
538 get EOF on the port --- don't just read forever.
539
30521685
JB
540 * lib.scm (full-reporter): The test name is the cadr of the
541 result, not the cdr. I'm not macho enough to handle run-time
542 typechecking.
543
e6c32806
JB
544 * lib.scm (print-counts): XFAILS are "expected failures", not
545 "unexpected failures."
546
30521685
JB
547 * lib.scm, guile-test, paths.scm: Log begins.
548