guile/test-suite/ChangeLog

426 lines
13 KiB
Text
Raw Normal View History

2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (signals-error?, signals-error?*): Removed.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm: Added comment about new convenience functions/macros
to test for exceptions.
(exception:out-of-range, exception:wrong-type-arg): New exported
constants.
(run-test-exception): New function.
(pass-if-exception, expect-fail-exception): New exported macros.
* tests/environments.test: Fixed tests that were checking for
exceptions when set!ing an unbound symbol.
(exception:unbound-symbol): New constant.
* tests/hooks.test (catch-error-returning-true, pass-if-not,
catch-error-returning-false), tests/weaks.test
(catch-error-returning-true, pass-if-not,
catch-error-returning-false): Removed. The macro pass-if-not was
not used. The macro catch-error-returning-false is unnecessary
since exceptions are caught by the test-suite anyway. The
functionality of catch-error-returning-true is provided by the new
convenience macro pass-if-exception.
* tests/hooks.test (exception:wrong-num-hook-args): New constant.
Maybe a standard wrong-num-arg exception should be thrown instead
of a misc-error?
* tests/reader.test (try-to-read): Replaced by read-string.
(read-string): New function.
* tests/alist.test, tests/environments.test, tests/eval.test,
tests/hooks.test, tests/list.test, tests/ports.test,
tests/reader.test, tests/strings.test, tests/weaks.test: Replace
tests for exceptions with the new convenience macros.
2001-02-28 09:06:10 +00:00
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/alist.test: Remove redundant test name prefix.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (pass-if): Tests shall return a boolean value.
* tests/bit-operations.test (documented?), tests/common-list.test
(documented?), tests/environments.test (documented?),
tests/eval.test (documented?), tests/gc.test (documented?),
tests/numbers.test (documented?), tests/guardians.test,
tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
that tests return a boolean value.
* tests/list.test (documented?): New function, replace all checks
for documentation with calls to this function.
2001-02-27 11:10:07 +00:00
2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (data-file): Remove from export list.
2001-02-23 02:39:43 +00:00
2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
2001-02-23 10:24:37 +00:00
* tests/exceptions.test (syntax lambda): Renamed from (lambda).
(syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
(syntax reading): New section.
(syntax let*): New section.
(syntax letrec): New section.
(syntax set!): New section.
(syntax misc): New section.
(bindings unbound): New section.
(bindings immutable-modification): New section.
(bindings let): New section.
(bindings let*): New section.
(bindings letrec): New section.
2001-02-23 02:39:43 +00:00
* tests/exceptions.test: New file.
2001-02-08 18:52:05 +00:00
2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* guile-test: Use (ice-9 and-let-star) instead of (ice-9
and-let*).
2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
This patch fixes things that I have broken with the last one :-(
* guile-test (test-suite): New variable.
(data-file-name): New function. Has the same purpose as the
former function data-file from lib.scm. Moved here in order to
have all file name handling at the same place. In contrast to the
former 'data-file function, it is not checked whether a file
exists. This allows to use this function also for file names of
files that are still to be created.
(test-file-name): Use the global 'test-suite variable.
(main): Initialize 'test-suite instead of a local variable.
* lib.scm: Don't import paths any more.
(data-file): Removed. Resurrected with a sligtly different
functionality as 'data-file-name' in guile-test.
* r4rs.scm: For all references to temporary file, make use of
data-file-name.
2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
The following patch was sent by Thien-Thi Nguyen and a little bit
modified by me.
* guile-test: Usage and installation comments improved. Added
support for --test-suite and --debug command line options.
(default-test-suite): Added to allow for simplified
configurability. No need to load the paths file any more.
(enable-debug-mode): New function. Will be called when the
--debug command line option is given.
(test-root): Removed. The test directory has to be fully given.
This allows for arbitrarily named test directories.
(test-file-name, enumerate-tets): Take the test directory as a
paramter instead of using the global variable 'test-root'.
(main): Handle the new command line options. Return an exit code
depending on whether all tests came out as expected.
* README: Updated.
* paths.scm: Removed.
2001-01-24 Gary Houston <ghouston@arglist.com>
* tests/ports.test: include (ice-9 rdelim) module.
2001-01-18 17:24:10 +00:00
2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Converted to do real boundary testing.
2001-01-17 18:22:26 +00:00
2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/bit-operations.test: Added.
2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/gc.test: Added.
2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/strings.test: string=? is fixed.
2000-10-13 07:55:25 +00:00
2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test: Removed references to sloppy-mem(q|v|ber)
2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/strings.test: Added a test to help remember that string=?
and friends need fixing.
2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: For tests that rely on garbage
collection, conservative scanning can be a problem. Add a comment
for these tests and make them turn out unresolved if things don't
work as expected.
2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: Finished and cleaned up the tests for
the leaf environments. Added a complete set of testcases for the
leaf environment based eval environments. Started with the tests
for the import environments.
2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: Added.
2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (pass-if, expect-fail): Generalized to allow a sequence
of expressions.
* tests/eval.test: Fix documentation test.
2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test: Added tests for list-ref, list-set! and
list-cdr-set!
2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/common-list.test: Added.
2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/eval.test: Added.
2000-06-19 10:05:54 +00:00
2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test: Use cons* instead of list*.
2000-06-13 00:12:27 +00:00
2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* tests/numbers.test, tests/list.test: Updated for new
documentation module.
2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/hooks.test: make-hook-with-name is deprecated.
2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test, tests/numbers.test: Added.
2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
* guile-test: Eliminate use of catch-test-errors.
* lib.scm: Adopted a couple of nice ideas from Greg.
(pass, fail, expect-failure, expect-failure-if,
expect-failure-if*, catch-test-errors, catch-test-errors*,
expected-failure-fluid, pessimist?): Removed.
(run-test, expect-fail, result-tags, important-result-tags):
Added.
(report, make-count-reporter, print-counts, make-log-reporter,
full-reporter, user-reporter): Reporters take two mandatory
arguments and make use of the tag descriptions in result-tags and
important-result-tags.
* tests/alist.test, tests/hooks.test, tests/ports.test,
tests/weaks.test: Don't use catch-test-errors and
expect-failure-if.
2000-05-05 12:22:46 +00:00
2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* mambo.test: Removed dummy file.
2000-03-31 19:24:09 +00:00
2000-03-31 Gary Houston <ghouston@arglist.com>
* tests/ports.test (non-blocking-I/O): a couple more details:
a) combine the O_NONBLOCK flag with the default flags instead
of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
2000-03-23 23:47:04 +00:00
2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
* lib.scm: Doc fixes.
2000-01-16 22:07:08 +00:00
Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
* paths.scm: Assume that ~/guile-core/test-suite is the location
of the test suite now.
* tests/version.test: Added -- version.c had 0% coverage before,
now at 100%.
* tests/chars.test: Added -- needed test of char-is-both?.
1999-12-22 10:13:57 +00:00
1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
1999-12-22 11:41:47 +00:00
* tests/weaks.test, tests/hooks.test: Added.
1999-12-22 10:13:57 +00:00
1999-12-18 13:24:33 +00:00
1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
* tests/alist.test: Added.
1999-12-17 20:15:57 +00:00
Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
* tests/c-api.test: Refine the list of files that are checked in
the seek-offset-test. Was just using files that end in "c", but
2001-02-23 02:39:43 +00:00
that caught the new ".doc" files, too, so make sure that files end
1999-12-17 20:15:57 +00:00
in ".c" before requiring that they include unistd.h if they
reference SEEK_(SET|CUR|END).
1999-10-24 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test ("string ports"): test seeking/unreading from
an input string and seeking an output string.
1999-10-20 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: in seek/tell test on input port, also test
that ftell doesn't discard unread chars.
1999-10-18 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: add seek/tell tests for unidirectional ports.
1999-09-25 23:41:59 +00:00
1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/reader.test: Check that number->string checks its radix
properly.
2001-02-23 02:39:43 +00:00
1999-09-20 22:52:08 +00:00
1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
1999-09-20 23:57:55 +00:00
* tests/ports.test: Check that our input functions cope when
current-input-port is closed.
1999-09-20 22:52:08 +00:00
* tests/regexp.test: Check regexp-substitute/global when there are
no matches. (Duh.)
1999-09-15 15:28:44 +00:00
1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* tests/c-api.test: New file. Add test to check that all source
files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1999-09-14 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: test non-blocking I/O.
1999-09-11 18:51:58 +00:00
1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/strings.test: Add test for substring-move! argument checking.
* lib.scm (signals-error?, signals-error?*): New macro and function.
* tests/reader.test: Use them.
* tests/interp.test: Add copyright notice.
* tests/reader.test: New test file.
* tests/regexp.test: New test file.
1999-09-06 18:42:03 +00:00
1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* tests/interp.test: Added tests for evaluation of closure bodies.
1999-09-03 07:37:33 +00:00
1999-09-03 James Blandy <jimb@mule.m17n.org>
* tests/multilingual.nottest: New file, which we will turn into a
test file once we actually have multilingual support to test.
* tests/load.test: New test file.
1999-08-30 07:46:07 +00:00
1999-08-30 James Blandy <jimb@mule.m17n.org>
* tests/strings.test: New test file.
1999-08-29 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test unread-char and unread-string.
1999-08-19 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test line-buffering of fports.
1999-08-18 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for NUL and non-ASCII chars to fports.
1999-08-12 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: lseek -> seek.
1999-08-04 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for buffered and unbuffered input/output
fports with seeking.
1999-08-01 08:08:18 +00:00
1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/r4rs.test (SECTION 3 4): Each element of type-matrix
corresponds to an example object, not a predicate. Aubrey
probably never noticed this because SCM doesn't check the lengths
of the arguments to for-each and map...
* tests/ports.test: Add some regression tests for char-ready?.
1999-07-19 08:11:28 +00:00
1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1999-08-01 08:08:18 +00:00
* tests/ports.test: Fix copyright years.
* tests/guardians.test: New test file.
1999-07-19 08:11:28 +00:00
* tests/ports.test ("read-delimited!"): New tests.
1999-06-19 16:28:17 +00:00
1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/interp.test: New file.
1999-06-15 08:40:04 +00:00
1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1999-06-15 14:10:06 +00:00
* tests/time.test: New test file.
1999-06-15 08:40:04 +00:00
* tests/r4rs.test: New set of tests, taken from Guile's test
script, taken from SCM.
* tests/ports.test: Group the string port tests under a new
test name prefix.
* tests/ports.test ("line counter"): Check the final column, too.
* lib.scm: Import (test-suite paths).
(data-file): New exported function.
1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/ports.test ("line counter"): Add test for correct column
at EOF.
1999-06-09 08:57:32 +00:00
1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1999-06-09 09:42:21 +00:00
* tests/ports.test ("line counter"): Verify that we do eventually
get EOF on the port --- don't just read forever.
1999-06-09 08:57:32 +00:00
* lib.scm (full-reporter): The test name is the cadr of the
result, not the cdr. I'm not macho enough to handle run-time
typechecking.
1999-06-09 09:42:21 +00:00
* lib.scm (print-counts): XFAILS are "expected failures", not
"unexpected failures."
1999-06-09 08:57:32 +00:00
* lib.scm, guile-test, paths.scm: Log begins.