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