*** empty log message ***
[bpt/guile.git] / test-suite / ChangeLog
1 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
2
3 * Makefile.am (TESTS): List tests explicitely instead of using a
4 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
5
6 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
7
8 * Makefile.am: New file, to control distribution of the
9 test-suite.
10
11 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
12
13 * tests/getopt-long.test: New file.
14
15 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
16
17 * lib.scm (run-test-exception): Add special handling for
18 `error'-generated exceptions, which pass key `misc-error' and
19 leave messages unformatted.
20
21 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
22
23 * tests/alist.test, tests/bit-operations.test,
24 tests/common-list.test, tests/environments.test, tests/eval.test,
25 tests/gc.test, tests/hooks.test, tests/import.test,
26 tests/interp.test, tests/list.test, tests/load.test,
27 tests/numbers.test, tests/ports.test, tests/r4rs.test,
28 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
29 copyright notice.
30
31 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
32
33 * tests/srfi-14.test: New file.
34
35 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
36
37 * tests/import.test: New file.
38
39 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
40
41 * tests/goops.test: Started with some real tests.
42
43 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
44
45 * guile-test: Use module (ice-9 rdelim).
46
47 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
48
49 * tests/srfi-4.test: New file.
50
51 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
52
53 Thanks to Matthias Köppe!
54
55 * tests/ports.test: New test for output port line counts.
56 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
57 files.
58
59 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
60
61 * tests/symbols.test ("gensym"): New tests for long gensym
62 prefices and embedded NULs in prefices.
63
64 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
65
66 * test/goops.test, test/syncase.test: New, minimal tests.
67
68 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
69
70 * tests/version.test: Updated test for new micro version stuff.
71
72 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
73
74 * tests/srfi-13.test: More tests.
75
76 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
77
78 * tests/srfi-10.test: New file.
79
80 * tests/srfi-9.test: New file.
81
82 * tests/srfi-13.test: Added some more tests.
83
84 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
85
86 * tests/eval.test: ("evaluator" "memoization"): New test
87 prefix block.
88 ("transparency"): New "evaluator memoization" test.
89
90 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
91
92 * tests/srfi-13.test: Added module access kludge, and uncommented
93 some tests depending on this.
94
95 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
96
97 * tests/srfi-13.test: New file testing the SRFI string library.
98
99 2001-04-26 Gary Houston <ghouston@arglist.com>
100
101 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
102 have run.
103
104 * tests/ports.test (test-file), tests/load.test (temp-dir):
105 redefined using data-file-name instead of tmpnam. the test files
106 will be created in the build directory instead of /var/tmp or
107 whereever tmpnam puts them.
108
109 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
110
111 * tests/symbols.c: Added some tests.
112
113 2001-03-19 Gary Houston <ghouston@arglist.com>
114
115 * tests/r4rs.test: use test-file-name to locate r4rs.test,
116 not data-file-name.
117
118 * guile-test: define tmp-dir, the location where r4rs.test will
119 create it's temporary files.
120 (data-file-name): use tmp-dir. this must be under build-dir,
121 not src-dir.
122
123 2001-03-18 Gary Houston <ghouston@arglist.com>
124
125 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
126 first line.
127
128 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
129
130 * tests/syntax.test: Added a test for let* bindings and
131 re-arranged and slightly improved the existing one.
132
133 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
134
135 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
136 test, dups are allowed in `let*' and are now expected to pass.
137
138 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
139
140 * lib.scm (run-test-exception): Preserve the original error's
141 stack for re-throwing.
142
143 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
144
145 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
146 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
147 been fixed.
148
149 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
150
151 * tests/syntax.test ("duplicate formals"): New category, move
152 appropriate tests here. Expect them to pass.
153 ("empty parentheses"): Expect to pass, bug has been fixed.
154
155 * tests/alist.test: Use "'()" instead of "()" in all places
156 where the empty list is meant.
157
158 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
159
160 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
161 exported constants.
162
163 * tests/r4rs.test: Make sure that no bindings for x and y exist
164 after the file is loaded.
165
166 * tests/syntax.test: New file.
167
168 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
169 Moved the test cases that are related to guile's syntactic forms
170 from tests/exceptions.test to tests/syntax.test. Moved tests
171 related to evaluation and application to tests/eval.test.
172
173 * tests/exceptions.test: Added some test cases that check guile's
174 exception handling.
175
176 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
177
178 * tests/exceptions.test, tests/numbers.test: Moved the number
179 related test cases from tests/exceptions.test to
180 tests/numbers.test.
181
182 * tests/numbers.test: Added a test case.
183
184 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
185
186 * tests/symbols.test: New file.
187
188 (exception:immutable-string): New constant. Currently, this is a
189 dummy since guile does not have immutable strings.
190
191 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
192 Moved the string related test cases from tests/exceptions.test to
193 tests/strings.test and the symbol related test cases to
194 tests/symbols.test.
195
196 * tests/strings.test: Copyright notice updated. Added a couple
197 of test cases.
198
199 (exception:immutable-string): New constant. Currently, this is a
200 dummy since guile does not have immutable strings.
201
202 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
203
204 * tests/exceptions.test: Use expect-fail-exception to indicate
205 test cases where exceptions should occur, but don't.
206
207 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
208 exception:missing/extra-expr): New constants.
209
210 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
211
212 * tests/reader.test, tests/exceptions.test: Moved the reader
213 related test cases from tests/exceptions.test to
214 tests/reader.test.
215
216 * tests/reader.test (exception:eof, exception:unexpected-rparen):
217 New constants.
218
219 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
220 Removed.
221
222 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
223
224 * lib.scm (signals-error?, signals-error?*): Removed.
225
226 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
227
228 * lib.scm: Added comment about new convenience functions/macros
229 to test for exceptions.
230
231 (exception:out-of-range, exception:wrong-type-arg): New exported
232 constants.
233
234 (run-test-exception): New function.
235
236 (pass-if-exception, expect-fail-exception): New exported macros.
237
238 * tests/environments.test: Fixed tests that were checking for
239 exceptions when set!ing an unbound symbol.
240
241 (exception:unbound-symbol): New constant.
242
243 * tests/hooks.test (catch-error-returning-true, pass-if-not,
244 catch-error-returning-false), tests/weaks.test
245 (catch-error-returning-true, pass-if-not,
246 catch-error-returning-false): Removed. The macro pass-if-not was
247 not used. The macro catch-error-returning-false is unnecessary
248 since exceptions are caught by the test-suite anyway. The
249 functionality of catch-error-returning-true is provided by the new
250 convenience macro pass-if-exception.
251
252 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
253 Maybe a standard wrong-num-arg exception should be thrown instead
254 of a misc-error?
255
256 * tests/reader.test (try-to-read): Replaced by read-string.
257
258 (read-string): New function.
259
260 * tests/alist.test, tests/environments.test, tests/eval.test,
261 tests/hooks.test, tests/list.test, tests/ports.test,
262 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
263 tests for exceptions with the new convenience macros.
264
265 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
266
267 * tests/alist.test: Remove redundant test name prefix.
268
269 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
270
271 * lib.scm (pass-if): Tests shall return a boolean value.
272
273 * tests/bit-operations.test (documented?), tests/common-list.test
274 (documented?), tests/environments.test (documented?),
275 tests/eval.test (documented?), tests/gc.test (documented?),
276 tests/numbers.test (documented?), tests/guardians.test,
277 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
278 that tests return a boolean value.
279
280 * tests/list.test (documented?): New function, replace all checks
281 for documentation with calls to this function.
282
283 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
284
285 * lib.scm (data-file): Remove from export list.
286
287 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
288
289 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
290 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
291 (syntax reading): New section.
292 (syntax let*): New section.
293 (syntax letrec): New section.
294 (syntax set!): New section.
295 (syntax misc): New section.
296 (bindings unbound): New section.
297 (bindings immutable-modification): New section.
298 (bindings let): New section.
299 (bindings let*): New section.
300 (bindings letrec): New section.
301
302 * tests/exceptions.test: New file.
303
304 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
305
306 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
307 and-let*).
308
309 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
310
311 This patch fixes things that I have broken with the last one :-(
312
313 * guile-test (test-suite): New variable.
314
315 (data-file-name): New function. Has the same purpose as the
316 former function data-file from lib.scm. Moved here in order to
317 have all file name handling at the same place. In contrast to the
318 former 'data-file function, it is not checked whether a file
319 exists. This allows to use this function also for file names of
320 files that are still to be created.
321
322 (test-file-name): Use the global 'test-suite variable.
323
324 (main): Initialize 'test-suite instead of a local variable.
325
326 * lib.scm: Don't import paths any more.
327
328 (data-file): Removed. Resurrected with a sligtly different
329 functionality as 'data-file-name' in guile-test.
330
331 * r4rs.scm: For all references to temporary file, make use of
332 data-file-name.
333
334 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
335
336 The following patch was sent by Thien-Thi Nguyen and a little bit
337 modified by me.
338
339 * guile-test: Usage and installation comments improved. Added
340 support for --test-suite and --debug command line options.
341
342 (default-test-suite): Added to allow for simplified
343 configurability. No need to load the paths file any more.
344
345 (enable-debug-mode): New function. Will be called when the
346 --debug command line option is given.
347
348 (test-root): Removed. The test directory has to be fully given.
349 This allows for arbitrarily named test directories.
350
351 (test-file-name, enumerate-tets): Take the test directory as a
352 paramter instead of using the global variable 'test-root'.
353
354 (main): Handle the new command line options. Return an exit code
355 depending on whether all tests came out as expected.
356
357 * README: Updated.
358
359 * paths.scm: Removed.
360
361 2001-01-24 Gary Houston <ghouston@arglist.com>
362
363 * tests/ports.test: include (ice-9 rdelim) module.
364
365 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
366
367 * tests/numbers.test: Converted to do real boundary testing.
368
369 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
370
371 * tests/bit-operations.test: Added.
372
373 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
374
375 * tests/gc.test: Added.
376
377 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
378
379 * tests/strings.test: string=? is fixed.
380
381 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
382
383 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
384
385 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
386
387 * tests/strings.test: Added a test to help remember that string=?
388 and friends need fixing.
389
390 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
391
392 * tests/environments.test: For tests that rely on garbage
393 collection, conservative scanning can be a problem. Add a comment
394 for these tests and make them turn out unresolved if things don't
395 work as expected.
396
397 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
398
399 * tests/environments.test: Finished and cleaned up the tests for
400 the leaf environments. Added a complete set of testcases for the
401 leaf environment based eval environments. Started with the tests
402 for the import environments.
403
404 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
405
406 * tests/environments.test: Added.
407
408 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
409
410 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
411 of expressions.
412
413 * tests/eval.test: Fix documentation test.
414
415 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
416
417 * tests/list.test: Added tests for list-ref, list-set! and
418 list-cdr-set!
419
420 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
421
422 * tests/common-list.test: Added.
423
424 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
425
426 * tests/eval.test: Added.
427
428 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
429
430 * tests/list.test: Use cons* instead of list*.
431
432 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
433
434 * tests/numbers.test, tests/list.test: Updated for new
435 documentation module.
436
437 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
438
439 * tests/hooks.test: make-hook-with-name is deprecated.
440
441 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
442
443 * tests/list.test, tests/numbers.test: Added.
444
445 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
446
447 * guile-test: Eliminate use of catch-test-errors.
448
449 * lib.scm: Adopted a couple of nice ideas from Greg.
450
451 (pass, fail, expect-failure, expect-failure-if,
452 expect-failure-if*, catch-test-errors, catch-test-errors*,
453 expected-failure-fluid, pessimist?): Removed.
454
455 (run-test, expect-fail, result-tags, important-result-tags):
456 Added.
457
458 (report, make-count-reporter, print-counts, make-log-reporter,
459 full-reporter, user-reporter): Reporters take two mandatory
460 arguments and make use of the tag descriptions in result-tags and
461 important-result-tags.
462
463 * tests/alist.test, tests/hooks.test, tests/ports.test,
464 tests/weaks.test: Don't use catch-test-errors and
465 expect-failure-if.
466
467 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
468
469 * mambo.test: Removed dummy file.
470
471 2000-03-31 Gary Houston <ghouston@arglist.com>
472
473 * tests/ports.test (non-blocking-I/O): a couple more details:
474 a) combine the O_NONBLOCK flag with the default flags instead
475 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
476
477 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
478
479 * lib.scm: Doc fixes.
480
481 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
482
483 * paths.scm: Assume that ~/guile-core/test-suite is the location
484 of the test suite now.
485
486 * tests/version.test: Added -- version.c had 0% coverage before,
487 now at 100%.
488
489 * tests/chars.test: Added -- needed test of char-is-both?.
490
491 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
492
493 * tests/weaks.test, tests/hooks.test: Added.
494
495 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
496
497 * tests/alist.test: Added.
498
499 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
500
501 * tests/c-api.test: Refine the list of files that are checked in
502 the seek-offset-test. Was just using files that end in "c", but
503 that caught the new ".doc" files, too, so make sure that files end
504 in ".c" before requiring that they include unistd.h if they
505 reference SEEK_(SET|CUR|END).
506
507 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
508
509 * tests/ports.test ("string ports"): test seeking/unreading from
510 an input string and seeking an output string.
511
512 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
513
514 * tests/ports.test: in seek/tell test on input port, also test
515 that ftell doesn't discard unread chars.
516
517 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
518
519 * tests/ports.test: add seek/tell tests for unidirectional ports.
520
521 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
522
523 * tests/reader.test: Check that number->string checks its radix
524 properly.
525
526 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
527
528 * tests/ports.test: Check that our input functions cope when
529 current-input-port is closed.
530
531 * tests/regexp.test: Check regexp-substitute/global when there are
532 no matches. (Duh.)
533
534 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
535
536 * tests/c-api.test: New file. Add test to check that all source
537 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
538
539 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
540
541 * tests/ports.test: test non-blocking I/O.
542
543 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
544
545 * tests/strings.test: Add test for substring-move! argument checking.
546
547 * lib.scm (signals-error?, signals-error?*): New macro and function.
548 * tests/reader.test: Use them.
549
550 * tests/interp.test: Add copyright notice.
551
552 * tests/reader.test: New test file.
553
554 * tests/regexp.test: New test file.
555
556 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
557
558 * tests/interp.test: Added tests for evaluation of closure bodies.
559
560 1999-09-03 James Blandy <jimb@mule.m17n.org>
561
562 * tests/multilingual.nottest: New file, which we will turn into a
563 test file once we actually have multilingual support to test.
564
565 * tests/load.test: New test file.
566
567 1999-08-30 James Blandy <jimb@mule.m17n.org>
568
569 * tests/strings.test: New test file.
570
571 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
572
573 * tests/ports.test: test unread-char and unread-string.
574
575 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
576
577 * tests/ports.test: test line-buffering of fports.
578
579 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
580
581 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
582
583 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
584
585 * tests/ports.test: lseek -> seek.
586
587 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
588
589 * tests/ports.test: tests for buffered and unbuffered input/output
590 fports with seeking.
591
592 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
593
594 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
595 corresponds to an example object, not a predicate. Aubrey
596 probably never noticed this because SCM doesn't check the lengths
597 of the arguments to for-each and map...
598
599 * tests/ports.test: Add some regression tests for char-ready?.
600
601 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
602
603 * tests/ports.test: Fix copyright years.
604
605 * tests/guardians.test: New test file.
606
607 * tests/ports.test ("read-delimited!"): New tests.
608
609 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
610
611 * tests/interp.test: New file.
612
613 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
614
615 * tests/time.test: New test file.
616
617 * tests/r4rs.test: New set of tests, taken from Guile's test
618 script, taken from SCM.
619
620 * tests/ports.test: Group the string port tests under a new
621 test name prefix.
622
623 * tests/ports.test ("line counter"): Check the final column, too.
624
625 * lib.scm: Import (test-suite paths).
626 (data-file): New exported function.
627
628 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
629
630 * tests/ports.test ("line counter"): Add test for correct column
631 at EOF.
632
633 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
634
635 * tests/ports.test ("line counter"): Verify that we do eventually
636 get EOF on the port --- don't just read forever.
637
638 * lib.scm (full-reporter): The test name is the cadr of the
639 result, not the cdr. I'm not macho enough to handle run-time
640 typechecking.
641
642 * lib.scm (print-counts): XFAILS are "expected failures", not
643 "unexpected failures."
644
645 * lib.scm, guile-test, paths.scm: Log begins.
646