1 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
3 This patch fixes things that I have broken with the last one :-(
5 * guile-test (test-suite): New variable.
7 (data-file-name): New function. Has the same purpose as the
8 former function data-file from lib.scm. Moved here in order to
9 have all file name handling at the same place. In contrast to the
10 former 'data-file function, it is not checked whether a file
11 exists. This allows to use this function also for file names of
12 files that are still to be created.
14 (test-file-name): Use the global 'test-suite variable.
16 (main): Initialize 'test-suite instead of a local variable.
18 * lib.scm: Don't import paths any more.
20 (data-file): Removed. Resurrected with a sligtly different
21 functionality as 'data-file-name' in guile-test.
23 * r4rs.scm: For all references to temporary file, make use of
26 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
28 The following patch was sent by Thien-Thi Nguyen and a little bit
31 * guile-test: Usage and installation comments improved. Added
32 support for --test-suite and --debug command line options.
34 (default-test-suite): Added to allow for simplified
35 configurability. No need to load the paths file any more.
37 (enable-debug-mode): New function. Will be called when the
38 --debug command line option is given.
40 (test-root): Removed. The test directory has to be fully given.
41 This allows for arbitrarily named test directories.
43 (test-file-name, enumerate-tets): Take the test directory as a
44 paramter instead of using the global variable 'test-root'.
46 (main): Handle the new command line options. Return an exit code
47 depending on whether all tests came out as expected.
53 2001-01-24 Gary Houston <ghouston@arglist.com>
55 * tests/ports.test: include (ice-9 rdelim) module.
57 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
59 * tests/numbers.test: Converted to do real boundary testing.
61 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
63 * tests/bit-operations.test: Added.
65 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
67 * tests/gc.test: Added.
69 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
71 * tests/strings.test: string=? is fixed.
73 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
75 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
77 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
79 * tests/strings.test: Added a test to help remember that string=?
80 and friends need fixing.
82 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
84 * tests/environments.test: For tests that rely on garbage
85 collection, conservative scanning can be a problem. Add a comment
86 for these tests and make them turn out unresolved if things don't
89 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
91 * tests/environments.test: Finished and cleaned up the tests for
92 the leaf environments. Added a complete set of testcases for the
93 leaf environment based eval environments. Started with the tests
94 for the import environments.
96 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
98 * tests/environments.test: Added.
100 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
102 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
105 * tests/eval.test: Fix documentation test.
107 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
109 * tests/list.test: Added tests for list-ref, list-set! and
112 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
114 * tests/common-list.test: Added.
116 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
118 * tests/eval.test: Added.
120 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
122 * tests/list.test: Use cons* instead of list*.
124 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
126 * tests/numbers.test, tests/list.test: Updated for new
127 documentation module.
129 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
131 * tests/hooks.test: make-hook-with-name is deprecated.
133 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
135 * tests/list.test, tests/numbers.test: Added.
137 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
139 * guile-test: Eliminate use of catch-test-errors.
141 * lib.scm: Adopted a couple of nice ideas from Greg.
143 (pass, fail, expect-failure, expect-failure-if,
144 expect-failure-if*, catch-test-errors, catch-test-errors*,
145 expected-failure-fluid, pessimist?): Removed.
147 (run-test, expect-fail, result-tags, important-result-tags):
150 (report, make-count-reporter, print-counts, make-log-reporter,
151 full-reporter, user-reporter): Reporters take two mandatory
152 arguments and make use of the tag descriptions in result-tags and
153 important-result-tags.
155 * tests/alist.test, tests/hooks.test, tests/ports.test,
156 tests/weaks.test: Don't use catch-test-errors and
159 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
161 * mambo.test: Removed dummy file.
163 2000-03-31 Gary Houston <ghouston@arglist.com>
165 * tests/ports.test (non-blocking-I/O): a couple more details:
166 a) combine the O_NONBLOCK flag with the default flags instead
167 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
169 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
171 * lib.scm: Doc fixes.
173 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
175 * paths.scm: Assume that ~/guile-core/test-suite is the location
176 of the test suite now.
178 * tests/version.test: Added -- version.c had 0% coverage before,
181 * tests/chars.test: Added -- needed test of char-is-both?.
183 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
185 * tests/weaks.test, tests/hooks.test: Added.
187 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
189 * tests/alist.test: Added.
191 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
193 * tests/c-api.test: Refine the list of files that are checked in
194 the seek-offset-test. Was just using files that end in "c", but
195 that caught the new ".doc" files, too, so make sure that files end
196 in ".c" before requiring that they include unistd.h if they
197 reference SEEK_(SET|CUR|END).
199 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
201 * tests/ports.test ("string ports"): test seeking/unreading from
202 an input string and seeking an output string.
204 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
206 * tests/ports.test: in seek/tell test on input port, also test
207 that ftell doesn't discard unread chars.
209 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
211 * tests/ports.test: add seek/tell tests for unidirectional ports.
213 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
215 * tests/reader.test: Check that number->string checks its radix
218 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
220 * tests/ports.test: Check that our input functions cope when
221 current-input-port is closed.
223 * tests/regexp.test: Check regexp-substitute/global when there are
226 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
228 * tests/c-api.test: New file. Add test to check that all source
229 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
231 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
233 * tests/ports.test: test non-blocking I/O.
235 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
237 * tests/strings.test: Add test for substring-move! argument checking.
239 * lib.scm (signals-error?, signals-error?*): New macro and function.
240 * tests/reader.test: Use them.
242 * tests/interp.test: Add copyright notice.
244 * tests/reader.test: New test file.
246 * tests/regexp.test: New test file.
248 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
250 * tests/interp.test: Added tests for evaluation of closure bodies.
252 1999-09-03 James Blandy <jimb@mule.m17n.org>
254 * tests/multilingual.nottest: New file, which we will turn into a
255 test file once we actually have multilingual support to test.
257 * tests/load.test: New test file.
259 1999-08-30 James Blandy <jimb@mule.m17n.org>
261 * tests/strings.test: New test file.
263 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
265 * tests/ports.test: test unread-char and unread-string.
267 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
269 * tests/ports.test: test line-buffering of fports.
271 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
273 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
275 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
277 * tests/ports.test: lseek -> seek.
279 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
281 * tests/ports.test: tests for buffered and unbuffered input/output
284 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
286 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
287 corresponds to an example object, not a predicate. Aubrey
288 probably never noticed this because SCM doesn't check the lengths
289 of the arguments to for-each and map...
291 * tests/ports.test: Add some regression tests for char-ready?.
293 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
295 * tests/ports.test: Fix copyright years.
297 * tests/guardians.test: New test file.
299 * tests/ports.test ("read-delimited!"): New tests.
301 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
303 * tests/interp.test: New file.
305 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
307 * tests/time.test: New test file.
309 * tests/r4rs.test: New set of tests, taken from Guile's test
310 script, taken from SCM.
312 * tests/ports.test: Group the string port tests under a new
315 * tests/ports.test ("line counter"): Check the final column, too.
317 * lib.scm: Import (test-suite paths).
318 (data-file): New exported function.
320 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
322 * tests/ports.test ("line counter"): Add test for correct column
325 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
327 * tests/ports.test ("line counter"): Verify that we do eventually
328 get EOF on the port --- don't just read forever.
330 * lib.scm (full-reporter): The test name is the cadr of the
331 result, not the cdr. I'm not macho enough to handle run-time
334 * lib.scm (print-counts): XFAILS are "expected failures", not
335 "unexpected failures."
337 * lib.scm, guile-test, paths.scm: Log begins.