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