1 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
3 * tests/srfi-13.test (string-for-each, string-for-each-index):
4 Add tests. (Thanks to Alex Shinn.)
6 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
8 * tests/srfi-13.test (string-map): Swapped order of string and
9 proc args to conform with the srfi. (Thanks to Alex Shinn.)
11 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
13 * tests/getopt-long.test (exception:no-such-option,
14 exception:option-does-not-support-arg,
15 exception:option-must-be-specified,
16 exception:option-must-have-arg, exception:not-enough-args):
19 ("option-ref", "required", "specified no value, given anyway",
20 "specified arg required"): New top-level sections.
22 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
24 * tests/numbers.test: Added Some syntax tests for
27 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
29 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
30 "SCM_TESTS". This has special meaning to automake. How many
31 tries left to get this right, mvo?
33 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
35 * Makefile.am (TESTS): List tests explicitely instead of using a
36 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
38 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
40 * Makefile.am: New file, to control distribution of the
43 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
45 * tests/getopt-long.test: New file.
47 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
49 * lib.scm (run-test-exception): Add special handling for
50 `error'-generated exceptions, which pass key `misc-error' and
51 leave messages unformatted.
53 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
55 * tests/alist.test, tests/bit-operations.test,
56 tests/common-list.test, tests/environments.test, tests/eval.test,
57 tests/gc.test, tests/hooks.test, tests/import.test,
58 tests/interp.test, tests/list.test, tests/load.test,
59 tests/numbers.test, tests/ports.test, tests/r4rs.test,
60 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
63 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
65 * tests/srfi-14.test: New file.
67 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
69 * tests/import.test: New file.
71 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
73 * tests/goops.test: Started with some real tests.
75 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
77 * guile-test: Use module (ice-9 rdelim).
79 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
81 * tests/srfi-4.test: New file.
83 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
85 Thanks to Matthias Köppe!
87 * tests/ports.test: New test for output port line counts.
88 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
91 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
93 * tests/symbols.test ("gensym"): New tests for long gensym
94 prefices and embedded NULs in prefices.
96 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
98 * test/goops.test, test/syncase.test: New, minimal tests.
100 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
102 * tests/version.test: Updated test for new micro version stuff.
104 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
106 * tests/srfi-13.test: More tests.
108 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
110 * tests/srfi-10.test: New file.
112 * tests/srfi-9.test: New file.
114 * tests/srfi-13.test: Added some more tests.
116 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
118 * tests/eval.test: ("evaluator" "memoization"): New test
120 ("transparency"): New "evaluator memoization" test.
122 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
124 * tests/srfi-13.test: Added module access kludge, and uncommented
125 some tests depending on this.
127 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
129 * tests/srfi-13.test: New file testing the SRFI string library.
131 2001-04-26 Gary Houston <ghouston@arglist.com>
133 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
136 * tests/ports.test (test-file), tests/load.test (temp-dir):
137 redefined using data-file-name instead of tmpnam. the test files
138 will be created in the build directory instead of /var/tmp or
139 whereever tmpnam puts them.
141 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
143 * tests/symbols.c: Added some tests.
145 2001-03-19 Gary Houston <ghouston@arglist.com>
147 * tests/r4rs.test: use test-file-name to locate r4rs.test,
150 * guile-test: define tmp-dir, the location where r4rs.test will
151 create it's temporary files.
152 (data-file-name): use tmp-dir. this must be under build-dir,
155 2001-03-18 Gary Houston <ghouston@arglist.com>
157 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
160 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
162 * tests/syntax.test: Added a test for let* bindings and
163 re-arranged and slightly improved the existing one.
165 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
167 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
168 test, dups are allowed in `let*' and are now expected to pass.
170 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
172 * lib.scm (run-test-exception): Preserve the original error's
173 stack for re-throwing.
175 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
177 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
178 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
181 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
183 * tests/syntax.test ("duplicate formals"): New category, move
184 appropriate tests here. Expect them to pass.
185 ("empty parentheses"): Expect to pass, bug has been fixed.
187 * tests/alist.test: Use "'()" instead of "()" in all places
188 where the empty list is meant.
190 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
192 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
195 * tests/r4rs.test: Make sure that no bindings for x and y exist
196 after the file is loaded.
198 * tests/syntax.test: New file.
200 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
201 Moved the test cases that are related to guile's syntactic forms
202 from tests/exceptions.test to tests/syntax.test. Moved tests
203 related to evaluation and application to tests/eval.test.
205 * tests/exceptions.test: Added some test cases that check guile's
208 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
210 * tests/exceptions.test, tests/numbers.test: Moved the number
211 related test cases from tests/exceptions.test to
214 * tests/numbers.test: Added a test case.
216 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
218 * tests/symbols.test: New file.
220 (exception:immutable-string): New constant. Currently, this is a
221 dummy since guile does not have immutable strings.
223 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
224 Moved the string related test cases from tests/exceptions.test to
225 tests/strings.test and the symbol related test cases to
228 * tests/strings.test: Copyright notice updated. Added a couple
231 (exception:immutable-string): New constant. Currently, this is a
232 dummy since guile does not have immutable strings.
234 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
236 * tests/exceptions.test: Use expect-fail-exception to indicate
237 test cases where exceptions should occur, but don't.
239 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
240 exception:missing/extra-expr): New constants.
242 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
244 * tests/reader.test, tests/exceptions.test: Moved the reader
245 related test cases from tests/exceptions.test to
248 * tests/reader.test (exception:eof, exception:unexpected-rparen):
251 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
254 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
256 * lib.scm (signals-error?, signals-error?*): Removed.
258 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
260 * lib.scm: Added comment about new convenience functions/macros
261 to test for exceptions.
263 (exception:out-of-range, exception:wrong-type-arg): New exported
266 (run-test-exception): New function.
268 (pass-if-exception, expect-fail-exception): New exported macros.
270 * tests/environments.test: Fixed tests that were checking for
271 exceptions when set!ing an unbound symbol.
273 (exception:unbound-symbol): New constant.
275 * tests/hooks.test (catch-error-returning-true, pass-if-not,
276 catch-error-returning-false), tests/weaks.test
277 (catch-error-returning-true, pass-if-not,
278 catch-error-returning-false): Removed. The macro pass-if-not was
279 not used. The macro catch-error-returning-false is unnecessary
280 since exceptions are caught by the test-suite anyway. The
281 functionality of catch-error-returning-true is provided by the new
282 convenience macro pass-if-exception.
284 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
285 Maybe a standard wrong-num-arg exception should be thrown instead
288 * tests/reader.test (try-to-read): Replaced by read-string.
290 (read-string): New function.
292 * tests/alist.test, tests/environments.test, tests/eval.test,
293 tests/hooks.test, tests/list.test, tests/ports.test,
294 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
295 tests for exceptions with the new convenience macros.
297 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
299 * tests/alist.test: Remove redundant test name prefix.
301 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
303 * lib.scm (pass-if): Tests shall return a boolean value.
305 * tests/bit-operations.test (documented?), tests/common-list.test
306 (documented?), tests/environments.test (documented?),
307 tests/eval.test (documented?), tests/gc.test (documented?),
308 tests/numbers.test (documented?), tests/guardians.test,
309 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
310 that tests return a boolean value.
312 * tests/list.test (documented?): New function, replace all checks
313 for documentation with calls to this function.
315 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
317 * lib.scm (data-file): Remove from export list.
319 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
321 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
322 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
323 (syntax reading): New section.
324 (syntax let*): New section.
325 (syntax letrec): New section.
326 (syntax set!): New section.
327 (syntax misc): New section.
328 (bindings unbound): New section.
329 (bindings immutable-modification): New section.
330 (bindings let): New section.
331 (bindings let*): New section.
332 (bindings letrec): New section.
334 * tests/exceptions.test: New file.
336 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
338 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
341 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
343 This patch fixes things that I have broken with the last one :-(
345 * guile-test (test-suite): New variable.
347 (data-file-name): New function. Has the same purpose as the
348 former function data-file from lib.scm. Moved here in order to
349 have all file name handling at the same place. In contrast to the
350 former 'data-file function, it is not checked whether a file
351 exists. This allows to use this function also for file names of
352 files that are still to be created.
354 (test-file-name): Use the global 'test-suite variable.
356 (main): Initialize 'test-suite instead of a local variable.
358 * lib.scm: Don't import paths any more.
360 (data-file): Removed. Resurrected with a sligtly different
361 functionality as 'data-file-name' in guile-test.
363 * r4rs.scm: For all references to temporary file, make use of
366 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
368 The following patch was sent by Thien-Thi Nguyen and a little bit
371 * guile-test: Usage and installation comments improved. Added
372 support for --test-suite and --debug command line options.
374 (default-test-suite): Added to allow for simplified
375 configurability. No need to load the paths file any more.
377 (enable-debug-mode): New function. Will be called when the
378 --debug command line option is given.
380 (test-root): Removed. The test directory has to be fully given.
381 This allows for arbitrarily named test directories.
383 (test-file-name, enumerate-tets): Take the test directory as a
384 paramter instead of using the global variable 'test-root'.
386 (main): Handle the new command line options. Return an exit code
387 depending on whether all tests came out as expected.
391 * paths.scm: Removed.
393 2001-01-24 Gary Houston <ghouston@arglist.com>
395 * tests/ports.test: include (ice-9 rdelim) module.
397 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
399 * tests/numbers.test: Converted to do real boundary testing.
401 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
403 * tests/bit-operations.test: Added.
405 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
407 * tests/gc.test: Added.
409 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
411 * tests/strings.test: string=? is fixed.
413 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
415 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
417 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
419 * tests/strings.test: Added a test to help remember that string=?
420 and friends need fixing.
422 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
424 * tests/environments.test: For tests that rely on garbage
425 collection, conservative scanning can be a problem. Add a comment
426 for these tests and make them turn out unresolved if things don't
429 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
431 * tests/environments.test: Finished and cleaned up the tests for
432 the leaf environments. Added a complete set of testcases for the
433 leaf environment based eval environments. Started with the tests
434 for the import environments.
436 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
438 * tests/environments.test: Added.
440 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
442 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
445 * tests/eval.test: Fix documentation test.
447 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
449 * tests/list.test: Added tests for list-ref, list-set! and
452 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
454 * tests/common-list.test: Added.
456 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
458 * tests/eval.test: Added.
460 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
462 * tests/list.test: Use cons* instead of list*.
464 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
466 * tests/numbers.test, tests/list.test: Updated for new
467 documentation module.
469 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
471 * tests/hooks.test: make-hook-with-name is deprecated.
473 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
475 * tests/list.test, tests/numbers.test: Added.
477 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
479 * guile-test: Eliminate use of catch-test-errors.
481 * lib.scm: Adopted a couple of nice ideas from Greg.
483 (pass, fail, expect-failure, expect-failure-if,
484 expect-failure-if*, catch-test-errors, catch-test-errors*,
485 expected-failure-fluid, pessimist?): Removed.
487 (run-test, expect-fail, result-tags, important-result-tags):
490 (report, make-count-reporter, print-counts, make-log-reporter,
491 full-reporter, user-reporter): Reporters take two mandatory
492 arguments and make use of the tag descriptions in result-tags and
493 important-result-tags.
495 * tests/alist.test, tests/hooks.test, tests/ports.test,
496 tests/weaks.test: Don't use catch-test-errors and
499 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
501 * mambo.test: Removed dummy file.
503 2000-03-31 Gary Houston <ghouston@arglist.com>
505 * tests/ports.test (non-blocking-I/O): a couple more details:
506 a) combine the O_NONBLOCK flag with the default flags instead
507 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
509 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
511 * lib.scm: Doc fixes.
513 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
515 * paths.scm: Assume that ~/guile-core/test-suite is the location
516 of the test suite now.
518 * tests/version.test: Added -- version.c had 0% coverage before,
521 * tests/chars.test: Added -- needed test of char-is-both?.
523 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
525 * tests/weaks.test, tests/hooks.test: Added.
527 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
529 * tests/alist.test: Added.
531 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
533 * tests/c-api.test: Refine the list of files that are checked in
534 the seek-offset-test. Was just using files that end in "c", but
535 that caught the new ".doc" files, too, so make sure that files end
536 in ".c" before requiring that they include unistd.h if they
537 reference SEEK_(SET|CUR|END).
539 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
541 * tests/ports.test ("string ports"): test seeking/unreading from
542 an input string and seeking an output string.
544 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
546 * tests/ports.test: in seek/tell test on input port, also test
547 that ftell doesn't discard unread chars.
549 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
551 * tests/ports.test: add seek/tell tests for unidirectional ports.
553 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
555 * tests/reader.test: Check that number->string checks its radix
558 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
560 * tests/ports.test: Check that our input functions cope when
561 current-input-port is closed.
563 * tests/regexp.test: Check regexp-substitute/global when there are
566 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
568 * tests/c-api.test: New file. Add test to check that all source
569 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
571 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
573 * tests/ports.test: test non-blocking I/O.
575 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
577 * tests/strings.test: Add test for substring-move! argument checking.
579 * lib.scm (signals-error?, signals-error?*): New macro and function.
580 * tests/reader.test: Use them.
582 * tests/interp.test: Add copyright notice.
584 * tests/reader.test: New test file.
586 * tests/regexp.test: New test file.
588 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
590 * tests/interp.test: Added tests for evaluation of closure bodies.
592 1999-09-03 James Blandy <jimb@mule.m17n.org>
594 * tests/multilingual.nottest: New file, which we will turn into a
595 test file once we actually have multilingual support to test.
597 * tests/load.test: New test file.
599 1999-08-30 James Blandy <jimb@mule.m17n.org>
601 * tests/strings.test: New test file.
603 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
605 * tests/ports.test: test unread-char and unread-string.
607 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
609 * tests/ports.test: test line-buffering of fports.
611 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
613 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
615 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
617 * tests/ports.test: lseek -> seek.
619 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
621 * tests/ports.test: tests for buffered and unbuffered input/output
624 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
626 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
627 corresponds to an example object, not a predicate. Aubrey
628 probably never noticed this because SCM doesn't check the lengths
629 of the arguments to for-each and map...
631 * tests/ports.test: Add some regression tests for char-ready?.
633 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
635 * tests/ports.test: Fix copyright years.
637 * tests/guardians.test: New test file.
639 * tests/ports.test ("read-delimited!"): New tests.
641 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
643 * tests/interp.test: New file.
645 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
647 * tests/time.test: New test file.
649 * tests/r4rs.test: New set of tests, taken from Guile's test
650 script, taken from SCM.
652 * tests/ports.test: Group the string port tests under a new
655 * tests/ports.test ("line counter"): Check the final column, too.
657 * lib.scm: Import (test-suite paths).
658 (data-file): New exported function.
660 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
662 * tests/ports.test ("line counter"): Add test for correct column
665 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
667 * tests/ports.test ("line counter"): Verify that we do eventually
668 get EOF on the port --- don't just read forever.
670 * lib.scm (full-reporter): The test name is the cadr of the
671 result, not the cdr. I'm not macho enough to handle run-time
674 * lib.scm (print-counts): XFAILS are "expected failures", not
675 "unexpected failures."
677 * lib.scm, guile-test, paths.scm: Log begins.