*** empty log message ***
[bpt/guile.git] / test-suite / ChangeLog
1 2004-09-08 Kevin Ryde <user42@zip.com.au>
2
3 * tests/ports.test (port-column): Further tests, of new \a \b \r.
4
5 2004-09-07 Kevin Ryde <user42@zip.com.au>
6
7 * tests/numbers.test (integer-expt): New tests, of infinite exponents.
8 (integer?): Exercise nan and +/-inf.
9
10 * tests/time.test (gmtime, strptime): New tests, but unresolved.
11 (internal-time-units-per-second): New test.
12
13 2004-09-02 Kevin Ryde <user42@zip.com.au>
14
15 * tests/format.test (~@d): New tests.
16 New tests of excess arguments now ignored.
17
18 2004-09-01 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Kevin Ryde <user42@zip.com.au>
19
20 * tests/gc.test: Exercise record in weak-values hash table, exposing a
21 problem in 1.6.4 gc, but believed fixed by other changes in the head.
22
23 2004-08-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
24
25 * tests/srfi-13.test (module-peek): Removed, this kluge is no
26 longer necessary.
27
28 2004-08-27 Kevin Ryde <user42@zip.com.au>
29
30 * tests/regexp.test (regexp-quote): New tests.
31
32 * tests/srfi-31.test: Use define-module to keep bindings out of
33 further tests. Use-module (test-suite lib) for stand-alone operation.
34 (rec): Exercise bad args.
35
36 2004-08-25 Kevin Ryde <user42@zip.com.au>
37
38 * tests/and-let-star.test: More tests, in particular exercise #t
39 result on empty body.
40
41 2004-08-25 Marius Vollmer <mvo@zagadka.de>
42
43 * tests/strings.test: Two more tests for double indirect substring
44 modification.
45
46 2004-08-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
47
48 * lib.scm (exception:used-before-define): New.
49 * tests/syntax.test ("letrec"): Use it.
50
51 2004-08-20 Kevin Ryde <user42@zip.com.au>
52
53 * tests/posix.test (mkstemp!): New tests.
54
55 2004-08-20 Marius Vollmer <mvo@zagadka.de>
56
57 * tests/strings.test: Two tests for substring/shared. Also, use
58 (test-suite lib).
59
60 2004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
61
62 * standalone/test-conversion.c, standalone/test-gh.c,
63 standalone/test-unwind.c: Avoid the use of discouraged or
64 deprecated things.
65
66 2004-08-18 Kevin Ryde <user42@zip.com.au>
67
68 * tests/and-let-star.test, tests/arbiters.test, tests/receive.test:
69 New files.
70 * Makefile.am (SCM_TESTS): Add them.
71
72 * tests/fractions.test (fractions): Correction, equal? 3/4 .75 should
73 be #f, according to R5RS.
74
75 2004-08-15 Marius Vollmer <mvo@zagadka.de>
76
77 * tests/srfi-39.test: New, from Jose A Ortega Ruiz. Thanks!
78
79 2004-08-14 Kevin Ryde <user42@zip.com.au>
80
81 * tests/srfi-13.test (string-any, string-every): Exercise char and
82 charset predicate cases.
83
84 2004-08-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
85
86 * standalone/test-conversion.c (test_locale_strings): New.
87
88 * standalone/test-round.c: Replaced all uses of scm_round with
89 scm_c_round.
90
91 2004-08-09 Kevin Ryde <user42@zip.com.au>
92
93 * tests/slib.test: New file.
94 * Makefile.am (SCM_TESTS): Add it.
95
96 2004-08-06 Kevin Ryde <user42@zip.com.au>
97
98 * tests/unif.test (array-set!): Exercise byte array range checks.
99 (uniform-vector-ref): Exercise byte returns.
100 (array-fill!): Exercise byte range and type checks.
101
102 2004-08-03 Marius Vollmer <marius.vollmer@uni-dortmund.de>
103
104 * standalone/test-num2integral.c: Only perform the tests when the
105 disabled features are enabled.
106
107 * standalone/test-conversion.c (test_to_double, test_from_double):
108 New tests.
109
110 2004-08-02 Kevin Ryde <user42@zip.com.au>
111
112 * tests/srfi-13.test (string-every): Check empty string case.
113
114 2004-07-31 Kevin Ryde <user42@zip.com.au>
115
116 * tests/filesys.test: New file, exercising copy-file.
117 * Makefile.am (SCM_TESTS): Add it.
118
119 2004-07-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
120
121 * standalone/test-conversion.c: Many more tests for the integer
122 conversion functions.
123
124 2004-07-28 Kevin Ryde <user42@zip.com.au>
125
126 * tests/regexp.test (make-regexp): Exercise flags args validation.
127
128 * tests/unif.test (array-set!): Exercise svect value range check.
129
130 2004-07-24 Kevin Ryde <user42@zip.com.au>
131
132 * tests/common-list.test: Use define-module, to as not to import
133 common-list into subsequent tests (eg. srfi-1 where `every' provokes a
134 warning).
135
136 * tests/srfi-19.test, tests/srfi-34.test: Use #:duplicates (last) to
137 suppress warnings about current-time and raise replacing core bindings.
138
139 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
140
141 * tests/format.test (~{): Test no arbitrary iteration limit.
142
143 2004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
144
145 * standalone/test-conversion.c (test_is_signed_integer,
146 test_is_unsigned_integer): Expect inexact integers to fail.
147
148 2004-07-10 Kevin Ryde <user42@zip.com.au>
149
150 * tests/hash.test: New file.
151 * Makefile.am (SCM_TESTS): Add it.
152
153 2004-07-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
154
155 * standalone/test-unwind.c: Use scm_from_int instead of
156 SCM_MAKINUM and scm_is_eq instead SCM_EQ_P.
157
158 2004-07-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
159
160 * standalone/test-conversion.c: Don't define SCM_T_INTMAX_MIN,
161 etc, they are now provided by libuile.h.
162 (test_int_sizes): New.
163
164 2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
165
166 * standalone/test-num2integral.c, standalone/test-unwind.c:
167 Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
168 SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
169 scm_from_bool, and scm_is_bool, respectively.
170
171 * standalone/Makefile.am: Added test-conversion to the TESTS.
172
173 * standalone/test-conversion.c: New file.
174
175 2004-06-20 Rob Browning <rlb@defaultvalue.org>
176
177 * tests/srfi-31.test: new test for SRFI-31.
178
179 * Makefile.am (SCM_TESTS): add tests/srfi-31.scm.
180
181 2004-06-15 Marius Vollmer <marius.vollmer@uni-dortmund.de>
182
183 * tests/numbers.test (number->string): Some results might differ
184 between versions of Guile compiled optimized and unoptimized.
185 Both results are accepted now.
186
187 2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
188
189 * tests/syntax.test: Added various tests to check that
190 unmemoization works correctly.
191
192 2004-05-30 Kevin Ryde <user42@zip.com.au>
193
194 * lib.scm (exception:numerical-overflow): New define.
195 * tests/numbers.test (modulo-expt): Use it and
196 exception:wrong-type-arg, avoiding empty "" regexp which is invalid on
197 BSD. Reported by Andreas Vögele.
198
199 2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
200
201 * standalone/test-asmobs-lib.c: Fixed include statement.
202
203 2004-05-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
204
205 * tests/goops.test: Wrap tests in module (test-suite
206 test-<file-name without .test>). Remove calls to deprecated macro
207 `undefine'.
208
209 2004-05-10 Marius Vollmer <mvo@zagadka.de>
210
211 * tests/numbers.test (number->string): Added tests for
212 non-radix-10 floating point conversions.
213
214 2004-05-10 Kevin Ryde <user42@zip.com.au>
215
216 * tests/numbers.test (logbit?): New tests.
217
218 2004-05-09 Kevin Ryde <user42@zip.com.au>
219
220 * tests/srfi-19.test (test-dst, string->date local DST): Test with
221 "EST5EDT" instead of "CET", since HP-UX doesn't know CET. Reported by
222 Andreas Vögele.
223
224 2004-05-03 Kevin Ryde <user42@zip.com.au>
225
226 * tests/time.test (strftime): Force tm:isdst to 0 for the test, for
227 the benefit of HP-UX. Reported by Andreas Vögele.
228 Use set-tm:zone rather than a hard coded vector offset.
229
230 2004-04-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
231
232 * tests/elisp.test: Wrap tests in module (test-suite
233 test-<file-name without .test>), following a practice that was
234 used on a couple of files already.
235
236 2004-04-28 Kevin Ryde <user42@zip.com.au>
237
238 * standalone/test-num2integral.c (test_long_long): Exercise
239 out-of-range errors on various cases.
240 (test_ulong_long): New function, split from test_long_long and
241 similarly exercising out-of-range.
242
243 2004-04-26 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
244
245 * tests/syntax.test: Add test case to check the correct handling
246 of define expressions.
247
248 2004-04-25 Kevin Ryde <user42@zip.com.au>
249
250 * tests/socket.test: New file, exercising inet-ntop.
251 * Makefile.am (SCM_TESTS): Add it.
252
253 2004-04-24 Kevin Ryde <user42@zip.com.au>
254
255 * tests/srfi-11.test: New file.
256 * Makefile.am (SCM_TESTS): Add it.
257
258 2004-04-22 Kevin Ryde <user42@zip.com.au>
259
260 * standalone/test-round.c: New file, exercising scm_round.
261 * standalone/Makefile.am: Add it.
262
263 2004-04-15 Kevin Ryde <user42@zip.com.au>
264
265 * tests/numbers.test (max, min): Exercise some inum/frac, frac/inum,
266 big/frac, frac/big and frac/frac cases.
267
268 * tests/numbers.test (min): Correction, test "documented? min" not
269 "documented? max".
270
271 2004-04-06 Kevin Ryde <user42@zip.com.au>
272
273 * tests/numbers.test (quotient, remainder): Exercise inum/big at and
274 near special case inum == fixnum-min, big == -fixnum-min.
275
276 2004-03-26 Kevin Ryde <user42@zip.com.au>
277
278 * tests/numbers.test (min, max): Check inexactness of big/real and
279 real/big combinations, collect up tests under arg types for clarity.
280
281 2004-03-26 Eric Hanchrow <offby1@blarg.net>
282
283 * tests/numbers.test (modulo-expt): New tests.
284
285 2004-03-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
286
287 * tests/eval.test: Added tests which reflect the recent fixes to
288 copy-tree.
289
290 2004-02-29 Kevin Ryde <user42@zip.com.au>
291
292 * tests/posix.test (execl, execlp, execle): Exercise errors where
293 program not found. [But disabled, due to problems with threading.]
294
295 2004-02-22 Kevin Ryde <user42@zip.com.au>
296
297 * tests/numbers.test (max, min): Exercise some complex num cases.
298
299 2004-02-18 Marius Vollmer <mvo@zagadka.de>
300
301 * tests/fractions.test: Added copyright notice of Michael Stoll,
302 who probably wrote the original CLISP code.
303
304 2004-02-18 Kevin Ryde <user42@zip.com.au>
305
306 * tests/fractions.test: Remove 1/3 == 1.0/3.0, not true.
307
308 * tests/numbers.test (=): Exercise frac+real and frac+complex.
309
310 2004-02-17 Marius Vollmer <mvo@zagadka.de>
311
312 * Makefile.am (SCM_TESTS): Added test/fractions.test.
313
314 2004-02-12 Kevin Ryde <user42@zip.com.au>
315
316 * tests/unif.test (array?, array-fill!, array-prototype): Add tests.
317
318 2004-01-23 Marius Vollmer <mvo@zagadka.de>
319
320 * tests/r5rs_pitfall.scm: Removed again. I was confused. The
321 file added to SCM_TESTS was r5rs_pitfall.test, not
322 r5rs_pitfall.scm.
323
324 2004-01-23 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
325
326 * tests/syntax.test: Added test for unmemoizing internal defines.
327
328 2004-01-21 Marius Vollmer <mvo@zagadka.de>
329
330 * tests/srfi-26.test: New.
331 * Makefile.am (SCM_TESTS): Added it.
332
333 2004-01-11 Marius Vollmer <mvo@zagadka.de>
334
335 * tests/r5rs_pitfall.scm: New.
336 * Makefile.am (SCM_TESTS): Added it.
337
338 2004-01-11 Kevin Ryde <user42@zip.com.au>
339
340 * tests/exceptions.test (false-if-exception): Disable tests on
341 referencing expansion environment, reverted.
342
343 2004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
344
345 * standalone/test-unwind.c: Adapted to 'frame' renamings.
346 (check_fluid): New.
347
348 * Makefile.am (SCM_TESTS): Added continuations.test.
349
350 2004-01-07 Kevin Ryde <user42@zip.com.au>
351
352 * tests/numbers.test (<): Add tests inum/bignum/flonum/frac with frac.
353
354 * tests/q.test: New file.
355 (q-pop!): Exercise this, in particular the "not/null?" bug reported by
356 Richard Todd.
357 * Makefile.am (SCM_TESTS): Add q.test.
358
359 * tests/unif.test: New file.
360 (uniform-array-set1!): Exercise this, in particular previous segv on
361 improper arg list.
362 * Makefile.am (SCM_TESTS): Add unif.test.
363
364 2004-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
365
366 * standalone/test-unwind.c (close_port, delete_file, check_ports):
367 New.
368
369 2004-01-03 Marius Vollmer <mvo@zagadka.de>
370
371 * standalone/test-unwind.c: New test, for the frames stuff.
372 * standalone/Makefile.am: Compile and run it.
373
374 2004-01-04 Kevin Ryde <user42@zip.com.au>
375
376 * tests/exceptions.test (false-if-exception): Add tests.
377
378 2003-11-30 Marius Vollmer <mvo@zagadka.de>
379
380 * tests/syntax.test: It's "#\\space", not "#\space".
381
382 2003-11-21 Marius Vollmer <mvo@zagadka.de>
383
384 * tests/numbers.test: #e1.2 is now exactly 12/10. Expect
385 exceptions when calling inexact? with a non-number.
386
387 2003-12-03 Kevin Ryde <user42@zip.com.au>
388
389 * tests/fractions.test: Exercise most-negative-fixnum over -ve of
390 most-negative-fixnum.
391
392 * tests/fractions.test (real-part): Expect fraction return, not
393 converted to flonum.
394
395 * tests/numbers.test (abs): Add a few more tests.
396
397 * tests/srfi-1.test (count): New tests.
398
399 2003-12-01 Mikael Djurfeldt <mdj@chunk.mit.edu>
400
401 * standalone/Makefile.am (snarfcppopts): Added -I$(top_srcdir).
402
403 2003-11-19 Rob Browning <rlb@defaultvalue.org>
404
405 * standalone/test-system-cmds: new test.
406
407 * standalone/Makefile.am (check_SCRIPTS): add test-system-cmds.
408 (TESTS): add test-system-cmds.
409
410 2003-11-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
411
412 * tests/numbers.test ("string->number"): Expect exact rationals
413 for things like "1/2" and "#e1.2".
414 ("inexact->exact"): Expect overflow error for infs and nans.
415
416 * tests/fractions.test: New file from Bill Schottstaedt. Thanks!
417
418 * tests/bit-operations.test (fixnum-bit): Round the result so that
419 fixnum-bit really is an integer.
420
421 2003-11-17 Marius Vollmer <mvo@zagadka.de>
422
423 * tests/srfi-17.test: Expect a "Bad variable" error for (set! #f
424 1).
425
426 2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
427
428 * tests/syntax.test: Tests that check for the correct handling of
429 internal defines with begin work now.
430
431 2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
432
433 * tests/syntax.test: Fixed test that checks for the correct
434 handling of macros in the context of internal defines.
435
436 2003-11-15 Kevin Ryde <user42@zip.com.au>
437
438 * tests/bit-operations.test: Use (test-suite lib), for the benefit of
439 standalone execution.
440
441 2003-11-09 Dirk Herrmann <D.Herrmann@tu-bs.de>
442
443 * tests/optargs.test: Wrap tests in module (test-suite
444 test-<file-name without .test>). Rewrite test to be R5RS
445 conforming.
446
447 * tests/syntax.test: Added test to check correct handling of
448 internal defines.
449
450 2003-11-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
451
452 * tests/syntax.test (exception:missing-body-expr): New.
453
454 Renamed section 'define' to 'top-level define' and added a new
455 section 'internal define' with some tests.
456
457 2003-11-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
458
459 * tests/syntax.test (exception:missing/extra-expr-misc): Removed.
460
461 (exception:illegal-empty-combination): New.
462
463 (exception:missing/extra-expr): Unified capitalization.
464
465 Adapted test for '()' to the new way of error reporting.
466
467 2003-10-19 Kevin Ryde <user42@zip.com.au>
468
469 * tests/numbers.test: Use define-module to hide helper defines.
470 (dbl-mant-dig, ash-flo): New helpers.
471 (exact->inexact): New tests.
472
473 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
474
475 * tests/syntax.test (exception:bad-var): Removed.
476
477 Adapted tests for 'set!' to the new way of error reporting.
478
479 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
480
481 * tests/dynamic-scope.test (exception:missing-expr): Introduced
482 temporarily until all memoizers use the new way of error
483 reporting.
484
485 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
486
487 * tests/syntax.test (exception:missing/extra-expr,
488 exception:missing/extra-expr-misc): Renamed
489 exception:missing/extra-expr to exception:missing/extra-expr-misc.
490
491 (exception:missing/extra-expr-syntax,
492 exception:missing/extra-expr): Renamed
493 exception:missing/extra-expr-syntax to
494 exception:missing/extra-expr.
495
496 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
497
498 * lib.scm (exception:bad-variable): New.
499
500 * tests/syntax.test (exception:bad-binding,
501 exception:duplicate-binding): New.
502
503 (exception:duplicate-bindings): Removed.
504
505 Adapted tests for 'let', 'let*' and 'letrec' to the new way of
506 error reporting.
507
508 2003-10-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
509
510 * tests/syntax.test (define exception:bad-formal, define
511 exception:duplicate-formal): New.
512
513 (exception:duplicate-formals): Removed.
514
515 (exception:bad-formals): Adapted to the new way of error
516 reporting.
517
518 Adapted tests for 'lambda' to the new way of error reporting.
519
520 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
521
522 * tests/syntax.test (exception:missing/extra-expr-syntax): Fixed
523 to be unaware of whether line number information is given or not.
524
525 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
526
527 * tests/syntax.test (exception:missing/extra-expr-syntax): New,
528 introduced temporarily until all memoizers use the new way of
529 error reporting.
530
531 Adapted tests for 'if' to the new way of error reporting.
532
533 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
534
535 * tests/syntax.test (exception:missing-expr,
536 exception:extra-expr): New.
537
538 Adapted tests for 'begin' to the new way of error
539 reporting.
540
541 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
542
543 * tests/syntax.test (exception:misplaced-else-clause,
544 exception:bad-cond-clause): New.
545
546 (exception:bad/missing-clauses, exception:extra-case-clause):
547 Removed.
548
549 Adapted tests for 'case' and 'cond' to the new way of error
550 reporting.
551
552 The tests that check if cond is hygienic pass now.
553
554 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
555
556 * tests/syntax.test: Fixed and activated test of empty case label
557 support.
558
559 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
560
561 * tests/syntax.test (exception:bad-expression,
562 exception:missing-clauses, exception:bad-case-clause,
563 exception:extra-case-clause, exception:bad-case-labels): New.
564
565 Added some tests and adapted tests for 'case' to the new way of
566 error reporting.
567
568 2003-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
569
570 * lib.scm (run-test-exception): Handle syntax errors.
571
572 2003-10-10 Marius Vollmer <mvo@zagadka.de>
573
574 * tests/numbers.test (inexact->exact): Use corrent argument order
575 for pass-if-exception. Use "+inf.0" instead of "+.inf", etc.
576
577 2003-10-09 Kevin Ryde <user42@zip.com.au>
578
579 * tests/numbers.test (inexact->exact): New tests.
580
581 * tests/poe.test: New file.
582 * Makefile.am: Add it.
583
584 2003-10-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
585
586 * lib.scm (exception:missing-expression): New.
587
588 * tests/dynamic-scope.test, tests/eval.test,
589 tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test:
590 Wrap tests in module (test-suite test-<file-name without .test>),
591 following a practice that was used on a couple of files already.
592
593 * tests/dynamic-scope.test (exception:duplicate-binding,
594 exception:bad-binding): New.
595
596 * tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test:
597 Execute syntactically wrong tests using eval. With the upcoming
598 new memoizer this is necessary in order to postpone the syntax
599 check to the actual evaluation of the syntactically wrong form.
600
601 * tests/syntax.test: Added some test cases and modified one test
602 case.
603
604 2003-10-02 Kevin Ryde <user42@zip.com.au>
605
606 * tests/ports.test (call-with-output-string): Test proc closing port.
607
608 2003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
609
610 * guile-test: Wrapped in module (test-suite guile-test).
611
612 (main data-file-name test-file-name): Exported.
613
614 ((guile-user)::main): New function, wrapper for function
615 (test-suite guile-test)::main.
616
617 * tests/load.test: Wrapped in module (test-suite test-load).
618
619 * tests/ports.test: Wrapped in module (test-suite test-ports).
620
621 * tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
622 Added comments about the required structure of the file itself,
623 since it is subject to some tests. Removed some now unnecessary
624 undefine operations.
625
626 * tests/syntax.test: Wrapped in module (test-suite test-syntax)
627
628 2003-09-19 Kevin Ryde <user42@zip.com.au>
629
630 * tests/popen.test: New file.
631 * Makefile.am (SCM_TESTS): Add it.
632
633 2003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
634
635 * tests/numbers.test (equal?): Added tests.
636
637 * tests/numbers.test (=): Fixed and added some bignum related
638 tests.
639
640 2003-08-30 Kevin Ryde <user42@zip.com.au>
641
642 * tests/numbers.test (logcount): Add tests.
643
644 2003-08-23 Kevin Ryde <user42@zip.com.au>
645
646 * tests/srfi-1.test (list-copy): New tests.
647
648 * tests/srfi-19.test (date-week-number): Add tests.
649
650 2003-08-22 Kevin Ryde <user42@zip.com.au>
651
652 * tests/numbers.test (-): Exercise bignum - inum.
653
654 2003-08-17 Kevin Ryde <user42@zip.com.au>
655
656 * tests/syntax.test (while): Exercise break and continue from
657 recursive nested loops.
658
659 2003-08-14 Kevin Ryde <user42@zip.com.au>
660
661 * tests/syntax.test (while): New tests.
662
663 2003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
664
665 * tests/numbers.test: Eliminated misuses of expect-fail. It
666 should only be used in cases, where guile has a known bug. It
667 should not be used in cases where an expression is expected to
668 return #f as its correct result.
669
670 2003-08-09 Kevin Ryde <user42@zip.com.au>
671
672 * tests/srcprop.test: New file.
673 * Makefile.am (SCM_TESTS): Add it.
674
675 2003-07-29 Kevin Ryde <user42@zip.com.au>
676
677 * tests/srfi-1.test (concatenate, concatenate!): New tests.
678 (length+): New tests.
679
680 * tests/srfi-34.test: Check cond-expand srfi-34.
681
682 2003-07-24 Kevin Ryde <user42@zip.com.au>
683
684 * tests/numbers.test (angle): New tests.
685
686 2003-07-18 Kevin Ryde <user42@zip.com.au>
687
688 * tests/numbers.test (*): Add complex/bignum test.
689
690 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
691
692 * tests/srfi-1.test (partition): Add tests.
693
694 2003-07-08 Kevin Ryde <user42@zip.com.au>
695
696 * tests/numbers.test (make-polar, magnitude): New tests.
697
698 * tests/srfi-1.test (delete, delete!): Add more tests.
699 (delete-duplicates, delete-duplicates!): New tests.
700
701 2003-06-21 Kevin Ryde <user42@zip.com.au>
702
703 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
704 tests.
705
706 2003-06-19 Kevin Ryde <user42@zip.com.au>
707
708 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
709 * tests/threads.test: New file, exercising parallel.
710 * Makefile.am (SCM_TESTS): Add them.
711
712 2003-06-07 Kevin Ryde <user42@zip.com.au>
713
714 * tests/srfi-6.test: New file.
715 * Makefile.am (SCM_TESTS): Add it.
716
717 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
718
719 * tests/chars.test: Fixed test comment. The bug that this test
720 detects was actually introduced by my patch from 2003-05-31.
721
722 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
723
724 * tests/chars.test: Added test, attempting to apply a character.
725 This test will only pass if the other changes that are submitted
726 together with this patch are also applied.
727
728 2003-06-05 Kevin Ryde <user42@zip.com.au>
729
730 * tests/numbers.test (logcount): Add a few more tests, to exercise
731 recent scm_logcount change.
732
733 * tests/reader.test (reading): Test bad # error message is formattable.
734
735 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
736
737 * tests/pairs.test: Added.
738
739 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
740
741 * tests/vectors.test: Added.
742
743 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
744
745 * tests/guardians.test: Uses module (ice-9 weak-vector).
746
747 2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
748
749 * lib.scm: Documented the short form for pass-if and expect-fail.
750
751 (pass-if, expect-fail): Simplified.
752
753 2003-05-30 Kevin Ryde <user42@zip.com.au>
754
755 * tests/numbers.test (max, min): Add tests involving NaNs.
756
757 2003-05-29 Stefan Jahn <stefan@lkcc.org>
758
759 * standalone/Makefile.am: Setup to build on mingw32.
760
761 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
762
763 * tests/elisp.test: Added missing quote around vector constants.
764
765 2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
766
767 * tests/r5rs_pitfall.test: Test 2.1 now passes.
768
769 2003-05-13 Kevin Ryde <user42@zip.com.au>
770
771 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
772 combinations.
773
774 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
775
776 2003-05-10 Kevin Ryde <user42@zip.com.au>
777
778 * tests/numbers.test (=, <): Add tests involving NaNs.
779
780 * tests/numbers.test (integer-length): Exercise some negatives, in
781 particular -2^n which is ...11100..00.
782
783 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
784 fitting a ulong.
785
786 * tests/srfi-1.test: New file, exercising take and drop.
787 * Makefile.am (SCM_TESTS): Add it.
788
789 2003-05-06 Kevin Ryde <user42@zip.com.au>
790
791 * tests/numbers.test (-): Add test for negative inum subtract bignum.
792 (logcount): New tests, exercising some negatives.
793
794 2003-05-03 Marius Vollmer <mvo@zagadka.de>
795
796 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
797 pointing us to these tests.
798
799 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
800
801 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
802
803 * tests/srfi-34.test: New file.
804
805 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
806
807 * tests/syntax.test: Modified some tests to use eval when
808 providing bad syntax. Otherwise, the memoizer will report an
809 error immediately after reading the form, without even the chance
810 to get the pass-if-exception mechanism started.
811
812 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
813
814 * tests/guardians.test: Added some more elaborate and
815 sophisticated tests for the guardian functionality.
816
817 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
818
819 * tests/sort.test: Added. Both tests in that file did fail (one
820 even with a segfault) with CVS guile before the recent changes to
821 sort.c.
822
823 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
824
825 * tests/goops.test: Added tests for correctness of class
826 precedence list in all basic classes and tests for eqv? and
827 equal?.
828
829 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
830
831 * tests/goops.test: Added tests for class redefinition, object
832 update and active slots.
833
834 2003-04-14 Rob Browning <rlb@defaultvalue.org>
835
836 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
837 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
838
839 * standalone/Makefile.am: change from .c.x to .x to be consistent
840 with the rest of guile.
841
842 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
843
844 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
845 instead of INCLUDES
846
847 2003-04-07 Rob Browning <rlb@defaultvalue.org>
848
849 * Makefile.am (SUBDIRS): add standalone.
850
851 * guile-test: added "Running test FOO" output by default. There
852 may be a good reason to remove this, but the output can be helpful
853 in determining where a failure occurred.
854
855 * standalone/test-num2integral.c: new test -- one new regression
856 check.
857
858 * standalone/test-gh.c: new test code (migrated from
859 tests/c-api/) -- a trivial start.
860
861 * standalone/test-asmobs-lib.c: new test script (migrated from
862 tests/asmobs/).
863
864 * standalone/test-asmobs: new test script.
865
866 * standalone/README: new file.
867
868 * standalone/Makefile.am: new file.
869
870 * standalone/.cvsignore: new file.
871
872 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
873
874 * tests/asmobs/README: removed (functionality is now in standalone/).
875
876 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
877 standalone/).
878
879 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
880
881 * tests/asmobs/: removed (functionality is now in standalone/).
882
883 * tests/c-api/strings.c: add a note to the source about this code
884 being unused.
885
886 2003-04-05 Marius Vollmer <mvo@zagadka.de>
887
888 * Changed license terms to the plain LGPL thru-out.
889
890 2003-03-24 Rob Browning <rlb@defaultvalue.org>
891
892 * tests/numbers.test: added tests (some simple) for various funcs.
893 ("odd?"): added tests.
894 ("even?"): added tests.
895 ("nan?"): added tests.
896 ("abs"): added tests.
897 ("lcm"): added tests.
898 ("number->string"): added tests.
899 ("number?"): added tests.
900 ("complex?"): added tests.
901 ("real?"): added tests.
902 ("rational?"): added tests.
903 ("integer?"): added tests.
904 ("inexact?"): added tests.
905 ("="): added tests.
906 ("zero?"): added tests.
907 ("positive?"): added tests.
908 ("negative?"): added tests.
909
910 * lib.scm (pass-if): allow really simple tests where the test code
911 is also the name like (pass-if (even? 2)).
912 (expect-fail): allow really simple tests where the test code is
913 also the test name like (expect-fail (even? 2)).
914
915 2003-03-19 Marius Vollmer <mvo@zagadka.de>
916
917 * tests/format.test ("format basic output"): Added test for "~F"
918 from Matthias Koeppe.
919
920 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
921
922 * tests/elisp.test: Use module (ice-9 weak-vector).
923
924 * tests/weaks.test: Use module (ice-9 weak-vector).
925
926 2002-12-08 Rob Browning <rlb@defaultvalue.org>
927
928 * tests/version.test: test (effective-version).
929
930 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
931
932 * tests/options.test: New.
933
934 2002-10-04 Rob Browning <rlb@defaultvalue.org>
935
936 * tests/numbers.test ("expt"): add tests.
937
938 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
939
940 * Makefile.am (dist-hook): Do not distribute CVS directories.
941 Thanks to Greg Troxel!
942
943 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
944
945 * tests/reader.test: change misc-error in read-error.
946
947 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
948
949 * tests/goops.test: Added tests for define-generic and
950 define-accessor.
951
952 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
953
954 * tests/goops.test: Added tests for define-class.
955
956 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
957
958 * tests/numbers.test (/): Expect divison by an inexact zero to
959 yield +inf.0.
960
961 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
962
963 * tests/regexp.test (regexp-substitute/global): Do not test with
964 empty regexp. Empty regexps do not work on NetBSD.
965
966 * tests/syncase.test (basic syncase macro): Added.
967
968 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
969
970 * tests/srfi-13.test (string-tokenize): Updated for fixed
971 semantics.
972
973 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
974
975 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
976 directories manually.
977
978 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
979
980 * guile-test (main): Handle `--flag-unresolved'. No longer set
981 exit value to #f unconditionally on UNRESOLVED results.
982 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
983
984 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
985
986 * tests/elisp.test: Add tests of Elisp expression evaluation.
987
988 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
989
990 * tests/load.test: New test; for search-path with Elisp
991 nil-terminated lists for PATH and EXTENSIONS.
992
993 * tests/elisp.test: More tests for Scheme primitives that should
994 accept Elisp nil-terminated lists.
995
996 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
997
998 * tests/elisp.test: More new tests for the Elisp nil value.
999
1000 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
1001
1002 * Makefile.am (SCM_TESTS): Added elisp.test.
1003
1004 * tests/elisp.test: New file.
1005
1006 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
1007
1008 * tests/numbers.test: Added more division by zero tests.
1009
1010 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
1011
1012 * tests/numbers.test: Added division by zero tests.
1013
1014 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
1015
1016 * tests/syntax.test: Added some tests, updated some others with
1017 respect to recent changes in eval.c. Further, extracted test
1018 cases for guile's extended set! functionality to srfi-17.test.
1019
1020 * tests/srfi-17.test: New file.
1021
1022 2001-11-04 Stefan Jahn <stefan@lkcc.org>
1023
1024 * tests/ports.test: Run (close-port) before (delete-file) if
1025 necessary/advisory.
1026
1027 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1028
1029 * tests/eval.test: Added tests for promises.
1030
1031 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
1032
1033 * lib.scm: Move module the system directives `export',
1034 `export-syntax', `re-export' and `re-export-syntax' into the
1035 `define-module' form. This is the recommended way of exporting
1036 bindings.
1037
1038 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1039
1040 * tests/syntax.test: Added test cases for 'cond =>' syntax with
1041 else clause. Changed some tests and comments related to the
1042 'case' form to reflect recent changes in the implementation.
1043
1044 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
1045
1046 * tests/syntax.test: Added test cases for 'lambda' syntax.
1047
1048 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1049
1050 * tests/syntax.test: Added test cases for 'case' syntax.
1051
1052 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1053
1054 * tests/numbers.test: Added a test case that checks if valid
1055 number strings are transformed correctly by string->number.
1056
1057 2001-09-21 Rob Browning <rlb@defaultvalue.org>
1058
1059 * tests/numbers.test (fixnum-bit): compute dynamically.
1060
1061 * tests/bit-operations.test (fixnum-bit): compute dynamically.
1062
1063 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
1064
1065 * tests/getopt-long.test ("apples-blimps-catalexis example",
1066 "multiple occurances"): New top-level sections.
1067
1068 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
1069
1070 * tests/numbers.test: Made some of the patterns better readable.
1071
1072 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
1073
1074 * tests/srfi-19.test (test-time-comparision,
1075 test-time-arithmatic): New procs.
1076
1077 Add time comparison tests using new procs.
1078 Thanks to Alex Shinn.
1079
1080 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
1081
1082 * tests/dynamic-scope.test: New file.
1083
1084 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
1085
1086 * tests/srfi-13.test (string-for-each, string-for-each-index):
1087 Add tests. (Thanks to Alex Shinn.)
1088
1089 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1090
1091 * tests/srfi-13.test (string-map): Swapped order of string and
1092 proc args to conform with the srfi. (Thanks to Alex Shinn.)
1093
1094 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
1095
1096 * tests/getopt-long.test (exception:no-such-option,
1097 exception:option-does-not-support-arg,
1098 exception:option-must-be-specified,
1099 exception:option-must-have-arg, exception:not-enough-args):
1100 New vars.
1101
1102 ("option-ref", "required", "specified no value, given anyway",
1103 "specified arg required"): New top-level sections.
1104
1105 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1106
1107 * tests/numbers.test: Added Some syntax tests for
1108 string->number.
1109
1110 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1111
1112 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
1113 "SCM_TESTS". This has special meaning to automake. How many
1114 tries left to get this right, mvo?
1115
1116 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1117
1118 * Makefile.am (TESTS): List tests explicitely instead of using a
1119 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
1120
1121 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
1122
1123 * Makefile.am: New file, to control distribution of the
1124 test-suite.
1125
1126 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
1127
1128 * tests/getopt-long.test: New file.
1129
1130 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
1131
1132 * lib.scm (run-test-exception): Add special handling for
1133 `error'-generated exceptions, which pass key `misc-error' and
1134 leave messages unformatted.
1135
1136 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1137
1138 * tests/alist.test, tests/bit-operations.test,
1139 tests/common-list.test, tests/environments.test, tests/eval.test,
1140 tests/gc.test, tests/hooks.test, tests/import.test,
1141 tests/interp.test, tests/list.test, tests/load.test,
1142 tests/numbers.test, tests/ports.test, tests/r4rs.test,
1143 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
1144 copyright notice.
1145
1146 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1147
1148 * tests/srfi-14.test: New file.
1149
1150 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
1151
1152 * tests/import.test: New file.
1153
1154 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1155
1156 * tests/goops.test: Started with some real tests.
1157
1158 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1159
1160 * guile-test: Use module (ice-9 rdelim).
1161
1162 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1163
1164 * tests/srfi-4.test: New file.
1165
1166 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
1167
1168 Thanks to Matthias Köppe!
1169
1170 * tests/ports.test: New test for output port line counts.
1171 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
1172 files.
1173
1174 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1175
1176 * tests/symbols.test ("gensym"): New tests for long gensym
1177 prefices and embedded NULs in prefices.
1178
1179 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
1180
1181 * test/goops.test, test/syncase.test: New, minimal tests.
1182
1183 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1184
1185 * tests/version.test: Updated test for new micro version stuff.
1186
1187 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1188
1189 * tests/srfi-13.test: More tests.
1190
1191 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1192
1193 * tests/srfi-10.test: New file.
1194
1195 * tests/srfi-9.test: New file.
1196
1197 * tests/srfi-13.test: Added some more tests.
1198
1199 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
1200
1201 * tests/eval.test: ("evaluator" "memoization"): New test
1202 prefix block.
1203 ("transparency"): New "evaluator memoization" test.
1204
1205 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1206
1207 * tests/srfi-13.test: Added module access kludge, and uncommented
1208 some tests depending on this.
1209
1210 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1211
1212 * tests/srfi-13.test: New file testing the SRFI string library.
1213
1214 2001-04-26 Gary Houston <ghouston@arglist.com>
1215
1216 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
1217 have run.
1218
1219 * tests/ports.test (test-file), tests/load.test (temp-dir):
1220 redefined using data-file-name instead of tmpnam. the test files
1221 will be created in the build directory instead of /var/tmp or
1222 whereever tmpnam puts them.
1223
1224 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
1225
1226 * tests/symbols.c: Added some tests.
1227
1228 2001-03-19 Gary Houston <ghouston@arglist.com>
1229
1230 * tests/r4rs.test: use test-file-name to locate r4rs.test,
1231 not data-file-name.
1232
1233 * guile-test: define tmp-dir, the location where r4rs.test will
1234 create it's temporary files.
1235 (data-file-name): use tmp-dir. this must be under build-dir,
1236 not src-dir.
1237
1238 2001-03-18 Gary Houston <ghouston@arglist.com>
1239
1240 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
1241 first line.
1242
1243 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1244
1245 * tests/syntax.test: Added a test for let* bindings and
1246 re-arranged and slightly improved the existing one.
1247
1248 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1249
1250 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
1251 test, dups are allowed in `let*' and are now expected to pass.
1252
1253 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1254
1255 * lib.scm (run-test-exception): Preserve the original error's
1256 stack for re-throwing.
1257
1258 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
1259
1260 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
1261 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
1262 been fixed.
1263
1264 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
1265
1266 * tests/syntax.test ("duplicate formals"): New category, move
1267 appropriate tests here. Expect them to pass.
1268 ("empty parentheses"): Expect to pass, bug has been fixed.
1269
1270 * tests/alist.test: Use "'()" instead of "()" in all places
1271 where the empty list is meant.
1272
1273 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1274
1275 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
1276 exported constants.
1277
1278 * tests/r4rs.test: Make sure that no bindings for x and y exist
1279 after the file is loaded.
1280
1281 * tests/syntax.test: New file.
1282
1283 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
1284 Moved the test cases that are related to guile's syntactic forms
1285 from tests/exceptions.test to tests/syntax.test. Moved tests
1286 related to evaluation and application to tests/eval.test.
1287
1288 * tests/exceptions.test: Added some test cases that check guile's
1289 exception handling.
1290
1291 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1292
1293 * tests/exceptions.test, tests/numbers.test: Moved the number
1294 related test cases from tests/exceptions.test to
1295 tests/numbers.test.
1296
1297 * tests/numbers.test: Added a test case.
1298
1299 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1300
1301 * tests/symbols.test: New file.
1302
1303 (exception:immutable-string): New constant. Currently, this is a
1304 dummy since guile does not have immutable strings.
1305
1306 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
1307 Moved the string related test cases from tests/exceptions.test to
1308 tests/strings.test and the symbol related test cases to
1309 tests/symbols.test.
1310
1311 * tests/strings.test: Copyright notice updated. Added a couple
1312 of test cases.
1313
1314 (exception:immutable-string): New constant. Currently, this is a
1315 dummy since guile does not have immutable strings.
1316
1317 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1318
1319 * tests/exceptions.test: Use expect-fail-exception to indicate
1320 test cases where exceptions should occur, but don't.
1321
1322 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
1323 exception:missing/extra-expr): New constants.
1324
1325 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1326
1327 * tests/reader.test, tests/exceptions.test: Moved the reader
1328 related test cases from tests/exceptions.test to
1329 tests/reader.test.
1330
1331 * tests/reader.test (exception:eof, exception:unexpected-rparen):
1332 New constants.
1333
1334 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
1335 Removed.
1336
1337 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1338
1339 * lib.scm (signals-error?, signals-error?*): Removed.
1340
1341 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1342
1343 * lib.scm: Added comment about new convenience functions/macros
1344 to test for exceptions.
1345
1346 (exception:out-of-range, exception:wrong-type-arg): New exported
1347 constants.
1348
1349 (run-test-exception): New function.
1350
1351 (pass-if-exception, expect-fail-exception): New exported macros.
1352
1353 * tests/environments.test: Fixed tests that were checking for
1354 exceptions when set!ing an unbound symbol.
1355
1356 (exception:unbound-symbol): New constant.
1357
1358 * tests/hooks.test (catch-error-returning-true, pass-if-not,
1359 catch-error-returning-false), tests/weaks.test
1360 (catch-error-returning-true, pass-if-not,
1361 catch-error-returning-false): Removed. The macro pass-if-not was
1362 not used. The macro catch-error-returning-false is unnecessary
1363 since exceptions are caught by the test-suite anyway. The
1364 functionality of catch-error-returning-true is provided by the new
1365 convenience macro pass-if-exception.
1366
1367 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
1368 Maybe a standard wrong-num-arg exception should be thrown instead
1369 of a misc-error?
1370
1371 * tests/reader.test (try-to-read): Replaced by read-string.
1372
1373 (read-string): New function.
1374
1375 * tests/alist.test, tests/environments.test, tests/eval.test,
1376 tests/hooks.test, tests/list.test, tests/ports.test,
1377 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
1378 tests for exceptions with the new convenience macros.
1379
1380 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1381
1382 * tests/alist.test: Remove redundant test name prefix.
1383
1384 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1385
1386 * lib.scm (pass-if): Tests shall return a boolean value.
1387
1388 * tests/bit-operations.test (documented?), tests/common-list.test
1389 (documented?), tests/environments.test (documented?),
1390 tests/eval.test (documented?), tests/gc.test (documented?),
1391 tests/numbers.test (documented?), tests/guardians.test,
1392 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
1393 that tests return a boolean value.
1394
1395 * tests/list.test (documented?): New function, replace all checks
1396 for documentation with calls to this function.
1397
1398 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
1399
1400 * lib.scm (data-file): Remove from export list.
1401
1402 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
1403
1404 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
1405 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
1406 (syntax reading): New section.
1407 (syntax let*): New section.
1408 (syntax letrec): New section.
1409 (syntax set!): New section.
1410 (syntax misc): New section.
1411 (bindings unbound): New section.
1412 (bindings immutable-modification): New section.
1413 (bindings let): New section.
1414 (bindings let*): New section.
1415 (bindings letrec): New section.
1416
1417 * tests/exceptions.test: New file.
1418
1419 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1420
1421 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
1422 and-let*).
1423
1424 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1425
1426 This patch fixes things that I have broken with the last one :-(
1427
1428 * guile-test (test-suite): New variable.
1429
1430 (data-file-name): New function. Has the same purpose as the
1431 former function data-file from lib.scm. Moved here in order to
1432 have all file name handling at the same place. In contrast to the
1433 former 'data-file function, it is not checked whether a file
1434 exists. This allows to use this function also for file names of
1435 files that are still to be created.
1436
1437 (test-file-name): Use the global 'test-suite variable.
1438
1439 (main): Initialize 'test-suite instead of a local variable.
1440
1441 * lib.scm: Don't import paths any more.
1442
1443 (data-file): Removed. Resurrected with a sligtly different
1444 functionality as 'data-file-name' in guile-test.
1445
1446 * r4rs.scm: For all references to temporary file, make use of
1447 data-file-name.
1448
1449 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1450
1451 The following patch was sent by Thien-Thi Nguyen and a little bit
1452 modified by me.
1453
1454 * guile-test: Usage and installation comments improved. Added
1455 support for --test-suite and --debug command line options.
1456
1457 (default-test-suite): Added to allow for simplified
1458 configurability. No need to load the paths file any more.
1459
1460 (enable-debug-mode): New function. Will be called when the
1461 --debug command line option is given.
1462
1463 (test-root): Removed. The test directory has to be fully given.
1464 This allows for arbitrarily named test directories.
1465
1466 (test-file-name, enumerate-tets): Take the test directory as a
1467 paramter instead of using the global variable 'test-root'.
1468
1469 (main): Handle the new command line options. Return an exit code
1470 depending on whether all tests came out as expected.
1471
1472 * README: Updated.
1473
1474 * paths.scm: Removed.
1475
1476 2001-01-24 Gary Houston <ghouston@arglist.com>
1477
1478 * tests/ports.test: include (ice-9 rdelim) module.
1479
1480 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1481
1482 * tests/numbers.test: Converted to do real boundary testing.
1483
1484 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
1485
1486 * tests/bit-operations.test: Added.
1487
1488 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
1489
1490 * tests/gc.test: Added.
1491
1492 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1493
1494 * tests/strings.test: string=? is fixed.
1495
1496 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1497
1498 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
1499
1500 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1501
1502 * tests/strings.test: Added a test to help remember that string=?
1503 and friends need fixing.
1504
1505 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1506
1507 * tests/environments.test: For tests that rely on garbage
1508 collection, conservative scanning can be a problem. Add a comment
1509 for these tests and make them turn out unresolved if things don't
1510 work as expected.
1511
1512 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1513
1514 * tests/environments.test: Finished and cleaned up the tests for
1515 the leaf environments. Added a complete set of testcases for the
1516 leaf environment based eval environments. Started with the tests
1517 for the import environments.
1518
1519 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
1520
1521 * tests/environments.test: Added.
1522
1523 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1524
1525 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
1526 of expressions.
1527
1528 * tests/eval.test: Fix documentation test.
1529
1530 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1531
1532 * tests/list.test: Added tests for list-ref, list-set! and
1533 list-cdr-set!
1534
1535 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1536
1537 * tests/common-list.test: Added.
1538
1539 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1540
1541 * tests/eval.test: Added.
1542
1543 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1544
1545 * tests/list.test: Use cons* instead of list*.
1546
1547 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1548
1549 * tests/numbers.test, tests/list.test: Updated for new
1550 documentation module.
1551
1552 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1553
1554 * tests/hooks.test: make-hook-with-name is deprecated.
1555
1556 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
1557
1558 * tests/list.test, tests/numbers.test: Added.
1559
1560 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
1561
1562 * guile-test: Eliminate use of catch-test-errors.
1563
1564 * lib.scm: Adopted a couple of nice ideas from Greg.
1565
1566 (pass, fail, expect-failure, expect-failure-if,
1567 expect-failure-if*, catch-test-errors, catch-test-errors*,
1568 expected-failure-fluid, pessimist?): Removed.
1569
1570 (run-test, expect-fail, result-tags, important-result-tags):
1571 Added.
1572
1573 (report, make-count-reporter, print-counts, make-log-reporter,
1574 full-reporter, user-reporter): Reporters take two mandatory
1575 arguments and make use of the tag descriptions in result-tags and
1576 important-result-tags.
1577
1578 * tests/alist.test, tests/hooks.test, tests/ports.test,
1579 tests/weaks.test: Don't use catch-test-errors and
1580 expect-failure-if.
1581
1582 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1583
1584 * mambo.test: Removed dummy file.
1585
1586 2000-03-31 Gary Houston <ghouston@arglist.com>
1587
1588 * tests/ports.test (non-blocking-I/O): a couple more details:
1589 a) combine the O_NONBLOCK flag with the default flags instead
1590 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
1591
1592 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
1593
1594 * lib.scm: Doc fixes.
1595
1596 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
1597
1598 * paths.scm: Assume that ~/guile-core/test-suite is the location
1599 of the test suite now.
1600
1601 * tests/version.test: Added -- version.c had 0% coverage before,
1602 now at 100%.
1603
1604 * tests/chars.test: Added -- needed test of char-is-both?.
1605
1606 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
1607
1608 * tests/weaks.test, tests/hooks.test: Added.
1609
1610 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
1611
1612 * tests/alist.test: Added.
1613
1614 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
1615
1616 * tests/c-api.test: Refine the list of files that are checked in
1617 the seek-offset-test. Was just using files that end in "c", but
1618 that caught the new ".doc" files, too, so make sure that files end
1619 in ".c" before requiring that they include unistd.h if they
1620 reference SEEK_(SET|CUR|END).
1621
1622 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
1623
1624 * tests/ports.test ("string ports"): test seeking/unreading from
1625 an input string and seeking an output string.
1626
1627 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
1628
1629 * tests/ports.test: in seek/tell test on input port, also test
1630 that ftell doesn't discard unread chars.
1631
1632 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
1633
1634 * tests/ports.test: add seek/tell tests for unidirectional ports.
1635
1636 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
1637
1638 * tests/reader.test: Check that number->string checks its radix
1639 properly.
1640
1641 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
1642
1643 * tests/ports.test: Check that our input functions cope when
1644 current-input-port is closed.
1645
1646 * tests/regexp.test: Check regexp-substitute/global when there are
1647 no matches. (Duh.)
1648
1649 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1650
1651 * tests/c-api.test: New file. Add test to check that all source
1652 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1653
1654 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
1655
1656 * tests/ports.test: test non-blocking I/O.
1657
1658 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1659
1660 * tests/strings.test: Add test for substring-move! argument checking.
1661
1662 * lib.scm (signals-error?, signals-error?*): New macro and function.
1663 * tests/reader.test: Use them.
1664
1665 * tests/interp.test: Add copyright notice.
1666
1667 * tests/reader.test: New test file.
1668
1669 * tests/regexp.test: New test file.
1670
1671 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1672
1673 * tests/interp.test: Added tests for evaluation of closure bodies.
1674
1675 1999-09-03 James Blandy <jimb@mule.m17n.org>
1676
1677 * tests/multilingual.nottest: New file, which we will turn into a
1678 test file once we actually have multilingual support to test.
1679
1680 * tests/load.test: New test file.
1681
1682 1999-08-30 James Blandy <jimb@mule.m17n.org>
1683
1684 * tests/strings.test: New test file.
1685
1686 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
1687
1688 * tests/ports.test: test unread-char and unread-string.
1689
1690 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
1691
1692 * tests/ports.test: test line-buffering of fports.
1693
1694 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
1695
1696 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
1697
1698 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
1699
1700 * tests/ports.test: lseek -> seek.
1701
1702 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
1703
1704 * tests/ports.test: tests for buffered and unbuffered input/output
1705 fports with seeking.
1706
1707 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
1708
1709 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
1710 corresponds to an example object, not a predicate. Aubrey
1711 probably never noticed this because SCM doesn't check the lengths
1712 of the arguments to for-each and map...
1713
1714 * tests/ports.test: Add some regression tests for char-ready?.
1715
1716 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1717
1718 * tests/ports.test: Fix copyright years.
1719
1720 * tests/guardians.test: New test file.
1721
1722 * tests/ports.test ("read-delimited!"): New tests.
1723
1724 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
1725
1726 * tests/interp.test: New file.
1727
1728 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1729
1730 * tests/time.test: New test file.
1731
1732 * tests/r4rs.test: New set of tests, taken from Guile's test
1733 script, taken from SCM.
1734
1735 * tests/ports.test: Group the string port tests under a new
1736 test name prefix.
1737
1738 * tests/ports.test ("line counter"): Check the final column, too.
1739
1740 * lib.scm: Import (test-suite paths).
1741 (data-file): New exported function.
1742
1743 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
1744
1745 * tests/ports.test ("line counter"): Add test for correct column
1746 at EOF.
1747
1748 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1749
1750 * tests/ports.test ("line counter"): Verify that we do eventually
1751 get EOF on the port --- don't just read forever.
1752
1753 * lib.scm (full-reporter): The test name is the cadr of the
1754 result, not the cdr. I'm not macho enough to handle run-time
1755 typechecking.
1756
1757 * lib.scm (print-counts): XFAILS are "expected failures", not
1758 "unexpected failures."
1759
1760 * lib.scm, guile-test, paths.scm: Log begins.
1761