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