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