*** empty log message ***
[bpt/guile.git] / test-suite / ChangeLog
1 2003-05-10 Kevin Ryde <user42@zip.com.au>
2
3 * tests/srfi-1.test: New file, exercising take and drop.
4 * Makefile.am (SCM_TESTS): Add it.
5
6 2003-05-06 Kevin Ryde <user42@zip.com.au>
7
8 * tests/numbers.test (-): Add test for negative inum subtract bignum.
9 (logcount): New tests, exercising some negatives.
10
11 2003-05-03 Marius Vollmer <mvo@zagadka.de>
12
13 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
14 pointing us to these tests.
15
16 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
17
18 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
19
20 * tests/srfi-34.test: New file.
21
22 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
23
24 * tests/syntax.test: Modified some tests to use eval when
25 providing bad syntax. Otherwise, the memoizer will report an
26 error immediately after reading the form, without even the chance
27 to get the pass-if-exception mechanism started.
28
29 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
30
31 * tests/guardians.test: Added some more elaborate and
32 sophisticated tests for the guardian functionality.
33
34 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
35
36 * tests/sort.test: Added. Both tests in that file did fail (one
37 even with a segfault) with CVS guile before the recent changes to
38 sort.c.
39
40 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
41
42 * tests/goops.test: Added tests for correctness of class
43 precedence list in all basic classes and tests for eqv? and
44 equal?.
45
46 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
47
48 * tests/goops.test: Added tests for class redefinition, object
49 update and active slots.
50
51 2003-04-14 Rob Browning <rlb@defaultvalue.org>
52
53 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
54 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
55
56 * standalone/Makefile.am: change from .c.x to .x to be consistent
57 with the rest of guile.
58
59 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
60
61 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
62 instead of INCLUDES
63
64 2003-04-07 Rob Browning <rlb@defaultvalue.org>
65
66 * Makefile.am (SUBDIRS): add standalone.
67
68 * guile-test: added "Running test FOO" output by default. There
69 may be a good reason to remove this, but the output can be helpful
70 in determining where a failure occurred.
71
72 * standalone/test-num2integral.c: new test -- one new regression
73 check.
74
75 * standalone/test-gh.c: new test code (migrated from
76 tests/c-api/) -- a trivial start.
77
78 * standalone/test-asmobs-lib.c: new test script (migrated from
79 tests/asmobs/).
80
81 * standalone/test-asmobs: new test script.
82
83 * standalone/README: new file.
84
85 * standalone/Makefile.am: new file.
86
87 * standalone/.cvsignore: new file.
88
89 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
90
91 * tests/asmobs/README: removed (functionality is now in standalone/).
92
93 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
94 standalone/).
95
96 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
97
98 * tests/asmobs/: removed (functionality is now in standalone/).
99
100 * tests/c-api/strings.c: add a note to the source about this code
101 being unused.
102
103 2003-04-05 Marius Vollmer <mvo@zagadka.de>
104
105 * Changed license terms to the plain LGPL thru-out.
106
107 2003-03-24 Rob Browning <rlb@defaultvalue.org>
108
109 * tests/numbers.test: added tests (some simple) for various funcs.
110 ("odd?"): added tests.
111 ("even?"): added tests.
112 ("nan?"): added tests.
113 ("abs"): added tests.
114 ("lcm"): added tests.
115 ("number->string"): added tests.
116 ("number?"): added tests.
117 ("complex?"): added tests.
118 ("real?"): added tests.
119 ("rational?"): added tests.
120 ("integer?"): added tests.
121 ("inexact?"): added tests.
122 ("="): added tests.
123 ("zero?"): added tests.
124 ("positive?"): added tests.
125 ("negative?"): added tests.
126
127 * lib.scm (pass-if): allow really simple tests where the test code
128 is also the name like (pass-if (even? 2)).
129 (expect-fail): allow really simple tests where the test code is
130 also the test name like (expect-fail (even? 2)).
131
132 2003-03-19 Marius Vollmer <mvo@zagadka.de>
133
134 * tests/format.test ("format basic output"): Added test for "~F"
135 from Matthias Koeppe.
136
137 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
138
139 * tests/elisp.test: Use module (ice-9 weak-vector).
140
141 * tests/weaks.test: Use module (ice-9 weak-vector).
142
143 2002-12-08 Rob Browning <rlb@defaultvalue.org>
144
145 * tests/version.test: test (effective-version).
146
147 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
148
149 * tests/options.test: New.
150
151 2002-10-04 Rob Browning <rlb@defaultvalue.org>
152
153 * tests/numbers.test ("expt"): add tests.
154
155 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
156
157 * Makefile.am (dist-hook): Do not distribute CVS directories.
158 Thanks to Greg Troxel!
159
160 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
161
162 * tests/reader.test: change misc-error in read-error.
163
164 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
165
166 * tests/goops.test: Added tests for define-generic and
167 define-accessor.
168
169 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
170
171 * tests/goops.test: Added tests for define-class.
172
173 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
174
175 * tests/numbers.test (/): Expect divison by an inexact zero to
176 yield +inf.0.
177
178 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
179
180 * tests/regexp.test (regexp-substitute/global): Do not test with
181 empty regexp. Empty regexps do not work on NetBSD.
182
183 * tests/syncase.test (basic syncase macro): Added.
184
185 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
186
187 * tests/srfi-13.test (string-tokenize): Updated for fixed
188 semantics.
189
190 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
191
192 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
193 directories manually.
194
195 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
196
197 * guile-test (main): Handle `--flag-unresolved'. No longer set
198 exit value to #f unconditionally on UNRESOLVED results.
199 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
200
201 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
202
203 * tests/elisp.test: Add tests of Elisp expression evaluation.
204
205 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
206
207 * tests/load.test: New test; for search-path with Elisp
208 nil-terminated lists for PATH and EXTENSIONS.
209
210 * tests/elisp.test: More tests for Scheme primitives that should
211 accept Elisp nil-terminated lists.
212
213 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
214
215 * tests/elisp.test: More new tests for the Elisp nil value.
216
217 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
218
219 * Makefile.am (SCM_TESTS): Added elisp.test.
220
221 * tests/elisp.test: New file.
222
223 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
224
225 * tests/numbers.test: Added more division by zero tests.
226
227 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
228
229 * tests/numbers.test: Added division by zero tests.
230
231 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
232
233 * tests/syntax.test: Added some tests, updated some others with
234 respect to recent changes in eval.c. Further, extracted test
235 cases for guile's extended set! functionality to srfi-17.test.
236
237 * tests/srfi-17.test: New file.
238
239 2001-11-04 Stefan Jahn <stefan@lkcc.org>
240
241 * tests/ports.test: Run (close-port) before (delete-file) if
242 necessary/advisory.
243
244 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
245
246 * tests/eval.test: Added tests for promises.
247
248 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
249
250 * lib.scm: Move module the system directives `export',
251 `export-syntax', `re-export' and `re-export-syntax' into the
252 `define-module' form. This is the recommended way of exporting
253 bindings.
254
255 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
256
257 * tests/syntax.test: Added test cases for 'cond =>' syntax with
258 else clause. Changed some tests and comments related to the
259 'case' form to reflect recent changes in the implementation.
260
261 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
262
263 * tests/syntax.test: Added test cases for 'lambda' syntax.
264
265 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
266
267 * tests/syntax.test: Added test cases for 'case' syntax.
268
269 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
270
271 * tests/numbers.test: Added a test case that checks if valid
272 number strings are transformed correctly by string->number.
273
274 2001-09-21 Rob Browning <rlb@defaultvalue.org>
275
276 * tests/numbers.test (fixnum-bit): compute dynamically.
277
278 * tests/bit-operations.test (fixnum-bit): compute dynamically.
279
280 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
281
282 * tests/getopt-long.test ("apples-blimps-catalexis example",
283 "multiple occurances"): New top-level sections.
284
285 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
286
287 * tests/numbers.test: Made some of the patterns better readable.
288
289 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
290
291 * tests/srfi-19.test (test-time-comparision,
292 test-time-arithmatic): New procs.
293
294 Add time comparison tests using new procs.
295 Thanks to Alex Shinn.
296
297 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
298
299 * tests/dynamic-scope.test: New file.
300
301 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
302
303 * tests/srfi-13.test (string-for-each, string-for-each-index):
304 Add tests. (Thanks to Alex Shinn.)
305
306 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
307
308 * tests/srfi-13.test (string-map): Swapped order of string and
309 proc args to conform with the srfi. (Thanks to Alex Shinn.)
310
311 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
312
313 * tests/getopt-long.test (exception:no-such-option,
314 exception:option-does-not-support-arg,
315 exception:option-must-be-specified,
316 exception:option-must-have-arg, exception:not-enough-args):
317 New vars.
318
319 ("option-ref", "required", "specified no value, given anyway",
320 "specified arg required"): New top-level sections.
321
322 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
323
324 * tests/numbers.test: Added Some syntax tests for
325 string->number.
326
327 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
328
329 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
330 "SCM_TESTS". This has special meaning to automake. How many
331 tries left to get this right, mvo?
332
333 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
334
335 * Makefile.am (TESTS): List tests explicitely instead of using a
336 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
337
338 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
339
340 * Makefile.am: New file, to control distribution of the
341 test-suite.
342
343 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
344
345 * tests/getopt-long.test: New file.
346
347 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
348
349 * lib.scm (run-test-exception): Add special handling for
350 `error'-generated exceptions, which pass key `misc-error' and
351 leave messages unformatted.
352
353 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
354
355 * tests/alist.test, tests/bit-operations.test,
356 tests/common-list.test, tests/environments.test, tests/eval.test,
357 tests/gc.test, tests/hooks.test, tests/import.test,
358 tests/interp.test, tests/list.test, tests/load.test,
359 tests/numbers.test, tests/ports.test, tests/r4rs.test,
360 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
361 copyright notice.
362
363 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
364
365 * tests/srfi-14.test: New file.
366
367 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
368
369 * tests/import.test: New file.
370
371 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
372
373 * tests/goops.test: Started with some real tests.
374
375 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
376
377 * guile-test: Use module (ice-9 rdelim).
378
379 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
380
381 * tests/srfi-4.test: New file.
382
383 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
384
385 Thanks to Matthias Köppe!
386
387 * tests/ports.test: New test for output port line counts.
388 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
389 files.
390
391 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
392
393 * tests/symbols.test ("gensym"): New tests for long gensym
394 prefices and embedded NULs in prefices.
395
396 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
397
398 * test/goops.test, test/syncase.test: New, minimal tests.
399
400 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
401
402 * tests/version.test: Updated test for new micro version stuff.
403
404 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
405
406 * tests/srfi-13.test: More tests.
407
408 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
409
410 * tests/srfi-10.test: New file.
411
412 * tests/srfi-9.test: New file.
413
414 * tests/srfi-13.test: Added some more tests.
415
416 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
417
418 * tests/eval.test: ("evaluator" "memoization"): New test
419 prefix block.
420 ("transparency"): New "evaluator memoization" test.
421
422 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
423
424 * tests/srfi-13.test: Added module access kludge, and uncommented
425 some tests depending on this.
426
427 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
428
429 * tests/srfi-13.test: New file testing the SRFI string library.
430
431 2001-04-26 Gary Houston <ghouston@arglist.com>
432
433 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
434 have run.
435
436 * tests/ports.test (test-file), tests/load.test (temp-dir):
437 redefined using data-file-name instead of tmpnam. the test files
438 will be created in the build directory instead of /var/tmp or
439 whereever tmpnam puts them.
440
441 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
442
443 * tests/symbols.c: Added some tests.
444
445 2001-03-19 Gary Houston <ghouston@arglist.com>
446
447 * tests/r4rs.test: use test-file-name to locate r4rs.test,
448 not data-file-name.
449
450 * guile-test: define tmp-dir, the location where r4rs.test will
451 create it's temporary files.
452 (data-file-name): use tmp-dir. this must be under build-dir,
453 not src-dir.
454
455 2001-03-18 Gary Houston <ghouston@arglist.com>
456
457 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
458 first line.
459
460 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
461
462 * tests/syntax.test: Added a test for let* bindings and
463 re-arranged and slightly improved the existing one.
464
465 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
466
467 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
468 test, dups are allowed in `let*' and are now expected to pass.
469
470 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
471
472 * lib.scm (run-test-exception): Preserve the original error's
473 stack for re-throwing.
474
475 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
476
477 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
478 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
479 been fixed.
480
481 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
482
483 * tests/syntax.test ("duplicate formals"): New category, move
484 appropriate tests here. Expect them to pass.
485 ("empty parentheses"): Expect to pass, bug has been fixed.
486
487 * tests/alist.test: Use "'()" instead of "()" in all places
488 where the empty list is meant.
489
490 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
491
492 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
493 exported constants.
494
495 * tests/r4rs.test: Make sure that no bindings for x and y exist
496 after the file is loaded.
497
498 * tests/syntax.test: New file.
499
500 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
501 Moved the test cases that are related to guile's syntactic forms
502 from tests/exceptions.test to tests/syntax.test. Moved tests
503 related to evaluation and application to tests/eval.test.
504
505 * tests/exceptions.test: Added some test cases that check guile's
506 exception handling.
507
508 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
509
510 * tests/exceptions.test, tests/numbers.test: Moved the number
511 related test cases from tests/exceptions.test to
512 tests/numbers.test.
513
514 * tests/numbers.test: Added a test case.
515
516 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
517
518 * tests/symbols.test: New file.
519
520 (exception:immutable-string): New constant. Currently, this is a
521 dummy since guile does not have immutable strings.
522
523 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
524 Moved the string related test cases from tests/exceptions.test to
525 tests/strings.test and the symbol related test cases to
526 tests/symbols.test.
527
528 * tests/strings.test: Copyright notice updated. Added a couple
529 of test cases.
530
531 (exception:immutable-string): New constant. Currently, this is a
532 dummy since guile does not have immutable strings.
533
534 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
535
536 * tests/exceptions.test: Use expect-fail-exception to indicate
537 test cases where exceptions should occur, but don't.
538
539 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
540 exception:missing/extra-expr): New constants.
541
542 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
543
544 * tests/reader.test, tests/exceptions.test: Moved the reader
545 related test cases from tests/exceptions.test to
546 tests/reader.test.
547
548 * tests/reader.test (exception:eof, exception:unexpected-rparen):
549 New constants.
550
551 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
552 Removed.
553
554 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
555
556 * lib.scm (signals-error?, signals-error?*): Removed.
557
558 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
559
560 * lib.scm: Added comment about new convenience functions/macros
561 to test for exceptions.
562
563 (exception:out-of-range, exception:wrong-type-arg): New exported
564 constants.
565
566 (run-test-exception): New function.
567
568 (pass-if-exception, expect-fail-exception): New exported macros.
569
570 * tests/environments.test: Fixed tests that were checking for
571 exceptions when set!ing an unbound symbol.
572
573 (exception:unbound-symbol): New constant.
574
575 * tests/hooks.test (catch-error-returning-true, pass-if-not,
576 catch-error-returning-false), tests/weaks.test
577 (catch-error-returning-true, pass-if-not,
578 catch-error-returning-false): Removed. The macro pass-if-not was
579 not used. The macro catch-error-returning-false is unnecessary
580 since exceptions are caught by the test-suite anyway. The
581 functionality of catch-error-returning-true is provided by the new
582 convenience macro pass-if-exception.
583
584 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
585 Maybe a standard wrong-num-arg exception should be thrown instead
586 of a misc-error?
587
588 * tests/reader.test (try-to-read): Replaced by read-string.
589
590 (read-string): New function.
591
592 * tests/alist.test, tests/environments.test, tests/eval.test,
593 tests/hooks.test, tests/list.test, tests/ports.test,
594 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
595 tests for exceptions with the new convenience macros.
596
597 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
598
599 * tests/alist.test: Remove redundant test name prefix.
600
601 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
602
603 * lib.scm (pass-if): Tests shall return a boolean value.
604
605 * tests/bit-operations.test (documented?), tests/common-list.test
606 (documented?), tests/environments.test (documented?),
607 tests/eval.test (documented?), tests/gc.test (documented?),
608 tests/numbers.test (documented?), tests/guardians.test,
609 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
610 that tests return a boolean value.
611
612 * tests/list.test (documented?): New function, replace all checks
613 for documentation with calls to this function.
614
615 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
616
617 * lib.scm (data-file): Remove from export list.
618
619 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
620
621 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
622 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
623 (syntax reading): New section.
624 (syntax let*): New section.
625 (syntax letrec): New section.
626 (syntax set!): New section.
627 (syntax misc): New section.
628 (bindings unbound): New section.
629 (bindings immutable-modification): New section.
630 (bindings let): New section.
631 (bindings let*): New section.
632 (bindings letrec): New section.
633
634 * tests/exceptions.test: New file.
635
636 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
637
638 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
639 and-let*).
640
641 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
642
643 This patch fixes things that I have broken with the last one :-(
644
645 * guile-test (test-suite): New variable.
646
647 (data-file-name): New function. Has the same purpose as the
648 former function data-file from lib.scm. Moved here in order to
649 have all file name handling at the same place. In contrast to the
650 former 'data-file function, it is not checked whether a file
651 exists. This allows to use this function also for file names of
652 files that are still to be created.
653
654 (test-file-name): Use the global 'test-suite variable.
655
656 (main): Initialize 'test-suite instead of a local variable.
657
658 * lib.scm: Don't import paths any more.
659
660 (data-file): Removed. Resurrected with a sligtly different
661 functionality as 'data-file-name' in guile-test.
662
663 * r4rs.scm: For all references to temporary file, make use of
664 data-file-name.
665
666 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
667
668 The following patch was sent by Thien-Thi Nguyen and a little bit
669 modified by me.
670
671 * guile-test: Usage and installation comments improved. Added
672 support for --test-suite and --debug command line options.
673
674 (default-test-suite): Added to allow for simplified
675 configurability. No need to load the paths file any more.
676
677 (enable-debug-mode): New function. Will be called when the
678 --debug command line option is given.
679
680 (test-root): Removed. The test directory has to be fully given.
681 This allows for arbitrarily named test directories.
682
683 (test-file-name, enumerate-tets): Take the test directory as a
684 paramter instead of using the global variable 'test-root'.
685
686 (main): Handle the new command line options. Return an exit code
687 depending on whether all tests came out as expected.
688
689 * README: Updated.
690
691 * paths.scm: Removed.
692
693 2001-01-24 Gary Houston <ghouston@arglist.com>
694
695 * tests/ports.test: include (ice-9 rdelim) module.
696
697 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
698
699 * tests/numbers.test: Converted to do real boundary testing.
700
701 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
702
703 * tests/bit-operations.test: Added.
704
705 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
706
707 * tests/gc.test: Added.
708
709 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
710
711 * tests/strings.test: string=? is fixed.
712
713 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
714
715 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
716
717 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
718
719 * tests/strings.test: Added a test to help remember that string=?
720 and friends need fixing.
721
722 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
723
724 * tests/environments.test: For tests that rely on garbage
725 collection, conservative scanning can be a problem. Add a comment
726 for these tests and make them turn out unresolved if things don't
727 work as expected.
728
729 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
730
731 * tests/environments.test: Finished and cleaned up the tests for
732 the leaf environments. Added a complete set of testcases for the
733 leaf environment based eval environments. Started with the tests
734 for the import environments.
735
736 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
737
738 * tests/environments.test: Added.
739
740 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
741
742 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
743 of expressions.
744
745 * tests/eval.test: Fix documentation test.
746
747 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
748
749 * tests/list.test: Added tests for list-ref, list-set! and
750 list-cdr-set!
751
752 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
753
754 * tests/common-list.test: Added.
755
756 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
757
758 * tests/eval.test: Added.
759
760 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
761
762 * tests/list.test: Use cons* instead of list*.
763
764 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
765
766 * tests/numbers.test, tests/list.test: Updated for new
767 documentation module.
768
769 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
770
771 * tests/hooks.test: make-hook-with-name is deprecated.
772
773 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
774
775 * tests/list.test, tests/numbers.test: Added.
776
777 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
778
779 * guile-test: Eliminate use of catch-test-errors.
780
781 * lib.scm: Adopted a couple of nice ideas from Greg.
782
783 (pass, fail, expect-failure, expect-failure-if,
784 expect-failure-if*, catch-test-errors, catch-test-errors*,
785 expected-failure-fluid, pessimist?): Removed.
786
787 (run-test, expect-fail, result-tags, important-result-tags):
788 Added.
789
790 (report, make-count-reporter, print-counts, make-log-reporter,
791 full-reporter, user-reporter): Reporters take two mandatory
792 arguments and make use of the tag descriptions in result-tags and
793 important-result-tags.
794
795 * tests/alist.test, tests/hooks.test, tests/ports.test,
796 tests/weaks.test: Don't use catch-test-errors and
797 expect-failure-if.
798
799 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
800
801 * mambo.test: Removed dummy file.
802
803 2000-03-31 Gary Houston <ghouston@arglist.com>
804
805 * tests/ports.test (non-blocking-I/O): a couple more details:
806 a) combine the O_NONBLOCK flag with the default flags instead
807 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
808
809 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
810
811 * lib.scm: Doc fixes.
812
813 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
814
815 * paths.scm: Assume that ~/guile-core/test-suite is the location
816 of the test suite now.
817
818 * tests/version.test: Added -- version.c had 0% coverage before,
819 now at 100%.
820
821 * tests/chars.test: Added -- needed test of char-is-both?.
822
823 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
824
825 * tests/weaks.test, tests/hooks.test: Added.
826
827 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
828
829 * tests/alist.test: Added.
830
831 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
832
833 * tests/c-api.test: Refine the list of files that are checked in
834 the seek-offset-test. Was just using files that end in "c", but
835 that caught the new ".doc" files, too, so make sure that files end
836 in ".c" before requiring that they include unistd.h if they
837 reference SEEK_(SET|CUR|END).
838
839 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
840
841 * tests/ports.test ("string ports"): test seeking/unreading from
842 an input string and seeking an output string.
843
844 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
845
846 * tests/ports.test: in seek/tell test on input port, also test
847 that ftell doesn't discard unread chars.
848
849 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
850
851 * tests/ports.test: add seek/tell tests for unidirectional ports.
852
853 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
854
855 * tests/reader.test: Check that number->string checks its radix
856 properly.
857
858 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
859
860 * tests/ports.test: Check that our input functions cope when
861 current-input-port is closed.
862
863 * tests/regexp.test: Check regexp-substitute/global when there are
864 no matches. (Duh.)
865
866 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
867
868 * tests/c-api.test: New file. Add test to check that all source
869 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
870
871 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
872
873 * tests/ports.test: test non-blocking I/O.
874
875 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
876
877 * tests/strings.test: Add test for substring-move! argument checking.
878
879 * lib.scm (signals-error?, signals-error?*): New macro and function.
880 * tests/reader.test: Use them.
881
882 * tests/interp.test: Add copyright notice.
883
884 * tests/reader.test: New test file.
885
886 * tests/regexp.test: New test file.
887
888 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
889
890 * tests/interp.test: Added tests for evaluation of closure bodies.
891
892 1999-09-03 James Blandy <jimb@mule.m17n.org>
893
894 * tests/multilingual.nottest: New file, which we will turn into a
895 test file once we actually have multilingual support to test.
896
897 * tests/load.test: New test file.
898
899 1999-08-30 James Blandy <jimb@mule.m17n.org>
900
901 * tests/strings.test: New test file.
902
903 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
904
905 * tests/ports.test: test unread-char and unread-string.
906
907 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
908
909 * tests/ports.test: test line-buffering of fports.
910
911 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
912
913 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
914
915 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
916
917 * tests/ports.test: lseek -> seek.
918
919 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
920
921 * tests/ports.test: tests for buffered and unbuffered input/output
922 fports with seeking.
923
924 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
925
926 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
927 corresponds to an example object, not a predicate. Aubrey
928 probably never noticed this because SCM doesn't check the lengths
929 of the arguments to for-each and map...
930
931 * tests/ports.test: Add some regression tests for char-ready?.
932
933 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
934
935 * tests/ports.test: Fix copyright years.
936
937 * tests/guardians.test: New test file.
938
939 * tests/ports.test ("read-delimited!"): New tests.
940
941 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
942
943 * tests/interp.test: New file.
944
945 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
946
947 * tests/time.test: New test file.
948
949 * tests/r4rs.test: New set of tests, taken from Guile's test
950 script, taken from SCM.
951
952 * tests/ports.test: Group the string port tests under a new
953 test name prefix.
954
955 * tests/ports.test ("line counter"): Check the final column, too.
956
957 * lib.scm: Import (test-suite paths).
958 (data-file): New exported function.
959
960 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
961
962 * tests/ports.test ("line counter"): Add test for correct column
963 at EOF.
964
965 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
966
967 * tests/ports.test ("line counter"): Verify that we do eventually
968 get EOF on the port --- don't just read forever.
969
970 * lib.scm (full-reporter): The test name is the cadr of the
971 result, not the cdr. I'm not macho enough to handle run-time
972 typechecking.
973
974 * lib.scm (print-counts): XFAILS are "expected failures", not
975 "unexpected failures."
976
977 * lib.scm, guile-test, paths.scm: Log begins.
978