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