* Fixed things that I had broken with the last patch :-(
[bpt/guile.git] / test-suite / ChangeLog
1 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
2
3 This patch fixes things that I have broken with the last one :-(
4
5 * guile-test (test-suite): New variable.
6
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.
13
14 (test-file-name): Use the global 'test-suite variable.
15
16 (main): Initialize 'test-suite instead of a local variable.
17
18 * lib.scm: Don't import paths any more.
19
20 (data-file): Removed. Resurrected with a sligtly different
21 functionality as 'data-file-name' in guile-test.
22
23 * r4rs.scm: For all references to temporary file, make use of
24 data-file-name.
25
26 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
27
28 The following patch was sent by Thien-Thi Nguyen and a little bit
29 modified by me.
30
31 * guile-test: Usage and installation comments improved. Added
32 support for --test-suite and --debug command line options.
33
34 (default-test-suite): Added to allow for simplified
35 configurability. No need to load the paths file any more.
36
37 (enable-debug-mode): New function. Will be called when the
38 --debug command line option is given.
39
40 (test-root): Removed. The test directory has to be fully given.
41 This allows for arbitrarily named test directories.
42
43 (test-file-name, enumerate-tets): Take the test directory as a
44 paramter instead of using the global variable 'test-root'.
45
46 (main): Handle the new command line options. Return an exit code
47 depending on whether all tests came out as expected.
48
49 * README: Updated.
50
51 * paths.scm: Removed.
52
53 2001-01-24 Gary Houston <ghouston@arglist.com>
54
55 * tests/ports.test: include (ice-9 rdelim) module.
56
57 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
58
59 * tests/numbers.test: Converted to do real boundary testing.
60
61 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
62
63 * tests/bit-operations.test: Added.
64
65 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
66
67 * tests/gc.test: Added.
68
69 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
70
71 * tests/strings.test: string=? is fixed.
72
73 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
74
75 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
76
77 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
78
79 * tests/strings.test: Added a test to help remember that string=?
80 and friends need fixing.
81
82 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
83
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
87 work as expected.
88
89 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
90
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.
95
96 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
97
98 * tests/environments.test: Added.
99
100 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
101
102 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
103 of expressions.
104
105 * tests/eval.test: Fix documentation test.
106
107 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
108
109 * tests/list.test: Added tests for list-ref, list-set! and
110 list-cdr-set!
111
112 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
113
114 * tests/common-list.test: Added.
115
116 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
117
118 * tests/eval.test: Added.
119
120 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
121
122 * tests/list.test: Use cons* instead of list*.
123
124 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
125
126 * tests/numbers.test, tests/list.test: Updated for new
127 documentation module.
128
129 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
130
131 * tests/hooks.test: make-hook-with-name is deprecated.
132
133 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
134
135 * tests/list.test, tests/numbers.test: Added.
136
137 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
138
139 * guile-test: Eliminate use of catch-test-errors.
140
141 * lib.scm: Adopted a couple of nice ideas from Greg.
142
143 (pass, fail, expect-failure, expect-failure-if,
144 expect-failure-if*, catch-test-errors, catch-test-errors*,
145 expected-failure-fluid, pessimist?): Removed.
146
147 (run-test, expect-fail, result-tags, important-result-tags):
148 Added.
149
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.
154
155 * tests/alist.test, tests/hooks.test, tests/ports.test,
156 tests/weaks.test: Don't use catch-test-errors and
157 expect-failure-if.
158
159 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
160
161 * mambo.test: Removed dummy file.
162
163 2000-03-31 Gary Houston <ghouston@arglist.com>
164
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.
168
169 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
170
171 * lib.scm: Doc fixes.
172
173 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
174
175 * paths.scm: Assume that ~/guile-core/test-suite is the location
176 of the test suite now.
177
178 * tests/version.test: Added -- version.c had 0% coverage before,
179 now at 100%.
180
181 * tests/chars.test: Added -- needed test of char-is-both?.
182
183 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
184
185 * tests/weaks.test, tests/hooks.test: Added.
186
187 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
188
189 * tests/alist.test: Added.
190
191 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
192
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).
198
199 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
200
201 * tests/ports.test ("string ports"): test seeking/unreading from
202 an input string and seeking an output string.
203
204 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
205
206 * tests/ports.test: in seek/tell test on input port, also test
207 that ftell doesn't discard unread chars.
208
209 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
210
211 * tests/ports.test: add seek/tell tests for unidirectional ports.
212
213 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
214
215 * tests/reader.test: Check that number->string checks its radix
216 properly.
217
218 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
219
220 * tests/ports.test: Check that our input functions cope when
221 current-input-port is closed.
222
223 * tests/regexp.test: Check regexp-substitute/global when there are
224 no matches. (Duh.)
225
226 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
227
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.
230
231 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
232
233 * tests/ports.test: test non-blocking I/O.
234
235 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
236
237 * tests/strings.test: Add test for substring-move! argument checking.
238
239 * lib.scm (signals-error?, signals-error?*): New macro and function.
240 * tests/reader.test: Use them.
241
242 * tests/interp.test: Add copyright notice.
243
244 * tests/reader.test: New test file.
245
246 * tests/regexp.test: New test file.
247
248 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
249
250 * tests/interp.test: Added tests for evaluation of closure bodies.
251
252 1999-09-03 James Blandy <jimb@mule.m17n.org>
253
254 * tests/multilingual.nottest: New file, which we will turn into a
255 test file once we actually have multilingual support to test.
256
257 * tests/load.test: New test file.
258
259 1999-08-30 James Blandy <jimb@mule.m17n.org>
260
261 * tests/strings.test: New test file.
262
263 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
264
265 * tests/ports.test: test unread-char and unread-string.
266
267 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
268
269 * tests/ports.test: test line-buffering of fports.
270
271 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
272
273 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
274
275 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
276
277 * tests/ports.test: lseek -> seek.
278
279 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
280
281 * tests/ports.test: tests for buffered and unbuffered input/output
282 fports with seeking.
283
284 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
285
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...
290
291 * tests/ports.test: Add some regression tests for char-ready?.
292
293 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
294
295 * tests/ports.test: Fix copyright years.
296
297 * tests/guardians.test: New test file.
298
299 * tests/ports.test ("read-delimited!"): New tests.
300
301 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
302
303 * tests/interp.test: New file.
304
305 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
306
307 * tests/time.test: New test file.
308
309 * tests/r4rs.test: New set of tests, taken from Guile's test
310 script, taken from SCM.
311
312 * tests/ports.test: Group the string port tests under a new
313 test name prefix.
314
315 * tests/ports.test ("line counter"): Check the final column, too.
316
317 * lib.scm: Import (test-suite paths).
318 (data-file): New exported function.
319
320 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
321
322 * tests/ports.test ("line counter"): Add test for correct column
323 at EOF.
324
325 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
326
327 * tests/ports.test ("line counter"): Verify that we do eventually
328 get EOF on the port --- don't just read forever.
329
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
332 typechecking.
333
334 * lib.scm (print-counts): XFAILS are "expected failures", not
335 "unexpected failures."
336
337 * lib.scm, guile-test, paths.scm: Log begins.
338