*** empty log message ***
[bpt/guile.git] / test-suite / ChangeLog
1 2003-07-24 Kevin Ryde <user42@zip.com.au>
2
3 * tests/numbers.test (angle): New tests.
4
5 2003-07-18 Kevin Ryde <user42@zip.com.au>
6
7 * tests/numbers.test (*): Add complex/bignum test.
8
9 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
10
11 * tests/srfi-1.test (partition): Add tests.
12
13 2003-07-08 Kevin Ryde <user42@zip.com.au>
14
15 * tests/numbers.test (make-polar, magnitude): New tests.
16
17 * tests/srfi-1.test (delete, delete!): Add more tests.
18 (delete-duplicates, delete-duplicates!): New tests.
19
20 2003-06-21 Kevin Ryde <user42@zip.com.au>
21
22 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
23 tests.
24
25 2003-06-19 Kevin Ryde <user42@zip.com.au>
26
27 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
28 * tests/threads.test: New file, exercising parallel.
29 * Makefile.am (SCM_TESTS): Add them.
30
31 2003-06-07 Kevin Ryde <user42@zip.com.au>
32
33 * tests/srfi-6.test: New file.
34 * Makefile.am (SCM_TESTS): Add it.
35
36 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
37
38 * tests/chars.test: Fixed test comment. The bug that this test
39 detects was actually introduced by my patch from 2003-05-31.
40
41 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
42
43 * tests/chars.test: Added test, attempting to apply a character.
44 This test will only pass if the other changes that are submitted
45 together with this patch are also applied.
46
47 2003-06-05 Kevin Ryde <user42@zip.com.au>
48
49 * tests/numbers.test (logcount): Add a few more tests, to exercise
50 recent scm_logcount change.
51
52 * tests/reader.test (reading): Test bad # error message is formattable.
53
54 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
55
56 * tests/pairs.test: Added.
57
58 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
59
60 * tests/vectors.test: Added.
61
62 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
63
64 * tests/guardians.test: Uses module (ice-9 weak-vector).
65
66 2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
67
68 * lib.scm: Documented the short form for pass-if and expect-fail.
69
70 (pass-if, expect-fail): Simplified.
71
72 2003-05-30 Kevin Ryde <user42@zip.com.au>
73
74 * tests/numbers.test (max, min): Add tests involving NaNs.
75
76 2003-05-29 Stefan Jahn <stefan@lkcc.org>
77
78 * standalone/Makefile.am: Setup to build on mingw32.
79
80 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
81
82 * tests/elisp.test: Added missing quote around vector constants.
83
84 2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
85
86 * tests/r5rs_pitfall.test: Test 2.1 now passes.
87
88 2003-05-13 Kevin Ryde <user42@zip.com.au>
89
90 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
91 combinations.
92
93 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
94
95 2003-05-10 Kevin Ryde <user42@zip.com.au>
96
97 * tests/numbers.test (=, <): Add tests involving NaNs.
98
99 * tests/numbers.test (integer-length): Exercise some negatives, in
100 particular -2^n which is ...11100..00.
101
102 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
103 fitting a ulong.
104
105 * tests/srfi-1.test: New file, exercising take and drop.
106 * Makefile.am (SCM_TESTS): Add it.
107
108 2003-05-06 Kevin Ryde <user42@zip.com.au>
109
110 * tests/numbers.test (-): Add test for negative inum subtract bignum.
111 (logcount): New tests, exercising some negatives.
112
113 2003-05-03 Marius Vollmer <mvo@zagadka.de>
114
115 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
116 pointing us to these tests.
117
118 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
119
120 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
121
122 * tests/srfi-34.test: New file.
123
124 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
125
126 * tests/syntax.test: Modified some tests to use eval when
127 providing bad syntax. Otherwise, the memoizer will report an
128 error immediately after reading the form, without even the chance
129 to get the pass-if-exception mechanism started.
130
131 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
132
133 * tests/guardians.test: Added some more elaborate and
134 sophisticated tests for the guardian functionality.
135
136 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
137
138 * tests/sort.test: Added. Both tests in that file did fail (one
139 even with a segfault) with CVS guile before the recent changes to
140 sort.c.
141
142 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
143
144 * tests/goops.test: Added tests for correctness of class
145 precedence list in all basic classes and tests for eqv? and
146 equal?.
147
148 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
149
150 * tests/goops.test: Added tests for class redefinition, object
151 update and active slots.
152
153 2003-04-14 Rob Browning <rlb@defaultvalue.org>
154
155 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
156 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
157
158 * standalone/Makefile.am: change from .c.x to .x to be consistent
159 with the rest of guile.
160
161 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
162
163 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
164 instead of INCLUDES
165
166 2003-04-07 Rob Browning <rlb@defaultvalue.org>
167
168 * Makefile.am (SUBDIRS): add standalone.
169
170 * guile-test: added "Running test FOO" output by default. There
171 may be a good reason to remove this, but the output can be helpful
172 in determining where a failure occurred.
173
174 * standalone/test-num2integral.c: new test -- one new regression
175 check.
176
177 * standalone/test-gh.c: new test code (migrated from
178 tests/c-api/) -- a trivial start.
179
180 * standalone/test-asmobs-lib.c: new test script (migrated from
181 tests/asmobs/).
182
183 * standalone/test-asmobs: new test script.
184
185 * standalone/README: new file.
186
187 * standalone/Makefile.am: new file.
188
189 * standalone/.cvsignore: new file.
190
191 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
192
193 * tests/asmobs/README: removed (functionality is now in standalone/).
194
195 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
196 standalone/).
197
198 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
199
200 * tests/asmobs/: removed (functionality is now in standalone/).
201
202 * tests/c-api/strings.c: add a note to the source about this code
203 being unused.
204
205 2003-04-05 Marius Vollmer <mvo@zagadka.de>
206
207 * Changed license terms to the plain LGPL thru-out.
208
209 2003-03-24 Rob Browning <rlb@defaultvalue.org>
210
211 * tests/numbers.test: added tests (some simple) for various funcs.
212 ("odd?"): added tests.
213 ("even?"): added tests.
214 ("nan?"): added tests.
215 ("abs"): added tests.
216 ("lcm"): added tests.
217 ("number->string"): added tests.
218 ("number?"): added tests.
219 ("complex?"): added tests.
220 ("real?"): added tests.
221 ("rational?"): added tests.
222 ("integer?"): added tests.
223 ("inexact?"): added tests.
224 ("="): added tests.
225 ("zero?"): added tests.
226 ("positive?"): added tests.
227 ("negative?"): added tests.
228
229 * lib.scm (pass-if): allow really simple tests where the test code
230 is also the name like (pass-if (even? 2)).
231 (expect-fail): allow really simple tests where the test code is
232 also the test name like (expect-fail (even? 2)).
233
234 2003-03-19 Marius Vollmer <mvo@zagadka.de>
235
236 * tests/format.test ("format basic output"): Added test for "~F"
237 from Matthias Koeppe.
238
239 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
240
241 * tests/elisp.test: Use module (ice-9 weak-vector).
242
243 * tests/weaks.test: Use module (ice-9 weak-vector).
244
245 2002-12-08 Rob Browning <rlb@defaultvalue.org>
246
247 * tests/version.test: test (effective-version).
248
249 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
250
251 * tests/options.test: New.
252
253 2002-10-04 Rob Browning <rlb@defaultvalue.org>
254
255 * tests/numbers.test ("expt"): add tests.
256
257 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
258
259 * Makefile.am (dist-hook): Do not distribute CVS directories.
260 Thanks to Greg Troxel!
261
262 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
263
264 * tests/reader.test: change misc-error in read-error.
265
266 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
267
268 * tests/goops.test: Added tests for define-generic and
269 define-accessor.
270
271 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
272
273 * tests/goops.test: Added tests for define-class.
274
275 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
276
277 * tests/numbers.test (/): Expect divison by an inexact zero to
278 yield +inf.0.
279
280 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
281
282 * tests/regexp.test (regexp-substitute/global): Do not test with
283 empty regexp. Empty regexps do not work on NetBSD.
284
285 * tests/syncase.test (basic syncase macro): Added.
286
287 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
288
289 * tests/srfi-13.test (string-tokenize): Updated for fixed
290 semantics.
291
292 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
293
294 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
295 directories manually.
296
297 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
298
299 * guile-test (main): Handle `--flag-unresolved'. No longer set
300 exit value to #f unconditionally on UNRESOLVED results.
301 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
302
303 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
304
305 * tests/elisp.test: Add tests of Elisp expression evaluation.
306
307 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
308
309 * tests/load.test: New test; for search-path with Elisp
310 nil-terminated lists for PATH and EXTENSIONS.
311
312 * tests/elisp.test: More tests for Scheme primitives that should
313 accept Elisp nil-terminated lists.
314
315 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
316
317 * tests/elisp.test: More new tests for the Elisp nil value.
318
319 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
320
321 * Makefile.am (SCM_TESTS): Added elisp.test.
322
323 * tests/elisp.test: New file.
324
325 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
326
327 * tests/numbers.test: Added more division by zero tests.
328
329 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
330
331 * tests/numbers.test: Added division by zero tests.
332
333 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
334
335 * tests/syntax.test: Added some tests, updated some others with
336 respect to recent changes in eval.c. Further, extracted test
337 cases for guile's extended set! functionality to srfi-17.test.
338
339 * tests/srfi-17.test: New file.
340
341 2001-11-04 Stefan Jahn <stefan@lkcc.org>
342
343 * tests/ports.test: Run (close-port) before (delete-file) if
344 necessary/advisory.
345
346 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
347
348 * tests/eval.test: Added tests for promises.
349
350 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
351
352 * lib.scm: Move module the system directives `export',
353 `export-syntax', `re-export' and `re-export-syntax' into the
354 `define-module' form. This is the recommended way of exporting
355 bindings.
356
357 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
358
359 * tests/syntax.test: Added test cases for 'cond =>' syntax with
360 else clause. Changed some tests and comments related to the
361 'case' form to reflect recent changes in the implementation.
362
363 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
364
365 * tests/syntax.test: Added test cases for 'lambda' syntax.
366
367 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
368
369 * tests/syntax.test: Added test cases for 'case' syntax.
370
371 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
372
373 * tests/numbers.test: Added a test case that checks if valid
374 number strings are transformed correctly by string->number.
375
376 2001-09-21 Rob Browning <rlb@defaultvalue.org>
377
378 * tests/numbers.test (fixnum-bit): compute dynamically.
379
380 * tests/bit-operations.test (fixnum-bit): compute dynamically.
381
382 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
383
384 * tests/getopt-long.test ("apples-blimps-catalexis example",
385 "multiple occurances"): New top-level sections.
386
387 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
388
389 * tests/numbers.test: Made some of the patterns better readable.
390
391 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
392
393 * tests/srfi-19.test (test-time-comparision,
394 test-time-arithmatic): New procs.
395
396 Add time comparison tests using new procs.
397 Thanks to Alex Shinn.
398
399 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
400
401 * tests/dynamic-scope.test: New file.
402
403 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
404
405 * tests/srfi-13.test (string-for-each, string-for-each-index):
406 Add tests. (Thanks to Alex Shinn.)
407
408 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
409
410 * tests/srfi-13.test (string-map): Swapped order of string and
411 proc args to conform with the srfi. (Thanks to Alex Shinn.)
412
413 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
414
415 * tests/getopt-long.test (exception:no-such-option,
416 exception:option-does-not-support-arg,
417 exception:option-must-be-specified,
418 exception:option-must-have-arg, exception:not-enough-args):
419 New vars.
420
421 ("option-ref", "required", "specified no value, given anyway",
422 "specified arg required"): New top-level sections.
423
424 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
425
426 * tests/numbers.test: Added Some syntax tests for
427 string->number.
428
429 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
430
431 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
432 "SCM_TESTS". This has special meaning to automake. How many
433 tries left to get this right, mvo?
434
435 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
436
437 * Makefile.am (TESTS): List tests explicitely instead of using a
438 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
439
440 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
441
442 * Makefile.am: New file, to control distribution of the
443 test-suite.
444
445 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
446
447 * tests/getopt-long.test: New file.
448
449 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
450
451 * lib.scm (run-test-exception): Add special handling for
452 `error'-generated exceptions, which pass key `misc-error' and
453 leave messages unformatted.
454
455 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
456
457 * tests/alist.test, tests/bit-operations.test,
458 tests/common-list.test, tests/environments.test, tests/eval.test,
459 tests/gc.test, tests/hooks.test, tests/import.test,
460 tests/interp.test, tests/list.test, tests/load.test,
461 tests/numbers.test, tests/ports.test, tests/r4rs.test,
462 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
463 copyright notice.
464
465 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
466
467 * tests/srfi-14.test: New file.
468
469 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
470
471 * tests/import.test: New file.
472
473 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
474
475 * tests/goops.test: Started with some real tests.
476
477 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
478
479 * guile-test: Use module (ice-9 rdelim).
480
481 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
482
483 * tests/srfi-4.test: New file.
484
485 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
486
487 Thanks to Matthias Köppe!
488
489 * tests/ports.test: New test for output port line counts.
490 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
491 files.
492
493 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
494
495 * tests/symbols.test ("gensym"): New tests for long gensym
496 prefices and embedded NULs in prefices.
497
498 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
499
500 * test/goops.test, test/syncase.test: New, minimal tests.
501
502 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
503
504 * tests/version.test: Updated test for new micro version stuff.
505
506 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
507
508 * tests/srfi-13.test: More tests.
509
510 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
511
512 * tests/srfi-10.test: New file.
513
514 * tests/srfi-9.test: New file.
515
516 * tests/srfi-13.test: Added some more tests.
517
518 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
519
520 * tests/eval.test: ("evaluator" "memoization"): New test
521 prefix block.
522 ("transparency"): New "evaluator memoization" test.
523
524 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
525
526 * tests/srfi-13.test: Added module access kludge, and uncommented
527 some tests depending on this.
528
529 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
530
531 * tests/srfi-13.test: New file testing the SRFI string library.
532
533 2001-04-26 Gary Houston <ghouston@arglist.com>
534
535 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
536 have run.
537
538 * tests/ports.test (test-file), tests/load.test (temp-dir):
539 redefined using data-file-name instead of tmpnam. the test files
540 will be created in the build directory instead of /var/tmp or
541 whereever tmpnam puts them.
542
543 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
544
545 * tests/symbols.c: Added some tests.
546
547 2001-03-19 Gary Houston <ghouston@arglist.com>
548
549 * tests/r4rs.test: use test-file-name to locate r4rs.test,
550 not data-file-name.
551
552 * guile-test: define tmp-dir, the location where r4rs.test will
553 create it's temporary files.
554 (data-file-name): use tmp-dir. this must be under build-dir,
555 not src-dir.
556
557 2001-03-18 Gary Houston <ghouston@arglist.com>
558
559 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
560 first line.
561
562 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
563
564 * tests/syntax.test: Added a test for let* bindings and
565 re-arranged and slightly improved the existing one.
566
567 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
568
569 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
570 test, dups are allowed in `let*' and are now expected to pass.
571
572 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
573
574 * lib.scm (run-test-exception): Preserve the original error's
575 stack for re-throwing.
576
577 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
578
579 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
580 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
581 been fixed.
582
583 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
584
585 * tests/syntax.test ("duplicate formals"): New category, move
586 appropriate tests here. Expect them to pass.
587 ("empty parentheses"): Expect to pass, bug has been fixed.
588
589 * tests/alist.test: Use "'()" instead of "()" in all places
590 where the empty list is meant.
591
592 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
593
594 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
595 exported constants.
596
597 * tests/r4rs.test: Make sure that no bindings for x and y exist
598 after the file is loaded.
599
600 * tests/syntax.test: New file.
601
602 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
603 Moved the test cases that are related to guile's syntactic forms
604 from tests/exceptions.test to tests/syntax.test. Moved tests
605 related to evaluation and application to tests/eval.test.
606
607 * tests/exceptions.test: Added some test cases that check guile's
608 exception handling.
609
610 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
611
612 * tests/exceptions.test, tests/numbers.test: Moved the number
613 related test cases from tests/exceptions.test to
614 tests/numbers.test.
615
616 * tests/numbers.test: Added a test case.
617
618 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
619
620 * tests/symbols.test: New file.
621
622 (exception:immutable-string): New constant. Currently, this is a
623 dummy since guile does not have immutable strings.
624
625 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
626 Moved the string related test cases from tests/exceptions.test to
627 tests/strings.test and the symbol related test cases to
628 tests/symbols.test.
629
630 * tests/strings.test: Copyright notice updated. Added a couple
631 of test cases.
632
633 (exception:immutable-string): New constant. Currently, this is a
634 dummy since guile does not have immutable strings.
635
636 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
637
638 * tests/exceptions.test: Use expect-fail-exception to indicate
639 test cases where exceptions should occur, but don't.
640
641 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
642 exception:missing/extra-expr): New constants.
643
644 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
645
646 * tests/reader.test, tests/exceptions.test: Moved the reader
647 related test cases from tests/exceptions.test to
648 tests/reader.test.
649
650 * tests/reader.test (exception:eof, exception:unexpected-rparen):
651 New constants.
652
653 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
654 Removed.
655
656 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
657
658 * lib.scm (signals-error?, signals-error?*): Removed.
659
660 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
661
662 * lib.scm: Added comment about new convenience functions/macros
663 to test for exceptions.
664
665 (exception:out-of-range, exception:wrong-type-arg): New exported
666 constants.
667
668 (run-test-exception): New function.
669
670 (pass-if-exception, expect-fail-exception): New exported macros.
671
672 * tests/environments.test: Fixed tests that were checking for
673 exceptions when set!ing an unbound symbol.
674
675 (exception:unbound-symbol): New constant.
676
677 * tests/hooks.test (catch-error-returning-true, pass-if-not,
678 catch-error-returning-false), tests/weaks.test
679 (catch-error-returning-true, pass-if-not,
680 catch-error-returning-false): Removed. The macro pass-if-not was
681 not used. The macro catch-error-returning-false is unnecessary
682 since exceptions are caught by the test-suite anyway. The
683 functionality of catch-error-returning-true is provided by the new
684 convenience macro pass-if-exception.
685
686 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
687 Maybe a standard wrong-num-arg exception should be thrown instead
688 of a misc-error?
689
690 * tests/reader.test (try-to-read): Replaced by read-string.
691
692 (read-string): New function.
693
694 * tests/alist.test, tests/environments.test, tests/eval.test,
695 tests/hooks.test, tests/list.test, tests/ports.test,
696 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
697 tests for exceptions with the new convenience macros.
698
699 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
700
701 * tests/alist.test: Remove redundant test name prefix.
702
703 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
704
705 * lib.scm (pass-if): Tests shall return a boolean value.
706
707 * tests/bit-operations.test (documented?), tests/common-list.test
708 (documented?), tests/environments.test (documented?),
709 tests/eval.test (documented?), tests/gc.test (documented?),
710 tests/numbers.test (documented?), tests/guardians.test,
711 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
712 that tests return a boolean value.
713
714 * tests/list.test (documented?): New function, replace all checks
715 for documentation with calls to this function.
716
717 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
718
719 * lib.scm (data-file): Remove from export list.
720
721 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
722
723 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
724 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
725 (syntax reading): New section.
726 (syntax let*): New section.
727 (syntax letrec): New section.
728 (syntax set!): New section.
729 (syntax misc): New section.
730 (bindings unbound): New section.
731 (bindings immutable-modification): New section.
732 (bindings let): New section.
733 (bindings let*): New section.
734 (bindings letrec): New section.
735
736 * tests/exceptions.test: New file.
737
738 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
739
740 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
741 and-let*).
742
743 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
744
745 This patch fixes things that I have broken with the last one :-(
746
747 * guile-test (test-suite): New variable.
748
749 (data-file-name): New function. Has the same purpose as the
750 former function data-file from lib.scm. Moved here in order to
751 have all file name handling at the same place. In contrast to the
752 former 'data-file function, it is not checked whether a file
753 exists. This allows to use this function also for file names of
754 files that are still to be created.
755
756 (test-file-name): Use the global 'test-suite variable.
757
758 (main): Initialize 'test-suite instead of a local variable.
759
760 * lib.scm: Don't import paths any more.
761
762 (data-file): Removed. Resurrected with a sligtly different
763 functionality as 'data-file-name' in guile-test.
764
765 * r4rs.scm: For all references to temporary file, make use of
766 data-file-name.
767
768 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
769
770 The following patch was sent by Thien-Thi Nguyen and a little bit
771 modified by me.
772
773 * guile-test: Usage and installation comments improved. Added
774 support for --test-suite and --debug command line options.
775
776 (default-test-suite): Added to allow for simplified
777 configurability. No need to load the paths file any more.
778
779 (enable-debug-mode): New function. Will be called when the
780 --debug command line option is given.
781
782 (test-root): Removed. The test directory has to be fully given.
783 This allows for arbitrarily named test directories.
784
785 (test-file-name, enumerate-tets): Take the test directory as a
786 paramter instead of using the global variable 'test-root'.
787
788 (main): Handle the new command line options. Return an exit code
789 depending on whether all tests came out as expected.
790
791 * README: Updated.
792
793 * paths.scm: Removed.
794
795 2001-01-24 Gary Houston <ghouston@arglist.com>
796
797 * tests/ports.test: include (ice-9 rdelim) module.
798
799 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
800
801 * tests/numbers.test: Converted to do real boundary testing.
802
803 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
804
805 * tests/bit-operations.test: Added.
806
807 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
808
809 * tests/gc.test: Added.
810
811 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
812
813 * tests/strings.test: string=? is fixed.
814
815 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
816
817 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
818
819 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
820
821 * tests/strings.test: Added a test to help remember that string=?
822 and friends need fixing.
823
824 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
825
826 * tests/environments.test: For tests that rely on garbage
827 collection, conservative scanning can be a problem. Add a comment
828 for these tests and make them turn out unresolved if things don't
829 work as expected.
830
831 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
832
833 * tests/environments.test: Finished and cleaned up the tests for
834 the leaf environments. Added a complete set of testcases for the
835 leaf environment based eval environments. Started with the tests
836 for the import environments.
837
838 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
839
840 * tests/environments.test: Added.
841
842 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
843
844 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
845 of expressions.
846
847 * tests/eval.test: Fix documentation test.
848
849 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
850
851 * tests/list.test: Added tests for list-ref, list-set! and
852 list-cdr-set!
853
854 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
855
856 * tests/common-list.test: Added.
857
858 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
859
860 * tests/eval.test: Added.
861
862 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
863
864 * tests/list.test: Use cons* instead of list*.
865
866 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
867
868 * tests/numbers.test, tests/list.test: Updated for new
869 documentation module.
870
871 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
872
873 * tests/hooks.test: make-hook-with-name is deprecated.
874
875 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
876
877 * tests/list.test, tests/numbers.test: Added.
878
879 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
880
881 * guile-test: Eliminate use of catch-test-errors.
882
883 * lib.scm: Adopted a couple of nice ideas from Greg.
884
885 (pass, fail, expect-failure, expect-failure-if,
886 expect-failure-if*, catch-test-errors, catch-test-errors*,
887 expected-failure-fluid, pessimist?): Removed.
888
889 (run-test, expect-fail, result-tags, important-result-tags):
890 Added.
891
892 (report, make-count-reporter, print-counts, make-log-reporter,
893 full-reporter, user-reporter): Reporters take two mandatory
894 arguments and make use of the tag descriptions in result-tags and
895 important-result-tags.
896
897 * tests/alist.test, tests/hooks.test, tests/ports.test,
898 tests/weaks.test: Don't use catch-test-errors and
899 expect-failure-if.
900
901 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
902
903 * mambo.test: Removed dummy file.
904
905 2000-03-31 Gary Houston <ghouston@arglist.com>
906
907 * tests/ports.test (non-blocking-I/O): a couple more details:
908 a) combine the O_NONBLOCK flag with the default flags instead
909 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
910
911 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
912
913 * lib.scm: Doc fixes.
914
915 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
916
917 * paths.scm: Assume that ~/guile-core/test-suite is the location
918 of the test suite now.
919
920 * tests/version.test: Added -- version.c had 0% coverage before,
921 now at 100%.
922
923 * tests/chars.test: Added -- needed test of char-is-both?.
924
925 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
926
927 * tests/weaks.test, tests/hooks.test: Added.
928
929 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
930
931 * tests/alist.test: Added.
932
933 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
934
935 * tests/c-api.test: Refine the list of files that are checked in
936 the seek-offset-test. Was just using files that end in "c", but
937 that caught the new ".doc" files, too, so make sure that files end
938 in ".c" before requiring that they include unistd.h if they
939 reference SEEK_(SET|CUR|END).
940
941 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
942
943 * tests/ports.test ("string ports"): test seeking/unreading from
944 an input string and seeking an output string.
945
946 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
947
948 * tests/ports.test: in seek/tell test on input port, also test
949 that ftell doesn't discard unread chars.
950
951 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
952
953 * tests/ports.test: add seek/tell tests for unidirectional ports.
954
955 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
956
957 * tests/reader.test: Check that number->string checks its radix
958 properly.
959
960 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
961
962 * tests/ports.test: Check that our input functions cope when
963 current-input-port is closed.
964
965 * tests/regexp.test: Check regexp-substitute/global when there are
966 no matches. (Duh.)
967
968 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
969
970 * tests/c-api.test: New file. Add test to check that all source
971 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
972
973 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
974
975 * tests/ports.test: test non-blocking I/O.
976
977 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
978
979 * tests/strings.test: Add test for substring-move! argument checking.
980
981 * lib.scm (signals-error?, signals-error?*): New macro and function.
982 * tests/reader.test: Use them.
983
984 * tests/interp.test: Add copyright notice.
985
986 * tests/reader.test: New test file.
987
988 * tests/regexp.test: New test file.
989
990 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
991
992 * tests/interp.test: Added tests for evaluation of closure bodies.
993
994 1999-09-03 James Blandy <jimb@mule.m17n.org>
995
996 * tests/multilingual.nottest: New file, which we will turn into a
997 test file once we actually have multilingual support to test.
998
999 * tests/load.test: New test file.
1000
1001 1999-08-30 James Blandy <jimb@mule.m17n.org>
1002
1003 * tests/strings.test: New test file.
1004
1005 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
1006
1007 * tests/ports.test: test unread-char and unread-string.
1008
1009 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
1010
1011 * tests/ports.test: test line-buffering of fports.
1012
1013 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
1014
1015 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
1016
1017 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
1018
1019 * tests/ports.test: lseek -> seek.
1020
1021 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
1022
1023 * tests/ports.test: tests for buffered and unbuffered input/output
1024 fports with seeking.
1025
1026 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
1027
1028 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
1029 corresponds to an example object, not a predicate. Aubrey
1030 probably never noticed this because SCM doesn't check the lengths
1031 of the arguments to for-each and map...
1032
1033 * tests/ports.test: Add some regression tests for char-ready?.
1034
1035 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1036
1037 * tests/ports.test: Fix copyright years.
1038
1039 * tests/guardians.test: New test file.
1040
1041 * tests/ports.test ("read-delimited!"): New tests.
1042
1043 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
1044
1045 * tests/interp.test: New file.
1046
1047 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1048
1049 * tests/time.test: New test file.
1050
1051 * tests/r4rs.test: New set of tests, taken from Guile's test
1052 script, taken from SCM.
1053
1054 * tests/ports.test: Group the string port tests under a new
1055 test name prefix.
1056
1057 * tests/ports.test ("line counter"): Check the final column, too.
1058
1059 * lib.scm: Import (test-suite paths).
1060 (data-file): New exported function.
1061
1062 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
1063
1064 * tests/ports.test ("line counter"): Add test for correct column
1065 at EOF.
1066
1067 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1068
1069 * tests/ports.test ("line counter"): Verify that we do eventually
1070 get EOF on the port --- don't just read forever.
1071
1072 * lib.scm (full-reporter): The test name is the cadr of the
1073 result, not the cdr. I'm not macho enough to handle run-time
1074 typechecking.
1075
1076 * lib.scm (print-counts): XFAILS are "expected failures", not
1077 "unexpected failures."
1078
1079 * lib.scm, guile-test, paths.scm: Log begins.
1080