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