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