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