Note need for subscription to bug-guile@gnu.org.
[bpt/guile.git] / test-suite / ChangeLog
1 2006-11-17 Neil Jerram <neil@ossau.uklinux.net>
2
3 * README: Note need for subscription to bug-guile@gnu.org.
4
5 2006-11-02 Neil Jerram <neil@ossau.uklinux.net>
6
7 * tests/environments.test: Comment out all tests in this file.
8
9 2006-10-26 Ludovic Courtès <ludovic.courtes@laas.fr>
10
11 * tests/srfi-14.test (Latin-1)[char-set:punctuation]: Fixed a
12 typo: `thrown' instead of `throw'.
13
14 2006-10-05 Kevin Ryde <user42@zip.com.au>
15
16 * tests/ftw.test: New file.
17 * Makefile.am (SCM_TESTS): Add it.
18
19 2006-10-03 Kevin Ryde <user42@zip.com.au>
20
21 * tests/eval.test (apply): New tests, exercising scm_tc7_subr_2o which
22 had lacked some arg count checking.
23
24 2006-09-26 Kevin Ryde <user42@zip.com.au>
25
26 * tests/ports.test (seek): New tests.
27 (truncate-file): More tests.
28
29 2006-09-23 Kevin Ryde <user42@zip.com.au>
30
31 * tests/numbers.test (exp, log, log10, sqrt): New tests.
32
33 * tests/format.test, tests/srfi-1.test: Use define-module to prevent
34 redefined funcs in those modules extending on to subsequent tests.
35
36 * tests/time.test (gmtime, strptime): Remove the "unresolved" throws,
37 the error+thread tests seem ok now (previously were upset by something
38 leaking out of syntax.test).
39
40 2006-09-20 Ludovic Courtès <ludovic.courtes@laas.fr>
41
42 * tests/srfi-14.test: Use `define-module'. Use modules `(srfi
43 srfi-1)' and `(test-suite lib)'.
44 (string->char-set, standard char sets (ASCII), Latin-1 (8-bit
45 charset)): New test prefixes.
46 (every?, find-latin1-locale): New procedures.
47 (%latin1): New variable.
48
49 2006-09-08 Kevin Ryde <user42@zip.com.au>
50
51 * tests/format.test (~f): Test leading zeros bugfix.
52
53 2006-08-25 Kevin Ryde <user42@zip.com.au>
54
55 * tests/popen.test (open-input-pipe, open-output-pipe): In the "no
56 duplicate" tests, close parent side of signalling pipe, to hopefully
57 generate an error instead of a hang if something bad in the child
58 means it doesn't write anything.
59
60 2006-08-22 Kevin Ryde <user42@zip.com.au>
61
62 * tests/srfi-9.test: More tests, in particular check for exceptions on
63 wrong record types passed to accessor and modifier funcs.
64
65 2006-07-25 Kevin Ryde <user42@zip.com.au>
66
67 * standalone/test-conversion.c, standalone/test-gh.c,
68 standalone/test-list.c, standalone/test-num2integral.c,
69 standalone/test-round.c: Use scm_boot_guile rather than
70 scm_init_guile, for the benefit of those systems where we can't
71 implement the latter. Reported by Claes Wallin.
72
73 * standalone/test-require-extension: Use "&& exit 1" instead of "!" to
74 invert the sense of exit statuses, as the latter doesn't work on
75 Solaris 10. Reported by Claes Wallin.
76
77 2006-07-24 Kevin Ryde <user42@zip.com.au>
78
79 * tests/socket.test (htonl, ntohl): New tests.
80
81 2006-07-06 Kevin Ryde <user42@zip.com.au>
82
83 * tests/time.test (localtime, mktime, strptime): More tests.
84
85 2006-06-13 Ludovic Courtès <ludovic.courtes@laas.fr>
86
87 * Makefile.am (SCM_TESTS): Added `tests/structs.test'.
88 * tests/structs.test: New file.
89 * lib.scm (exception:struct-set!-denied): New.
90 (exception:miscellaneous-error): New.
91
92 2006-05-30 Marius Vollmer <mvo@zagadka.de>
93
94 * tests/unif.test ("vector equal? one-dimensional array"): New.
95
96 2006-05-28 Kevin Ryde <user42@zip.com.au>
97
98 * tests/numbers.test (number->string): Disable 11.333 and 1.324e44
99 tests, as these can't be expected to come out precisely in the current
100 implementation, and in fact don't under gcc 4. Reported by Hector
101 Herrera.
102
103 * tests/srfi-1.test (append-reverse, append-reverse!): New tests.
104
105 2006-05-28 Marius Vollmer <mvo@zagadka.de>
106
107 * tests/ports.test, tests/filesys.test: Delete test file after all
108 tests have run in order to make "make distcheck" work.
109
110 2006-05-20 Kevin Ryde <user42@zip.com.au>
111
112 * tests/srfi-1.test (assoc): A few tests, in particular "=" argument
113 order which had been wrong.
114
115 * tests/srfi-60.test (test-srfi-60): Use #:duplicates (last) to
116 suppress warning about replacing bit-count.
117
118 2006-05-09 Kevin Ryde <user42@zip.com.au>
119
120 * tests/numbers.test (exact->inexact): Test fractions big/big.
121
122 * tests/threads.test (n-par-for-each, n-for-each-par-map): New tests.
123
124 2006-04-17 Kevin Ryde <user42@zip.com.au>
125
126 * tests/filesys.test (lstat): Allow for test-symlink not existing yet.
127
128 2006-04-16 Kevin Ryde <user42@zip.com.au>
129
130 * tests/filesys.test (lstat, stat): New tests.
131 * tests/ports.test (truncate-file): New tests.
132
133 2006-03-28 Kevin Ryde <user42@zip.com.au>
134
135 * Makefile.am (SCM_TESTS): Remove slib.test, it fails with current
136 slib and the ice-9 slib module is due for revision soon.
137
138 2006-03-19 Kevin Ryde <user42@zip.com.au>
139
140 * tests/unif.test (make-shared-array): Another test which failed in
141 1.8.0 but is ok now.
142
143 2006-03-05 Kevin Ryde <user42@zip.com.au>
144
145 * tests/unif.test (make-shared-array): Add example usages from the
146 manual, two of which currently fail.
147
148 2006-03-04 Ludovic Courtès <ludovic.courtes@laas.fr>
149
150 * test-suite/tests/modules.test: New file.
151 * test-suite/Makefile.am (SCM_TESTS): Added it.
152
153 2006-02-26 Kevin Ryde <user42@zip.com.au>
154
155 * tests/filesys.test (opendir etc): Exercise a little.
156
157 * tests/strings.test (string<?, string-ci<?, string<=?, string-ci<=?,
158 string>?, string-ci>?, string>=?, string-ci>=?): Check ordering is the
159 same as char<? etc. Use a define-module to keep private test bits
160 private.
161 * tests/srfi-13.test (string-compare, string-compare-ci): Ditto.
162
163 * tests/unif.test (array-set!): Exercise bitvector case, which had
164 been seg faulting.
165
166 2006-02-07 Kevin Ryde <user42@zip.com.au>
167
168 * tests/poe.test (pure-funcq): New tests.
169
170 2006-02-04 Neil Jerram <neil@ossau.uklinux.net>
171
172 * tests/exceptions.test: 19 new test cases.
173 (throw-test): New macro for testing catches and throw handlers.
174
175 2006-02-04 Kevin Ryde <user42@zip.com.au>
176
177 * standalone/test-list.c: New file.
178 * standalone/Makefile.am: Add test-list.c
179
180 * tests/srfi-1.test: Use the equal proc argument, so we exercise the
181 srfi-1 version of the code. Without such an argument srfi-1.c passes
182 the job to the core scm_delete.
183
184 2006-01-29 Marius Vollmer <mvo@zagadka.de>
185
186 * tests/time.test: Replaced 'futures' with threads.
187
188 2005-11-30 Kevin Ryde <user42@zip.com.au>
189
190 * tests/srfi-13.test (string-append/shared): New tests.
191
192 2005-11-24 Kevin Ryde <user42@zip.com.au>
193
194 * tests/srfi-1.test (lset-difference!): More tests.
195
196 2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
197
198 * tests/socket.test (make-socket-address): New tests.
199 (connect, bind, sendto): Exercise sockaddr object.
200
201 2005-10-24 Kevin Ryde <user42@zip.com.au>
202
203 * tests/time.test (strftime %Z): Disable this test, its assumptions
204 about %Z are not valid on NetBSD.
205
206 2005-08-19 Kevin Ryde <user42@zip.com.au>
207
208 * tests/srfi-19.test (date->time-tai): New tests, exercising new
209 leap-second.
210
211 2005-08-15 Neil Jerram <neil@ossau.uklinux.net>
212
213 * tests/eval.test ("letrec init evaluation"): New paranoid test.
214
215 * tests/r5rs_pitfall.test (1.1): Now passes.
216
217 2005-08-12 Kevin Ryde <user42@zip.com.au>
218
219 * tests/srfi-1.test (lset-difference, lset-difference,
220 lset-diff+intersection, lset-diff+intersection, lset-intersection):
221 Exercise equality procedure arg order (already correct in these procs,
222 but had been wrong in other lset ones).
223
224 2005-08-06 Kevin Ryde <user42@zip.com.au>
225
226 * tests/srfi-13.test (string-every, string-tabulate, string-trim,
227 string-trim-right, string-trim-both, string-index, string-index-right,
228 string-skip, string-skip-right, string-count, string-filter,
229 string-delete, string-map, string-map!, string-for-each,
230 string-for-each-index): Further tests, mainly to exercise new
231 trampolines for proc calls.
232
233 2005-08-01 Marius Vollmer <mvo@zagadka.de>
234
235 * tests/weaks.test: Do not fail when the GC does not collect an
236 object, report it as 'unresolved'.
237
238 * tests/guardians.test: Adapted to new (original) semantics. test
239 guardingobjects multiple times.
240
241 2005-06-12 Marius Vollmer <mvo@zagadka.de>
242
243 * standalone/test-gh.c: Do nothing when deprecated things are
244 disabled.
245
246 2005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
247
248 * tests/gc.test ("gc"): add a test to verify that modules are
249 garbage collected.
250
251 2005-06-11 Kevin Ryde <user42@zip.com.au>
252
253 * tests/srfi-13.test (string-filter): A few more tests.
254
255 2005-06-10 Kevin Ryde <user42@zip.com.au>
256
257 * tests/unif.test (array-index-map!): Add a test failing in the
258 current code.
259
260 2005-06-06 Kevin Ryde <user42@zip.com.au>
261
262 * tests/strings.test (string-split): Try splitting on an 8-bit char.
263
264 * tests/unif.test (array-in-bounds?): Add a test failing in the
265 current code.
266
267 2005-05-07 Kevin Ryde <user42@zip.com.au>
268
269 * tests/srfi-1.test (car+cdr, fold, last, list-index, list-tabulate,
270 not-pair?, xcons): New tests.
271
272 2005-05-04 Kevin Ryde <user42@zip.com.au>
273
274 * tests/srfi-1.test (break!, drop-right!, drop-while, eighth, fifth,
275 ninth, seventh, sixth, span!, take!, take-while, take-while!, tenth):
276 New tests.
277
278 * tests/unif.test (make-shared-array): Add failing case shared of
279 shared.
280
281 2005-04-30 Kevin Ryde <user42@zip.com.au>
282
283 * tests/numbers.test (/): Further tests.
284
285 2005-04-25 Kevin Ryde <user42@zip.com.au>
286
287 * tests/ramap.test (array-map!): Further tests.
288
289 2005-04-23 Kevin Ryde <user42@zip.com.au>
290
291 * tests/hash.test (hashx-remove!): New tests.
292
293 * tests/list.test (list, make-list, cons*): New tests.
294
295 * tests/numbers.test (numerator, denominator): New tests.
296
297 * tests/srfi-1.test (concatenate, concatenate!, count, filter-map,
298 lset-adjoin): More tests.
299
300 2005-04-14 Kevin Ryde <user42@zip.com.au>
301
302 * tests/numbers.test (1+, 1-): New tests.
303
304 2005-04-11 Kevin Ryde <user42@zip.com.au>
305
306 * tests/srfi-13.test (string-concatenate, string-concatenate/shared):
307 New tests.
308
309 2005-04-02 Kevin Ryde <user42@zip.com.au>
310
311 * tests/numbers.test (round): Add some fraction cases.
312
313 * tests/srfi-1.test (lset-union): More tests.
314
315 2005-03-26 Kevin Ryde <user42@zip.com.au>
316
317 * tests/srfi-13.test (string-index): Exercise 8-bit char in string.
318
319 2005-03-18 Kevin Ryde <user42@zip.com.au>
320
321 * tests/srfi-1.test (filter-map): More tests.
322
323 * tests/srfi-17.test: A few more tests from the 1.6 branch.
324
325 2005-03-16 Kevin Ryde <user42@zip.com.au>
326
327 * tests/srfi-1.test (drop-right, partition!, split-at, split-at!,
328 take-right): New tests.
329
330 2005-03-14 Kevin Ryde <user42@zip.com.au>
331
332 * tests/srfi-1.test (find, find-tail, lset-union): New tests.
333 (lset-adjoin): Corrections to some tests.
334
335 2005-03-13 Kevin Ryde <user42@zip.com.au>
336
337 * tests/numbers.test (=): Exercise inum/flonum cases that used to
338 round on 64-bit systems.
339
340 * tests/numbers.test (logior): New tests, exercising negative bignums
341 reducing to inum.
342
343 * tests/srfi-60.test: New file.
344 * Makefile.am (SCM_TESTS): Add it.
345
346 2005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
347
348 * tests/threads.test: Only test when 'threads are provided.
349
350 2005-02-21 Kevin Ryde <user42@zip.com.au>
351
352 * tests/numbers.test (string->number): Exercise polar form with
353 invalid angle.
354
355 2005-02-18 Kevin Ryde <user42@zip.com.au>
356
357 * tests/srfi-1.test (lset-adjoin): Amend tests to expect duplicates
358 among args cast out.
359
360 2005-02-12 Rob Browning <rlb@defaultvalue.org>
361
362 * standalone/test-require-extension: new test script.
363
364 * standalone/Makefile.am (check_SCRIPTS): add test-require-extension.
365 (TESTS): add test-require-extension.
366
367 2005-02-12 Kevin Ryde <user42@zip.com.au>
368
369 * tests/srfi-1.test (reduce, reduce-right): New tests.
370
371 2005-02-11 Kevin Ryde <user42@zip.com.au>
372
373 * tests/fractions.test (ash): Remove tests of ash on fractions, not
374 supported after scm_ash rewrite.
375
376 2005-02-04 Kevin Ryde <user42@zip.com.au>
377
378 * tests/srfi-1.test (list=): New tests.
379
380 2005-01-29 Kevin Ryde <user42@zip.com.au>
381
382 * tests/numbers.test (ash): New tests.
383
384 * tests/srfi-1.test (lset-adjoin, remove, remove!): New tests.
385
386 2005-01-28 Kevin Ryde <user42@zip.com.au>
387
388 * tests/syntax.test (while): Tests running in empty environment are
389 now "unresolved" due to workaround in while implementation.
390
391 2005-01-24 Kevin Ryde <user42@zip.com.au>
392
393 * standalone/test-unwind.c (check_cont): Cast rewindable to long, to
394 avoid warning from gcc 3.4 on 64-bit systems about casting int
395 (32-bits) to pointer (64-bits).
396
397 * tests/srfi-1.test (lset=, member): New tests.
398
399 2005-01-12 Kevin Ryde <user42@zip.com.au>
400
401 * tests/srfi-39.test (current-input-port, current-output-port,
402 current-error-port): New tests.
403
404 2005-01-10 Marius Vollmer <mvo@zagadka.de>
405
406 * tests/unif.test (exception:wrong-num-indices): New, use it for
407 array-set! tests with wrong number of indices.
408
409 2005-01-07 Marius Vollmer <mvo@zagadka.de>
410
411 * tests/srfi-4.test: Use (test-suite lib) module.
412
413 2005-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
414
415 * tests/unif.test (have-llvect?): Removed, Scheme code will always
416 have u64 and s64 uniform vectors.
417
418 2005-01-05 Marius Vollmer <mvo@zagadka.de>
419
420 * tests/unif.test: Use *unspecified* instead of #f to get an
421 uninitialized array.
422
423 2005-01-04 Kevin Ryde <user42@zip.com.au>
424
425 * tests/ramap.test: New file, test array-map!.
426 * Makefile.am (SCM_TESTS): Add it.
427
428 2005-01-02 Marius Vollmer <mvo@zagadka.de>
429
430 * tests/unif.test: Rewritten for new 'typed' approach to uniform
431 arrays.
432
433 * tests/sort.test: New tests, especially for sorting non-contigous
434 and negative-incrementing vectors.
435
436 2005-01-02 Kevin Ryde <user42@zip.com.au>
437
438 * tests/srfi-39.test: Use define-module to keep bindings from
439 subsequent tests, use test-suite lib for stand-alone checking.
440
441 * Makefile.am (SCM_TESTS): Add srfi-39.test.
442
443 2004-12-27 Neil Jerram <neil@ossau.uklinux.net>
444
445 * tests/continuations.test (continuations): Moved continuation /
446 stack tests here, and added save and restore of debug options.
447
448 2004-12-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
449
450 * tests/eval.test: News tests for making stacks from
451 continuations. From Neil Jerram.
452
453 2004-12-10 Kevin Ryde <user42@zip.com.au>
454
455 * tests/socket.test (inet-pton): New tests.
456
457 2004-12-06 Kevin Ryde <user42@zip.com.au>
458
459 * tests/srfi-1.test (alist-copy, alist-delete, break, span): New
460 tests.
461
462 2004-12-05 Kevin Ryde <user42@zip.com.au>
463
464 * tests/srfi-1.test (append-map, filter-map): New tests.
465
466 2004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
467
468 * tests/unif.test: Replaced uniform-array-set1! with just
469 array-set!. Do not check improper index lists, which can't arise
470 with uarray-set!. Use "#s16()" instead of "#h()".
471
472 2004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
473
474 * tests/unif.test: Removed tests that tried to store a character
475 into a byte vector, which no longer works. Characters are not
476 bytes.
477
478 2004-10-03 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
479
480 * tests/syntax.test: Added tests for unmemoization.
481
482 2004-09-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
483
484 * tests/strings.test (string-set!): Explicitely construct
485 read-only string. String literals are not yet read-only.
486
487 2004-09-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
488
489 * tests/unif.test (array-equal?): New test.
490
491 2004-09-29 Kevin Ryde <user42@zip.com.au>
492
493 * tests/regexp.test (match:string): New tests.
494
495 2004-09-26 Kevin Ryde <user42@zip.com.au>
496
497 * tests/optargs.test (let-keywords, let-keywords*, let-optional,
498 let-optional*): Add tests of internal defines when no bindings.
499
500 2004-09-25 Marius Vollmer <mvo@zagadka.de>
501
502 * standalone/Makefile.am (AM_LDFLAGS, LD_FLAGS): Use AM_LDFLAGS
503 instead of LDFLAGS; the latter is a user variable.
504
505 2004-09-24 Marius Vollmer <mvo@zagadka.de>
506
507 * standalone/Makefile.am (test_cflags, LDFLAGS): Include
508 GUILE_CFLAGS.
509
510 2004-09-23 Marius Vollmer <mvo@zagadka.de>
511
512 * lib.scm (exception:out-of-range, exception:wrong-type-arg):
513 Accept new wording.
514
515 2004-09-22 Marius Vollmer <mvo@zagadka.de>
516
517 * tests/ports.test ("string ports"): Copy string literal so that
518 it can be modified.
519 * tests/srfi-13.test ("string-copy!"): Likewise.
520 * tests/strings.test ("substring/shared"): Likewise.
521
522 2004-09-09 Kevin Ryde <user42@zip.com.au>
523
524 * tests/streams.test: New file.
525
526 2004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
527
528 * tests/fractions.test: Don't expect (expt 1/2 2.0) to yield an
529 exact result, use (expt 1/2 2) instead.
530
531 2004-09-08 Kevin Ryde <user42@zip.com.au>
532
533 * tests/ports.test (port-column): Further tests, of new \a \b \r.
534
535 2004-09-07 Kevin Ryde <user42@zip.com.au>
536
537 * tests/numbers.test (integer-expt): New tests, of infinite exponents.
538 (integer?): Exercise nan and +/-inf.
539
540 * tests/time.test (gmtime, strptime): New tests, but unresolved.
541 (internal-time-units-per-second): New test.
542
543 2004-09-02 Kevin Ryde <user42@zip.com.au>
544
545 * tests/format.test (~@d): New tests.
546 New tests of excess arguments now ignored.
547
548 2004-09-01 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Kevin Ryde <user42@zip.com.au>
549
550 * tests/gc.test: Exercise record in weak-values hash table, exposing a
551 problem in 1.6.4 gc, but believed fixed by other changes in the head.
552
553 2004-08-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
554
555 * tests/srfi-13.test (module-peek): Removed, this kluge is no
556 longer necessary.
557
558 2004-08-27 Kevin Ryde <user42@zip.com.au>
559
560 * tests/regexp.test (regexp-quote): New tests.
561
562 * tests/srfi-31.test: Use define-module to keep bindings out of
563 further tests. Use-module (test-suite lib) for stand-alone operation.
564 (rec): Exercise bad args.
565
566 2004-08-25 Kevin Ryde <user42@zip.com.au>
567
568 * tests/and-let-star.test: More tests, in particular exercise #t
569 result on empty body.
570
571 2004-08-25 Marius Vollmer <mvo@zagadka.de>
572
573 * tests/strings.test: Two more tests for double indirect substring
574 modification.
575
576 2004-08-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
577
578 * lib.scm (exception:used-before-define): New.
579 * tests/syntax.test ("letrec"): Use it.
580
581 2004-08-20 Kevin Ryde <user42@zip.com.au>
582
583 * tests/posix.test (mkstemp!): New tests.
584
585 2004-08-20 Marius Vollmer <mvo@zagadka.de>
586
587 * tests/strings.test: Two tests for substring/shared. Also, use
588 (test-suite lib).
589
590 2004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
591
592 * standalone/test-conversion.c, standalone/test-gh.c,
593 standalone/test-unwind.c: Avoid the use of discouraged or
594 deprecated things.
595
596 2004-08-18 Kevin Ryde <user42@zip.com.au>
597
598 * tests/and-let-star.test, tests/arbiters.test, tests/receive.test:
599 New files.
600 * Makefile.am (SCM_TESTS): Add them.
601
602 * tests/fractions.test (fractions): Correction, equal? 3/4 .75 should
603 be #f, according to R5RS.
604
605 2004-08-15 Marius Vollmer <mvo@zagadka.de>
606
607 * tests/srfi-39.test: New, from Jose A Ortega Ruiz. Thanks!
608
609 2004-08-14 Kevin Ryde <user42@zip.com.au>
610
611 * tests/srfi-13.test (string-any, string-every): Exercise char and
612 charset predicate cases.
613
614 2004-08-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
615
616 * standalone/test-conversion.c (test_locale_strings): New.
617
618 * standalone/test-round.c: Replaced all uses of scm_round with
619 scm_c_round.
620
621 2004-08-09 Kevin Ryde <user42@zip.com.au>
622
623 * tests/slib.test: New file.
624 * Makefile.am (SCM_TESTS): Add it.
625
626 2004-08-06 Kevin Ryde <user42@zip.com.au>
627
628 * tests/unif.test (array-set!): Exercise byte array range checks.
629 (uniform-vector-ref): Exercise byte returns.
630 (array-fill!): Exercise byte range and type checks.
631
632 2004-08-03 Marius Vollmer <marius.vollmer@uni-dortmund.de>
633
634 * standalone/test-num2integral.c: Only perform the tests when the
635 disabled features are enabled.
636
637 * standalone/test-conversion.c (test_to_double, test_from_double):
638 New tests.
639
640 2004-08-02 Kevin Ryde <user42@zip.com.au>
641
642 * tests/srfi-13.test (string-every): Check empty string case.
643
644 2004-07-31 Kevin Ryde <user42@zip.com.au>
645
646 * tests/filesys.test: New file, exercising copy-file.
647 * Makefile.am (SCM_TESTS): Add it.
648
649 2004-07-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
650
651 * standalone/test-conversion.c: Many more tests for the integer
652 conversion functions.
653
654 2004-07-28 Kevin Ryde <user42@zip.com.au>
655
656 * tests/regexp.test (make-regexp): Exercise flags args validation.
657
658 * tests/unif.test (array-set!): Exercise svect value range check.
659
660 2004-07-24 Kevin Ryde <user42@zip.com.au>
661
662 * tests/common-list.test: Use define-module, to as not to import
663 common-list into subsequent tests (eg. srfi-1 where `every' provokes a
664 warning).
665
666 * tests/srfi-19.test, tests/srfi-34.test: Use #:duplicates (last) to
667 suppress warnings about current-time and raise replacing core bindings.
668
669 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
670
671 * tests/format.test (~{): Test no arbitrary iteration limit.
672
673 2004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
674
675 * standalone/test-conversion.c (test_is_signed_integer,
676 test_is_unsigned_integer): Expect inexact integers to fail.
677
678 2004-07-10 Kevin Ryde <user42@zip.com.au>
679
680 * tests/hash.test: New file.
681 * Makefile.am (SCM_TESTS): Add it.
682
683 2004-07-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
684
685 * standalone/test-unwind.c: Use scm_from_int instead of
686 SCM_MAKINUM and scm_is_eq instead SCM_EQ_P.
687
688 2004-07-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
689
690 * standalone/test-conversion.c: Don't define SCM_T_INTMAX_MIN,
691 etc, they are now provided by libuile.h.
692 (test_int_sizes): New.
693
694 2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
695
696 * standalone/test-num2integral.c, standalone/test-unwind.c:
697 Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
698 SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
699 scm_from_bool, and scm_is_bool, respectively.
700
701 * standalone/Makefile.am: Added test-conversion to the TESTS.
702
703 * standalone/test-conversion.c: New file.
704
705 2004-06-20 Rob Browning <rlb@defaultvalue.org>
706
707 * tests/srfi-31.test: new test for SRFI-31.
708
709 * Makefile.am (SCM_TESTS): add tests/srfi-31.scm.
710
711 2004-06-15 Marius Vollmer <marius.vollmer@uni-dortmund.de>
712
713 * tests/numbers.test (number->string): Some results might differ
714 between versions of Guile compiled optimized and unoptimized.
715 Both results are accepted now.
716
717 2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
718
719 * tests/syntax.test: Added various tests to check that
720 unmemoization works correctly.
721
722 2004-05-30 Kevin Ryde <user42@zip.com.au>
723
724 * lib.scm (exception:numerical-overflow): New define.
725 * tests/numbers.test (modulo-expt): Use it and
726 exception:wrong-type-arg, avoiding empty "" regexp which is invalid on
727 BSD. Reported by Andreas Vögele.
728
729 2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
730
731 * standalone/test-asmobs-lib.c: Fixed include statement.
732
733 2004-05-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
734
735 * tests/goops.test: Wrap tests in module (test-suite
736 test-<file-name without .test>). Remove calls to deprecated macro
737 `undefine'.
738
739 2004-05-10 Marius Vollmer <mvo@zagadka.de>
740
741 * tests/numbers.test (number->string): Added tests for
742 non-radix-10 floating point conversions.
743
744 2004-05-10 Kevin Ryde <user42@zip.com.au>
745
746 * tests/numbers.test (logbit?): New tests.
747
748 2004-05-09 Kevin Ryde <user42@zip.com.au>
749
750 * tests/srfi-19.test (test-dst, string->date local DST): Test with
751 "EST5EDT" instead of "CET", since HP-UX doesn't know CET. Reported by
752 Andreas Vögele.
753
754 2004-05-03 Kevin Ryde <user42@zip.com.au>
755
756 * tests/time.test (strftime): Force tm:isdst to 0 for the test, for
757 the benefit of HP-UX. Reported by Andreas Vögele.
758 Use set-tm:zone rather than a hard coded vector offset.
759
760 2004-04-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
761
762 * tests/elisp.test: Wrap tests in module (test-suite
763 test-<file-name without .test>), following a practice that was
764 used on a couple of files already.
765
766 2004-04-28 Kevin Ryde <user42@zip.com.au>
767
768 * standalone/test-num2integral.c (test_long_long): Exercise
769 out-of-range errors on various cases.
770 (test_ulong_long): New function, split from test_long_long and
771 similarly exercising out-of-range.
772
773 2004-04-26 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
774
775 * tests/syntax.test: Add test case to check the correct handling
776 of define expressions.
777
778 2004-04-25 Kevin Ryde <user42@zip.com.au>
779
780 * tests/socket.test: New file, exercising inet-ntop.
781 * Makefile.am (SCM_TESTS): Add it.
782
783 2004-04-24 Kevin Ryde <user42@zip.com.au>
784
785 * tests/srfi-11.test: New file.
786 * Makefile.am (SCM_TESTS): Add it.
787
788 2004-04-22 Kevin Ryde <user42@zip.com.au>
789
790 * standalone/test-round.c: New file, exercising scm_round.
791 * standalone/Makefile.am: Add it.
792
793 2004-04-15 Kevin Ryde <user42@zip.com.au>
794
795 * tests/numbers.test (max, min): Exercise some inum/frac, frac/inum,
796 big/frac, frac/big and frac/frac cases.
797
798 * tests/numbers.test (min): Correction, test "documented? min" not
799 "documented? max".
800
801 2004-04-06 Kevin Ryde <user42@zip.com.au>
802
803 * tests/numbers.test (quotient, remainder): Exercise inum/big at and
804 near special case inum == fixnum-min, big == -fixnum-min.
805
806 2004-03-26 Kevin Ryde <user42@zip.com.au>
807
808 * tests/numbers.test (min, max): Check inexactness of big/real and
809 real/big combinations, collect up tests under arg types for clarity.
810
811 2004-03-26 Eric Hanchrow <offby1@blarg.net>
812
813 * tests/numbers.test (modulo-expt): New tests.
814
815 2004-03-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
816
817 * tests/eval.test: Added tests which reflect the recent fixes to
818 copy-tree.
819
820 2004-02-29 Kevin Ryde <user42@zip.com.au>
821
822 * tests/posix.test (execl, execlp, execle): Exercise errors where
823 program not found. [But disabled, due to problems with threading.]
824
825 2004-02-22 Kevin Ryde <user42@zip.com.au>
826
827 * tests/numbers.test (max, min): Exercise some complex num cases.
828
829 2004-02-18 Marius Vollmer <mvo@zagadka.de>
830
831 * tests/fractions.test: Added copyright notice of Michael Stoll,
832 who probably wrote the original CLISP code.
833
834 2004-02-18 Kevin Ryde <user42@zip.com.au>
835
836 * tests/fractions.test: Remove 1/3 == 1.0/3.0, not true.
837
838 * tests/numbers.test (=): Exercise frac+real and frac+complex.
839
840 2004-02-17 Marius Vollmer <mvo@zagadka.de>
841
842 * Makefile.am (SCM_TESTS): Added test/fractions.test.
843
844 2004-02-12 Kevin Ryde <user42@zip.com.au>
845
846 * tests/unif.test (array?, array-fill!, array-prototype): Add tests.
847
848 2004-01-23 Marius Vollmer <mvo@zagadka.de>
849
850 * tests/r5rs_pitfall.scm: Removed again. I was confused. The
851 file added to SCM_TESTS was r5rs_pitfall.test, not
852 r5rs_pitfall.scm.
853
854 2004-01-23 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
855
856 * tests/syntax.test: Added test for unmemoizing internal defines.
857
858 2004-01-21 Marius Vollmer <mvo@zagadka.de>
859
860 * tests/srfi-26.test: New.
861 * Makefile.am (SCM_TESTS): Added it.
862
863 2004-01-11 Marius Vollmer <mvo@zagadka.de>
864
865 * tests/r5rs_pitfall.scm: New.
866 * Makefile.am (SCM_TESTS): Added it.
867
868 2004-01-11 Kevin Ryde <user42@zip.com.au>
869
870 * tests/exceptions.test (false-if-exception): Disable tests on
871 referencing expansion environment, reverted.
872
873 2004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
874
875 * standalone/test-unwind.c: Adapted to 'frame' renamings.
876 (check_fluid): New.
877
878 * Makefile.am (SCM_TESTS): Added continuations.test.
879
880 2004-01-07 Kevin Ryde <user42@zip.com.au>
881
882 * tests/numbers.test (<): Add tests inum/bignum/flonum/frac with frac.
883
884 * tests/q.test: New file.
885 (q-pop!): Exercise this, in particular the "not/null?" bug reported by
886 Richard Todd.
887 * Makefile.am (SCM_TESTS): Add q.test.
888
889 * tests/unif.test: New file.
890 (uniform-array-set1!): Exercise this, in particular previous segv on
891 improper arg list.
892 * Makefile.am (SCM_TESTS): Add unif.test.
893
894 2004-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
895
896 * standalone/test-unwind.c (close_port, delete_file, check_ports):
897 New.
898
899 2004-01-03 Marius Vollmer <mvo@zagadka.de>
900
901 * standalone/test-unwind.c: New test, for the frames stuff.
902 * standalone/Makefile.am: Compile and run it.
903
904 2004-01-04 Kevin Ryde <user42@zip.com.au>
905
906 * tests/exceptions.test (false-if-exception): Add tests.
907
908 2003-11-30 Marius Vollmer <mvo@zagadka.de>
909
910 * tests/syntax.test: It's "#\\space", not "#\space".
911
912 2003-11-21 Marius Vollmer <mvo@zagadka.de>
913
914 * tests/numbers.test: #e1.2 is now exactly 12/10. Expect
915 exceptions when calling inexact? with a non-number.
916
917 2003-12-03 Kevin Ryde <user42@zip.com.au>
918
919 * tests/fractions.test: Exercise most-negative-fixnum over -ve of
920 most-negative-fixnum.
921
922 * tests/fractions.test (real-part): Expect fraction return, not
923 converted to flonum.
924
925 * tests/numbers.test (abs): Add a few more tests.
926
927 * tests/srfi-1.test (count): New tests.
928
929 2003-12-01 Mikael Djurfeldt <mdj@chunk.mit.edu>
930
931 * standalone/Makefile.am (snarfcppopts): Added -I$(top_srcdir).
932
933 2003-11-19 Rob Browning <rlb@defaultvalue.org>
934
935 * standalone/test-system-cmds: new test.
936
937 * standalone/Makefile.am (check_SCRIPTS): add test-system-cmds.
938 (TESTS): add test-system-cmds.
939
940 2003-11-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
941
942 * tests/numbers.test ("string->number"): Expect exact rationals
943 for things like "1/2" and "#e1.2".
944 ("inexact->exact"): Expect overflow error for infs and nans.
945
946 * tests/fractions.test: New file from Bill Schottstaedt. Thanks!
947
948 * tests/bit-operations.test (fixnum-bit): Round the result so that
949 fixnum-bit really is an integer.
950
951 2003-11-17 Marius Vollmer <mvo@zagadka.de>
952
953 * tests/srfi-17.test: Expect a "Bad variable" error for (set! #f
954 1).
955
956 2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
957
958 * tests/syntax.test: Tests that check for the correct handling of
959 internal defines with begin work now.
960
961 2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
962
963 * tests/syntax.test: Fixed test that checks for the correct
964 handling of macros in the context of internal defines.
965
966 2003-11-15 Kevin Ryde <user42@zip.com.au>
967
968 * tests/bit-operations.test: Use (test-suite lib), for the benefit of
969 standalone execution.
970
971 2003-11-09 Dirk Herrmann <D.Herrmann@tu-bs.de>
972
973 * tests/optargs.test: Wrap tests in module (test-suite
974 test-<file-name without .test>). Rewrite test to be R5RS
975 conforming.
976
977 * tests/syntax.test: Added test to check correct handling of
978 internal defines.
979
980 2003-11-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
981
982 * tests/syntax.test (exception:missing-body-expr): New.
983
984 Renamed section 'define' to 'top-level define' and added a new
985 section 'internal define' with some tests.
986
987 2003-11-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
988
989 * tests/syntax.test (exception:missing/extra-expr-misc): Removed.
990
991 (exception:illegal-empty-combination): New.
992
993 (exception:missing/extra-expr): Unified capitalization.
994
995 Adapted test for '()' to the new way of error reporting.
996
997 2003-10-19 Kevin Ryde <user42@zip.com.au>
998
999 * tests/numbers.test: Use define-module to hide helper defines.
1000 (dbl-mant-dig, ash-flo): New helpers.
1001 (exact->inexact): New tests.
1002
1003 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1004
1005 * tests/syntax.test (exception:bad-var): Removed.
1006
1007 Adapted tests for 'set!' to the new way of error reporting.
1008
1009 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1010
1011 * tests/dynamic-scope.test (exception:missing-expr): Introduced
1012 temporarily until all memoizers use the new way of error
1013 reporting.
1014
1015 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1016
1017 * tests/syntax.test (exception:missing/extra-expr,
1018 exception:missing/extra-expr-misc): Renamed
1019 exception:missing/extra-expr to exception:missing/extra-expr-misc.
1020
1021 (exception:missing/extra-expr-syntax,
1022 exception:missing/extra-expr): Renamed
1023 exception:missing/extra-expr-syntax to
1024 exception:missing/extra-expr.
1025
1026 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1027
1028 * lib.scm (exception:bad-variable): New.
1029
1030 * tests/syntax.test (exception:bad-binding,
1031 exception:duplicate-binding): New.
1032
1033 (exception:duplicate-bindings): Removed.
1034
1035 Adapted tests for 'let', 'let*' and 'letrec' to the new way of
1036 error reporting.
1037
1038 2003-10-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1039
1040 * tests/syntax.test (define exception:bad-formal, define
1041 exception:duplicate-formal): New.
1042
1043 (exception:duplicate-formals): Removed.
1044
1045 (exception:bad-formals): Adapted to the new way of error
1046 reporting.
1047
1048 Adapted tests for 'lambda' to the new way of error reporting.
1049
1050 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1051
1052 * tests/syntax.test (exception:missing/extra-expr-syntax): Fixed
1053 to be unaware of whether line number information is given or not.
1054
1055 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1056
1057 * tests/syntax.test (exception:missing/extra-expr-syntax): New,
1058 introduced temporarily until all memoizers use the new way of
1059 error reporting.
1060
1061 Adapted tests for 'if' to the new way of error reporting.
1062
1063 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1064
1065 * tests/syntax.test (exception:missing-expr,
1066 exception:extra-expr): New.
1067
1068 Adapted tests for 'begin' to the new way of error
1069 reporting.
1070
1071 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1072
1073 * tests/syntax.test (exception:misplaced-else-clause,
1074 exception:bad-cond-clause): New.
1075
1076 (exception:bad/missing-clauses, exception:extra-case-clause):
1077 Removed.
1078
1079 Adapted tests for 'case' and 'cond' to the new way of error
1080 reporting.
1081
1082 The tests that check if cond is hygienic pass now.
1083
1084 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1085
1086 * tests/syntax.test: Fixed and activated test of empty case label
1087 support.
1088
1089 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1090
1091 * tests/syntax.test (exception:bad-expression,
1092 exception:missing-clauses, exception:bad-case-clause,
1093 exception:extra-case-clause, exception:bad-case-labels): New.
1094
1095 Added some tests and adapted tests for 'case' to the new way of
1096 error reporting.
1097
1098 2003-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
1099
1100 * lib.scm (run-test-exception): Handle syntax errors.
1101
1102 2003-10-10 Marius Vollmer <mvo@zagadka.de>
1103
1104 * tests/numbers.test (inexact->exact): Use corrent argument order
1105 for pass-if-exception. Use "+inf.0" instead of "+.inf", etc.
1106
1107 2003-10-09 Kevin Ryde <user42@zip.com.au>
1108
1109 * tests/numbers.test (inexact->exact): New tests.
1110
1111 * tests/poe.test: New file.
1112 * Makefile.am: Add it.
1113
1114 2003-10-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
1115
1116 * lib.scm (exception:missing-expression): New.
1117
1118 * tests/dynamic-scope.test, tests/eval.test,
1119 tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test:
1120 Wrap tests in module (test-suite test-<file-name without .test>),
1121 following a practice that was used on a couple of files already.
1122
1123 * tests/dynamic-scope.test (exception:duplicate-binding,
1124 exception:bad-binding): New.
1125
1126 * tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test:
1127 Execute syntactically wrong tests using eval. With the upcoming
1128 new memoizer this is necessary in order to postpone the syntax
1129 check to the actual evaluation of the syntactically wrong form.
1130
1131 * tests/syntax.test: Added some test cases and modified one test
1132 case.
1133
1134 2003-10-02 Kevin Ryde <user42@zip.com.au>
1135
1136 * tests/ports.test (call-with-output-string): Test proc closing port.
1137
1138 2003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
1139
1140 * guile-test: Wrapped in module (test-suite guile-test).
1141
1142 (main data-file-name test-file-name): Exported.
1143
1144 ((guile-user)::main): New function, wrapper for function
1145 (test-suite guile-test)::main.
1146
1147 * tests/load.test: Wrapped in module (test-suite test-load).
1148
1149 * tests/ports.test: Wrapped in module (test-suite test-ports).
1150
1151 * tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
1152 Added comments about the required structure of the file itself,
1153 since it is subject to some tests. Removed some now unnecessary
1154 undefine operations.
1155
1156 * tests/syntax.test: Wrapped in module (test-suite test-syntax)
1157
1158 2003-09-19 Kevin Ryde <user42@zip.com.au>
1159
1160 * tests/popen.test: New file.
1161 * Makefile.am (SCM_TESTS): Add it.
1162
1163 2003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
1164
1165 * tests/numbers.test (equal?): Added tests.
1166
1167 * tests/numbers.test (=): Fixed and added some bignum related
1168 tests.
1169
1170 2003-08-30 Kevin Ryde <user42@zip.com.au>
1171
1172 * tests/numbers.test (logcount): Add tests.
1173
1174 2003-08-23 Kevin Ryde <user42@zip.com.au>
1175
1176 * tests/srfi-1.test (list-copy): New tests.
1177
1178 * tests/srfi-19.test (date-week-number): Add tests.
1179
1180 2003-08-22 Kevin Ryde <user42@zip.com.au>
1181
1182 * tests/numbers.test (-): Exercise bignum - inum.
1183
1184 2003-08-17 Kevin Ryde <user42@zip.com.au>
1185
1186 * tests/syntax.test (while): Exercise break and continue from
1187 recursive nested loops.
1188
1189 2003-08-14 Kevin Ryde <user42@zip.com.au>
1190
1191 * tests/syntax.test (while): New tests.
1192
1193 2003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
1194
1195 * tests/numbers.test: Eliminated misuses of expect-fail. It
1196 should only be used in cases, where guile has a known bug. It
1197 should not be used in cases where an expression is expected to
1198 return #f as its correct result.
1199
1200 2003-08-09 Kevin Ryde <user42@zip.com.au>
1201
1202 * tests/srcprop.test: New file.
1203 * Makefile.am (SCM_TESTS): Add it.
1204
1205 2003-07-29 Kevin Ryde <user42@zip.com.au>
1206
1207 * tests/srfi-1.test (concatenate, concatenate!): New tests.
1208 (length+): New tests.
1209
1210 * tests/srfi-34.test: Check cond-expand srfi-34.
1211
1212 2003-07-24 Kevin Ryde <user42@zip.com.au>
1213
1214 * tests/numbers.test (angle): New tests.
1215
1216 2003-07-18 Kevin Ryde <user42@zip.com.au>
1217
1218 * tests/numbers.test (*): Add complex/bignum test.
1219
1220 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
1221
1222 * tests/srfi-1.test (partition): Add tests.
1223
1224 2003-07-08 Kevin Ryde <user42@zip.com.au>
1225
1226 * tests/numbers.test (make-polar, magnitude): New tests.
1227
1228 * tests/srfi-1.test (delete, delete!): Add more tests.
1229 (delete-duplicates, delete-duplicates!): New tests.
1230
1231 2003-06-21 Kevin Ryde <user42@zip.com.au>
1232
1233 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
1234 tests.
1235
1236 2003-06-19 Kevin Ryde <user42@zip.com.au>
1237
1238 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
1239 * tests/threads.test: New file, exercising parallel.
1240 * Makefile.am (SCM_TESTS): Add them.
1241
1242 2003-06-07 Kevin Ryde <user42@zip.com.au>
1243
1244 * tests/srfi-6.test: New file.
1245 * Makefile.am (SCM_TESTS): Add it.
1246
1247 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1248
1249 * tests/chars.test: Fixed test comment. The bug that this test
1250 detects was actually introduced by my patch from 2003-05-31.
1251
1252 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1253
1254 * tests/chars.test: Added test, attempting to apply a character.
1255 This test will only pass if the other changes that are submitted
1256 together with this patch are also applied.
1257
1258 2003-06-05 Kevin Ryde <user42@zip.com.au>
1259
1260 * tests/numbers.test (logcount): Add a few more tests, to exercise
1261 recent scm_logcount change.
1262
1263 * tests/reader.test (reading): Test bad # error message is formattable.
1264
1265 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1266
1267 * tests/pairs.test: Added.
1268
1269 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1270
1271 * tests/vectors.test: Added.
1272
1273 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1274
1275 * tests/guardians.test: Uses module (ice-9 weak-vector).
1276
1277 2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1278
1279 * lib.scm: Documented the short form for pass-if and expect-fail.
1280
1281 (pass-if, expect-fail): Simplified.
1282
1283 2003-05-30 Kevin Ryde <user42@zip.com.au>
1284
1285 * tests/numbers.test (max, min): Add tests involving NaNs.
1286
1287 2003-05-29 Stefan Jahn <stefan@lkcc.org>
1288
1289 * standalone/Makefile.am: Setup to build on mingw32.
1290
1291 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
1292
1293 * tests/elisp.test: Added missing quote around vector constants.
1294
1295 2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
1296
1297 * tests/r5rs_pitfall.test: Test 2.1 now passes.
1298
1299 2003-05-13 Kevin Ryde <user42@zip.com.au>
1300
1301 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
1302 combinations.
1303
1304 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
1305
1306 2003-05-10 Kevin Ryde <user42@zip.com.au>
1307
1308 * tests/numbers.test (=, <): Add tests involving NaNs.
1309
1310 * tests/numbers.test (integer-length): Exercise some negatives, in
1311 particular -2^n which is ...11100..00.
1312
1313 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
1314 fitting a ulong.
1315
1316 * tests/srfi-1.test: New file, exercising take and drop.
1317 * Makefile.am (SCM_TESTS): Add it.
1318
1319 2003-05-06 Kevin Ryde <user42@zip.com.au>
1320
1321 * tests/numbers.test (-): Add test for negative inum subtract bignum.
1322 (logcount): New tests, exercising some negatives.
1323
1324 2003-05-03 Marius Vollmer <mvo@zagadka.de>
1325
1326 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
1327 pointing us to these tests.
1328
1329 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
1330
1331 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
1332
1333 * tests/srfi-34.test: New file.
1334
1335 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
1336
1337 * tests/syntax.test: Modified some tests to use eval when
1338 providing bad syntax. Otherwise, the memoizer will report an
1339 error immediately after reading the form, without even the chance
1340 to get the pass-if-exception mechanism started.
1341
1342 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
1343
1344 * tests/guardians.test: Added some more elaborate and
1345 sophisticated tests for the guardian functionality.
1346
1347 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1348
1349 * tests/sort.test: Added. Both tests in that file did fail (one
1350 even with a segfault) with CVS guile before the recent changes to
1351 sort.c.
1352
1353 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1354
1355 * tests/goops.test: Added tests for correctness of class
1356 precedence list in all basic classes and tests for eqv? and
1357 equal?.
1358
1359 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1360
1361 * tests/goops.test: Added tests for class redefinition, object
1362 update and active slots.
1363
1364 2003-04-14 Rob Browning <rlb@defaultvalue.org>
1365
1366 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
1367 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
1368
1369 * standalone/Makefile.am: change from .c.x to .x to be consistent
1370 with the rest of guile.
1371
1372 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1373
1374 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
1375 instead of INCLUDES
1376
1377 2003-04-07 Rob Browning <rlb@defaultvalue.org>
1378
1379 * Makefile.am (SUBDIRS): add standalone.
1380
1381 * guile-test: added "Running test FOO" output by default. There
1382 may be a good reason to remove this, but the output can be helpful
1383 in determining where a failure occurred.
1384
1385 * standalone/test-num2integral.c: new test -- one new regression
1386 check.
1387
1388 * standalone/test-gh.c: new test code (migrated from
1389 tests/c-api/) -- a trivial start.
1390
1391 * standalone/test-asmobs-lib.c: new test script (migrated from
1392 tests/asmobs/).
1393
1394 * standalone/test-asmobs: new test script.
1395
1396 * standalone/README: new file.
1397
1398 * standalone/Makefile.am: new file.
1399
1400 * standalone/.cvsignore: new file.
1401
1402 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
1403
1404 * tests/asmobs/README: removed (functionality is now in standalone/).
1405
1406 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
1407 standalone/).
1408
1409 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
1410
1411 * tests/asmobs/: removed (functionality is now in standalone/).
1412
1413 * tests/c-api/strings.c: add a note to the source about this code
1414 being unused.
1415
1416 2003-04-05 Marius Vollmer <mvo@zagadka.de>
1417
1418 * Changed license terms to the plain LGPL thru-out.
1419
1420 2003-03-24 Rob Browning <rlb@defaultvalue.org>
1421
1422 * tests/numbers.test: added tests (some simple) for various funcs.
1423 ("odd?"): added tests.
1424 ("even?"): added tests.
1425 ("nan?"): added tests.
1426 ("abs"): added tests.
1427 ("lcm"): added tests.
1428 ("number->string"): added tests.
1429 ("number?"): added tests.
1430 ("complex?"): added tests.
1431 ("real?"): added tests.
1432 ("rational?"): added tests.
1433 ("integer?"): added tests.
1434 ("inexact?"): added tests.
1435 ("="): added tests.
1436 ("zero?"): added tests.
1437 ("positive?"): added tests.
1438 ("negative?"): added tests.
1439
1440 * lib.scm (pass-if): allow really simple tests where the test code
1441 is also the name like (pass-if (even? 2)).
1442 (expect-fail): allow really simple tests where the test code is
1443 also the test name like (expect-fail (even? 2)).
1444
1445 2003-03-19 Marius Vollmer <mvo@zagadka.de>
1446
1447 * tests/format.test ("format basic output"): Added test for "~F"
1448 from Matthias Koeppe.
1449
1450 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
1451
1452 * tests/elisp.test: Use module (ice-9 weak-vector).
1453
1454 * tests/weaks.test: Use module (ice-9 weak-vector).
1455
1456 2002-12-08 Rob Browning <rlb@defaultvalue.org>
1457
1458 * tests/version.test: test (effective-version).
1459
1460 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
1461
1462 * tests/options.test: New.
1463
1464 2002-10-04 Rob Browning <rlb@defaultvalue.org>
1465
1466 * tests/numbers.test ("expt"): add tests.
1467
1468 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
1469
1470 * Makefile.am (dist-hook): Do not distribute CVS directories.
1471 Thanks to Greg Troxel!
1472
1473 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1474
1475 * tests/reader.test: change misc-error in read-error.
1476
1477 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1478
1479 * tests/goops.test: Added tests for define-generic and
1480 define-accessor.
1481
1482 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1483
1484 * tests/goops.test: Added tests for define-class.
1485
1486 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
1487
1488 * tests/numbers.test (/): Expect divison by an inexact zero to
1489 yield +inf.0.
1490
1491 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
1492
1493 * tests/regexp.test (regexp-substitute/global): Do not test with
1494 empty regexp. Empty regexps do not work on NetBSD.
1495
1496 * tests/syncase.test (basic syncase macro): Added.
1497
1498 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
1499
1500 * tests/srfi-13.test (string-tokenize): Updated for fixed
1501 semantics.
1502
1503 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
1504
1505 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
1506 directories manually.
1507
1508 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
1509
1510 * guile-test (main): Handle `--flag-unresolved'. No longer set
1511 exit value to #f unconditionally on UNRESOLVED results.
1512 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
1513
1514 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
1515
1516 * tests/elisp.test: Add tests of Elisp expression evaluation.
1517
1518 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
1519
1520 * tests/load.test: New test; for search-path with Elisp
1521 nil-terminated lists for PATH and EXTENSIONS.
1522
1523 * tests/elisp.test: More tests for Scheme primitives that should
1524 accept Elisp nil-terminated lists.
1525
1526 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
1527
1528 * tests/elisp.test: More new tests for the Elisp nil value.
1529
1530 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
1531
1532 * Makefile.am (SCM_TESTS): Added elisp.test.
1533
1534 * tests/elisp.test: New file.
1535
1536 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
1537
1538 * tests/numbers.test: Added more division by zero tests.
1539
1540 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
1541
1542 * tests/numbers.test: Added division by zero tests.
1543
1544 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
1545
1546 * tests/syntax.test: Added some tests, updated some others with
1547 respect to recent changes in eval.c. Further, extracted test
1548 cases for guile's extended set! functionality to srfi-17.test.
1549
1550 * tests/srfi-17.test: New file.
1551
1552 2001-11-04 Stefan Jahn <stefan@lkcc.org>
1553
1554 * tests/ports.test: Run (close-port) before (delete-file) if
1555 necessary/advisory.
1556
1557 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1558
1559 * tests/eval.test: Added tests for promises.
1560
1561 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
1562
1563 * lib.scm: Move module the system directives `export',
1564 `export-syntax', `re-export' and `re-export-syntax' into the
1565 `define-module' form. This is the recommended way of exporting
1566 bindings.
1567
1568 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1569
1570 * tests/syntax.test: Added test cases for 'cond =>' syntax with
1571 else clause. Changed some tests and comments related to the
1572 'case' form to reflect recent changes in the implementation.
1573
1574 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
1575
1576 * tests/syntax.test: Added test cases for 'lambda' syntax.
1577
1578 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1579
1580 * tests/syntax.test: Added test cases for 'case' syntax.
1581
1582 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1583
1584 * tests/numbers.test: Added a test case that checks if valid
1585 number strings are transformed correctly by string->number.
1586
1587 2001-09-21 Rob Browning <rlb@defaultvalue.org>
1588
1589 * tests/numbers.test (fixnum-bit): compute dynamically.
1590
1591 * tests/bit-operations.test (fixnum-bit): compute dynamically.
1592
1593 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
1594
1595 * tests/getopt-long.test ("apples-blimps-catalexis example",
1596 "multiple occurances"): New top-level sections.
1597
1598 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
1599
1600 * tests/numbers.test: Made some of the patterns better readable.
1601
1602 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
1603
1604 * tests/srfi-19.test (test-time-comparision,
1605 test-time-arithmatic): New procs.
1606
1607 Add time comparison tests using new procs.
1608 Thanks to Alex Shinn.
1609
1610 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
1611
1612 * tests/dynamic-scope.test: New file.
1613
1614 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
1615
1616 * tests/srfi-13.test (string-for-each, string-for-each-index):
1617 Add tests. (Thanks to Alex Shinn.)
1618
1619 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1620
1621 * tests/srfi-13.test (string-map): Swapped order of string and
1622 proc args to conform with the srfi. (Thanks to Alex Shinn.)
1623
1624 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
1625
1626 * tests/getopt-long.test (exception:no-such-option,
1627 exception:option-does-not-support-arg,
1628 exception:option-must-be-specified,
1629 exception:option-must-have-arg, exception:not-enough-args):
1630 New vars.
1631
1632 ("option-ref", "required", "specified no value, given anyway",
1633 "specified arg required"): New top-level sections.
1634
1635 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1636
1637 * tests/numbers.test: Added Some syntax tests for
1638 string->number.
1639
1640 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1641
1642 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
1643 "SCM_TESTS". This has special meaning to automake. How many
1644 tries left to get this right, mvo?
1645
1646 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1647
1648 * Makefile.am (TESTS): List tests explicitely instead of using a
1649 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
1650
1651 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
1652
1653 * Makefile.am: New file, to control distribution of the
1654 test-suite.
1655
1656 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
1657
1658 * tests/getopt-long.test: New file.
1659
1660 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
1661
1662 * lib.scm (run-test-exception): Add special handling for
1663 `error'-generated exceptions, which pass key `misc-error' and
1664 leave messages unformatted.
1665
1666 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1667
1668 * tests/alist.test, tests/bit-operations.test,
1669 tests/common-list.test, tests/environments.test, tests/eval.test,
1670 tests/gc.test, tests/hooks.test, tests/import.test,
1671 tests/interp.test, tests/list.test, tests/load.test,
1672 tests/numbers.test, tests/ports.test, tests/r4rs.test,
1673 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
1674 copyright notice.
1675
1676 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1677
1678 * tests/srfi-14.test: New file.
1679
1680 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
1681
1682 * tests/import.test: New file.
1683
1684 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1685
1686 * tests/goops.test: Started with some real tests.
1687
1688 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1689
1690 * guile-test: Use module (ice-9 rdelim).
1691
1692 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1693
1694 * tests/srfi-4.test: New file.
1695
1696 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
1697
1698 Thanks to Matthias Köppe!
1699
1700 * tests/ports.test: New test for output port line counts.
1701 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
1702 files.
1703
1704 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1705
1706 * tests/symbols.test ("gensym"): New tests for long gensym
1707 prefices and embedded NULs in prefices.
1708
1709 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
1710
1711 * test/goops.test, test/syncase.test: New, minimal tests.
1712
1713 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1714
1715 * tests/version.test: Updated test for new micro version stuff.
1716
1717 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1718
1719 * tests/srfi-13.test: More tests.
1720
1721 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1722
1723 * tests/srfi-10.test: New file.
1724
1725 * tests/srfi-9.test: New file.
1726
1727 * tests/srfi-13.test: Added some more tests.
1728
1729 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
1730
1731 * tests/eval.test: ("evaluator" "memoization"): New test
1732 prefix block.
1733 ("transparency"): New "evaluator memoization" test.
1734
1735 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1736
1737 * tests/srfi-13.test: Added module access kludge, and uncommented
1738 some tests depending on this.
1739
1740 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1741
1742 * tests/srfi-13.test: New file testing the SRFI string library.
1743
1744 2001-04-26 Gary Houston <ghouston@arglist.com>
1745
1746 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
1747 have run.
1748
1749 * tests/ports.test (test-file), tests/load.test (temp-dir):
1750 redefined using data-file-name instead of tmpnam. the test files
1751 will be created in the build directory instead of /var/tmp or
1752 whereever tmpnam puts them.
1753
1754 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
1755
1756 * tests/symbols.c: Added some tests.
1757
1758 2001-03-19 Gary Houston <ghouston@arglist.com>
1759
1760 * tests/r4rs.test: use test-file-name to locate r4rs.test,
1761 not data-file-name.
1762
1763 * guile-test: define tmp-dir, the location where r4rs.test will
1764 create it's temporary files.
1765 (data-file-name): use tmp-dir. this must be under build-dir,
1766 not src-dir.
1767
1768 2001-03-18 Gary Houston <ghouston@arglist.com>
1769
1770 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
1771 first line.
1772
1773 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1774
1775 * tests/syntax.test: Added a test for let* bindings and
1776 re-arranged and slightly improved the existing one.
1777
1778 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1779
1780 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
1781 test, dups are allowed in `let*' and are now expected to pass.
1782
1783 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1784
1785 * lib.scm (run-test-exception): Preserve the original error's
1786 stack for re-throwing.
1787
1788 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
1789
1790 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
1791 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
1792 been fixed.
1793
1794 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
1795
1796 * tests/syntax.test ("duplicate formals"): New category, move
1797 appropriate tests here. Expect them to pass.
1798 ("empty parentheses"): Expect to pass, bug has been fixed.
1799
1800 * tests/alist.test: Use "'()" instead of "()" in all places
1801 where the empty list is meant.
1802
1803 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1804
1805 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
1806 exported constants.
1807
1808 * tests/r4rs.test: Make sure that no bindings for x and y exist
1809 after the file is loaded.
1810
1811 * tests/syntax.test: New file.
1812
1813 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
1814 Moved the test cases that are related to guile's syntactic forms
1815 from tests/exceptions.test to tests/syntax.test. Moved tests
1816 related to evaluation and application to tests/eval.test.
1817
1818 * tests/exceptions.test: Added some test cases that check guile's
1819 exception handling.
1820
1821 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1822
1823 * tests/exceptions.test, tests/numbers.test: Moved the number
1824 related test cases from tests/exceptions.test to
1825 tests/numbers.test.
1826
1827 * tests/numbers.test: Added a test case.
1828
1829 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
1830
1831 * tests/symbols.test: New file.
1832
1833 (exception:immutable-string): New constant. Currently, this is a
1834 dummy since guile does not have immutable strings.
1835
1836 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
1837 Moved the string related test cases from tests/exceptions.test to
1838 tests/strings.test and the symbol related test cases to
1839 tests/symbols.test.
1840
1841 * tests/strings.test: Copyright notice updated. Added a couple
1842 of test cases.
1843
1844 (exception:immutable-string): New constant. Currently, this is a
1845 dummy since guile does not have immutable strings.
1846
1847 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1848
1849 * tests/exceptions.test: Use expect-fail-exception to indicate
1850 test cases where exceptions should occur, but don't.
1851
1852 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
1853 exception:missing/extra-expr): New constants.
1854
1855 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1856
1857 * tests/reader.test, tests/exceptions.test: Moved the reader
1858 related test cases from tests/exceptions.test to
1859 tests/reader.test.
1860
1861 * tests/reader.test (exception:eof, exception:unexpected-rparen):
1862 New constants.
1863
1864 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
1865 Removed.
1866
1867 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1868
1869 * lib.scm (signals-error?, signals-error?*): Removed.
1870
1871 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1872
1873 * lib.scm: Added comment about new convenience functions/macros
1874 to test for exceptions.
1875
1876 (exception:out-of-range, exception:wrong-type-arg): New exported
1877 constants.
1878
1879 (run-test-exception): New function.
1880
1881 (pass-if-exception, expect-fail-exception): New exported macros.
1882
1883 * tests/environments.test: Fixed tests that were checking for
1884 exceptions when set!ing an unbound symbol.
1885
1886 (exception:unbound-symbol): New constant.
1887
1888 * tests/hooks.test (catch-error-returning-true, pass-if-not,
1889 catch-error-returning-false), tests/weaks.test
1890 (catch-error-returning-true, pass-if-not,
1891 catch-error-returning-false): Removed. The macro pass-if-not was
1892 not used. The macro catch-error-returning-false is unnecessary
1893 since exceptions are caught by the test-suite anyway. The
1894 functionality of catch-error-returning-true is provided by the new
1895 convenience macro pass-if-exception.
1896
1897 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
1898 Maybe a standard wrong-num-arg exception should be thrown instead
1899 of a misc-error?
1900
1901 * tests/reader.test (try-to-read): Replaced by read-string.
1902
1903 (read-string): New function.
1904
1905 * tests/alist.test, tests/environments.test, tests/eval.test,
1906 tests/hooks.test, tests/list.test, tests/ports.test,
1907 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
1908 tests for exceptions with the new convenience macros.
1909
1910 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1911
1912 * tests/alist.test: Remove redundant test name prefix.
1913
1914 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1915
1916 * lib.scm (pass-if): Tests shall return a boolean value.
1917
1918 * tests/bit-operations.test (documented?), tests/common-list.test
1919 (documented?), tests/environments.test (documented?),
1920 tests/eval.test (documented?), tests/gc.test (documented?),
1921 tests/numbers.test (documented?), tests/guardians.test,
1922 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
1923 that tests return a boolean value.
1924
1925 * tests/list.test (documented?): New function, replace all checks
1926 for documentation with calls to this function.
1927
1928 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
1929
1930 * lib.scm (data-file): Remove from export list.
1931
1932 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
1933
1934 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
1935 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
1936 (syntax reading): New section.
1937 (syntax let*): New section.
1938 (syntax letrec): New section.
1939 (syntax set!): New section.
1940 (syntax misc): New section.
1941 (bindings unbound): New section.
1942 (bindings immutable-modification): New section.
1943 (bindings let): New section.
1944 (bindings let*): New section.
1945 (bindings letrec): New section.
1946
1947 * tests/exceptions.test: New file.
1948
1949 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1950
1951 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
1952 and-let*).
1953
1954 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1955
1956 This patch fixes things that I have broken with the last one :-(
1957
1958 * guile-test (test-suite): New variable.
1959
1960 (data-file-name): New function. Has the same purpose as the
1961 former function data-file from lib.scm. Moved here in order to
1962 have all file name handling at the same place. In contrast to the
1963 former 'data-file function, it is not checked whether a file
1964 exists. This allows to use this function also for file names of
1965 files that are still to be created.
1966
1967 (test-file-name): Use the global 'test-suite variable.
1968
1969 (main): Initialize 'test-suite instead of a local variable.
1970
1971 * lib.scm: Don't import paths any more.
1972
1973 (data-file): Removed. Resurrected with a sligtly different
1974 functionality as 'data-file-name' in guile-test.
1975
1976 * r4rs.scm: For all references to temporary file, make use of
1977 data-file-name.
1978
1979 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1980
1981 The following patch was sent by Thien-Thi Nguyen and a little bit
1982 modified by me.
1983
1984 * guile-test: Usage and installation comments improved. Added
1985 support for --test-suite and --debug command line options.
1986
1987 (default-test-suite): Added to allow for simplified
1988 configurability. No need to load the paths file any more.
1989
1990 (enable-debug-mode): New function. Will be called when the
1991 --debug command line option is given.
1992
1993 (test-root): Removed. The test directory has to be fully given.
1994 This allows for arbitrarily named test directories.
1995
1996 (test-file-name, enumerate-tets): Take the test directory as a
1997 paramter instead of using the global variable 'test-root'.
1998
1999 (main): Handle the new command line options. Return an exit code
2000 depending on whether all tests came out as expected.
2001
2002 * README: Updated.
2003
2004 * paths.scm: Removed.
2005
2006 2001-01-24 Gary Houston <ghouston@arglist.com>
2007
2008 * tests/ports.test: include (ice-9 rdelim) module.
2009
2010 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
2011
2012 * tests/numbers.test: Converted to do real boundary testing.
2013
2014 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
2015
2016 * tests/bit-operations.test: Added.
2017
2018 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
2019
2020 * tests/gc.test: Added.
2021
2022 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
2023
2024 * tests/strings.test: string=? is fixed.
2025
2026 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
2027
2028 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
2029
2030 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
2031
2032 * tests/strings.test: Added a test to help remember that string=?
2033 and friends need fixing.
2034
2035 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
2036
2037 * tests/environments.test: For tests that rely on garbage
2038 collection, conservative scanning can be a problem. Add a comment
2039 for these tests and make them turn out unresolved if things don't
2040 work as expected.
2041
2042 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
2043
2044 * tests/environments.test: Finished and cleaned up the tests for
2045 the leaf environments. Added a complete set of testcases for the
2046 leaf environment based eval environments. Started with the tests
2047 for the import environments.
2048
2049 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
2050
2051 * tests/environments.test: Added.
2052
2053 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
2054
2055 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
2056 of expressions.
2057
2058 * tests/eval.test: Fix documentation test.
2059
2060 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
2061
2062 * tests/list.test: Added tests for list-ref, list-set! and
2063 list-cdr-set!
2064
2065 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
2066
2067 * tests/common-list.test: Added.
2068
2069 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
2070
2071 * tests/eval.test: Added.
2072
2073 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
2074
2075 * tests/list.test: Use cons* instead of list*.
2076
2077 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2078
2079 * tests/numbers.test, tests/list.test: Updated for new
2080 documentation module.
2081
2082 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
2083
2084 * tests/hooks.test: make-hook-with-name is deprecated.
2085
2086 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
2087
2088 * tests/list.test, tests/numbers.test: Added.
2089
2090 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
2091
2092 * guile-test: Eliminate use of catch-test-errors.
2093
2094 * lib.scm: Adopted a couple of nice ideas from Greg.
2095
2096 (pass, fail, expect-failure, expect-failure-if,
2097 expect-failure-if*, catch-test-errors, catch-test-errors*,
2098 expected-failure-fluid, pessimist?): Removed.
2099
2100 (run-test, expect-fail, result-tags, important-result-tags):
2101 Added.
2102
2103 (report, make-count-reporter, print-counts, make-log-reporter,
2104 full-reporter, user-reporter): Reporters take two mandatory
2105 arguments and make use of the tag descriptions in result-tags and
2106 important-result-tags.
2107
2108 * tests/alist.test, tests/hooks.test, tests/ports.test,
2109 tests/weaks.test: Don't use catch-test-errors and
2110 expect-failure-if.
2111
2112 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
2113
2114 * mambo.test: Removed dummy file.
2115
2116 2000-03-31 Gary Houston <ghouston@arglist.com>
2117
2118 * tests/ports.test (non-blocking-I/O): a couple more details:
2119 a) combine the O_NONBLOCK flag with the default flags instead
2120 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
2121
2122 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
2123
2124 * lib.scm: Doc fixes.
2125
2126 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
2127
2128 * paths.scm: Assume that ~/guile-core/test-suite is the location
2129 of the test suite now.
2130
2131 * tests/version.test: Added -- version.c had 0% coverage before,
2132 now at 100%.
2133
2134 * tests/chars.test: Added -- needed test of char-is-both?.
2135
2136 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
2137
2138 * tests/weaks.test, tests/hooks.test: Added.
2139
2140 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
2141
2142 * tests/alist.test: Added.
2143
2144 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
2145
2146 * tests/c-api.test: Refine the list of files that are checked in
2147 the seek-offset-test. Was just using files that end in "c", but
2148 that caught the new ".doc" files, too, so make sure that files end
2149 in ".c" before requiring that they include unistd.h if they
2150 reference SEEK_(SET|CUR|END).
2151
2152 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
2153
2154 * tests/ports.test ("string ports"): test seeking/unreading from
2155 an input string and seeking an output string.
2156
2157 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
2158
2159 * tests/ports.test: in seek/tell test on input port, also test
2160 that ftell doesn't discard unread chars.
2161
2162 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
2163
2164 * tests/ports.test: add seek/tell tests for unidirectional ports.
2165
2166 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
2167
2168 * tests/reader.test: Check that number->string checks its radix
2169 properly.
2170
2171 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
2172
2173 * tests/ports.test: Check that our input functions cope when
2174 current-input-port is closed.
2175
2176 * tests/regexp.test: Check regexp-substitute/global when there are
2177 no matches. (Duh.)
2178
2179 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2180
2181 * tests/c-api.test: New file. Add test to check that all source
2182 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
2183
2184 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
2185
2186 * tests/ports.test: test non-blocking I/O.
2187
2188 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
2189
2190 * tests/strings.test: Add test for substring-move! argument checking.
2191
2192 * lib.scm (signals-error?, signals-error?*): New macro and function.
2193 * tests/reader.test: Use them.
2194
2195 * tests/interp.test: Add copyright notice.
2196
2197 * tests/reader.test: New test file.
2198
2199 * tests/regexp.test: New test file.
2200
2201 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
2202
2203 * tests/interp.test: Added tests for evaluation of closure bodies.
2204
2205 1999-09-03 James Blandy <jimb@mule.m17n.org>
2206
2207 * tests/multilingual.nottest: New file, which we will turn into a
2208 test file once we actually have multilingual support to test.
2209
2210 * tests/load.test: New test file.
2211
2212 1999-08-30 James Blandy <jimb@mule.m17n.org>
2213
2214 * tests/strings.test: New test file.
2215
2216 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
2217
2218 * tests/ports.test: test unread-char and unread-string.
2219
2220 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
2221
2222 * tests/ports.test: test line-buffering of fports.
2223
2224 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
2225
2226 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
2227
2228 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
2229
2230 * tests/ports.test: lseek -> seek.
2231
2232 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
2233
2234 * tests/ports.test: tests for buffered and unbuffered input/output
2235 fports with seeking.
2236
2237 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
2238
2239 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
2240 corresponds to an example object, not a predicate. Aubrey
2241 probably never noticed this because SCM doesn't check the lengths
2242 of the arguments to for-each and map...
2243
2244 * tests/ports.test: Add some regression tests for char-ready?.
2245
2246 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
2247
2248 * tests/ports.test: Fix copyright years.
2249
2250 * tests/guardians.test: New test file.
2251
2252 * tests/ports.test ("read-delimited!"): New tests.
2253
2254 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
2255
2256 * tests/interp.test: New file.
2257
2258 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
2259
2260 * tests/time.test: New test file.
2261
2262 * tests/r4rs.test: New set of tests, taken from Guile's test
2263 script, taken from SCM.
2264
2265 * tests/ports.test: Group the string port tests under a new
2266 test name prefix.
2267
2268 * tests/ports.test ("line counter"): Check the final column, too.
2269
2270 * lib.scm: Import (test-suite paths).
2271 (data-file): New exported function.
2272
2273 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
2274
2275 * tests/ports.test ("line counter"): Add test for correct column
2276 at EOF.
2277
2278 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
2279
2280 * tests/ports.test ("line counter"): Verify that we do eventually
2281 get EOF on the port --- don't just read forever.
2282
2283 * lib.scm (full-reporter): The test name is the cadr of the
2284 result, not the cdr. I'm not macho enough to handle run-time
2285 typechecking.
2286
2287 * lib.scm (print-counts): XFAILS are "expected failures", not
2288 "unexpected failures."
2289
2290 * lib.scm, guile-test, paths.scm: Log begins.
2291