* Moved the number related tests from exceptions.test to numbers.test.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
f29b3454
DH
12001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
2
3 * exceptions.test, numbers.test: Moved the number related test
4 cases from exceptions.test to numbers.test.
5
6 * numbers.test: Added a test case.
7
049fa449
DH
82001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
9
10 * symbols.test: New file.
11
12 (exception:immutable-string): New constant. Currently, this is a
13 dummy since guile does not have immutable strings.
14
15 * exceptions.test, strings.test, symbols.test: Moved the string
16 related test cases from exceptions.test to strings.test and the
17 symbol related test cases to symbols.test.
18
19 * strings.test: Copyright notice updated. Added a couple of test
20 cases.
21
22 (exception:immutable-string): New constant. Currently, this is a
23 dummy since guile does not have immutable strings.
24
1b5b19c9
DH
252001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
26
27 * exceptions.test: Use expect-fail-exception to indicate test
28 cases where exceptions should occur, but don't.
29
30 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
31 exception:missing/extra-expr): New constants.
32
ef9709da
DH
332001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
34
35 * reader.test, exceptions.test: Moved the reader related test
36 cases from exceptions.test to reader.test.
37
38 * reader.test (exception:eof, exception:unexpected-rparen): New
39 constants.
40
41 * exceptions.test (read-string, x:eof, x:unexpected-rparen):
42 Removed.
43
88f9ab70
DH
442001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
45
46 * lib.scm (signals-error?, signals-error?*): Removed.
47
0bfa4a17
DH
482001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
49
50 * lib.scm: Added comment about new convenience functions/macros
51 to test for exceptions.
52
53 (exception:out-of-range, exception:wrong-type-arg): New exported
54 constants.
55
56 (run-test-exception): New function.
57
58 (pass-if-exception, expect-fail-exception): New exported macros.
59
60 * tests/environments.test: Fixed tests that were checking for
61 exceptions when set!ing an unbound symbol.
62
63 (exception:unbound-symbol): New constant.
64
65 * tests/hooks.test (catch-error-returning-true, pass-if-not,
66 catch-error-returning-false), tests/weaks.test
67 (catch-error-returning-true, pass-if-not,
68 catch-error-returning-false): Removed. The macro pass-if-not was
69 not used. The macro catch-error-returning-false is unnecessary
70 since exceptions are caught by the test-suite anyway. The
71 functionality of catch-error-returning-true is provided by the new
72 convenience macro pass-if-exception.
73
74 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
75 Maybe a standard wrong-num-arg exception should be thrown instead
76 of a misc-error?
77
78 * tests/reader.test (try-to-read): Replaced by read-string.
79
80 (read-string): New function.
81
82 * tests/alist.test, tests/environments.test, tests/eval.test,
83 tests/hooks.test, tests/list.test, tests/ports.test,
84 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
85 tests for exceptions with the new convenience macros.
86
9d372117
DH
872001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
88
89 * tests/alist.test: Remove redundant test name prefix.
90
912001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
5c96bc39
DH
92
93 * lib.scm (pass-if): Tests shall return a boolean value.
94
95 * tests/bit-operations.test (documented?), tests/common-list.test
96 (documented?), tests/environments.test (documented?),
97 tests/eval.test (documented?), tests/gc.test (documented?),
98 tests/numbers.test (documented?), tests/guardians.test,
99 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
100 that tests return a boolean value.
101
102 * tests/list.test (documented?): New function, replace all checks
103 for documentation with calls to this function.
104
ac6849ff
DH
1052001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
106
107 * lib.scm (data-file): Remove from export list.
108
8fbe6998
TTN
1092001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
110
5d7aab2e
TTN
111 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
112 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
113 (syntax reading): New section.
114 (syntax let*): New section.
115 (syntax letrec): New section.
116 (syntax set!): New section.
117 (syntax misc): New section.
118 (bindings unbound): New section.
119 (bindings immutable-modification): New section.
120 (bindings let): New section.
121 (bindings let*): New section.
122 (bindings letrec): New section.
123
8fbe6998
TTN
124 * tests/exceptions.test: New file.
125
548728ea
MV
1262001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
127
128 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
129 and-let*).
130
efb07c89
DH
1312001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
132
133 This patch fixes things that I have broken with the last one :-(
134
135 * guile-test (test-suite): New variable.
136
137 (data-file-name): New function. Has the same purpose as the
138 former function data-file from lib.scm. Moved here in order to
139 have all file name handling at the same place. In contrast to the
140 former 'data-file function, it is not checked whether a file
141 exists. This allows to use this function also for file names of
142 files that are still to be created.
143
144 (test-file-name): Use the global 'test-suite variable.
145
146 (main): Initialize 'test-suite instead of a local variable.
147
148 * lib.scm: Don't import paths any more.
149
150 (data-file): Removed. Resurrected with a sligtly different
151 functionality as 'data-file-name' in guile-test.
152
153 * r4rs.scm: For all references to temporary file, make use of
154 data-file-name.
155
1ff7abbe
DH
1562001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
157
158 The following patch was sent by Thien-Thi Nguyen and a little bit
159 modified by me.
160
161 * guile-test: Usage and installation comments improved. Added
162 support for --test-suite and --debug command line options.
163
164 (default-test-suite): Added to allow for simplified
165 configurability. No need to load the paths file any more.
166
167 (enable-debug-mode): New function. Will be called when the
168 --debug command line option is given.
169
170 (test-root): Removed. The test directory has to be fully given.
171 This allows for arbitrarily named test directories.
172
173 (test-file-name, enumerate-tets): Take the test directory as a
174 paramter instead of using the global variable 'test-root'.
175
176 (main): Handle the new command line options. Return an exit code
177 depending on whether all tests came out as expected.
178
179 * README: Updated.
180
181 * paths.scm: Removed.
182
22d35615
GH
1832001-01-24 Gary Houston <ghouston@arglist.com>
184
185 * tests/ports.test: include (ice-9 rdelim) module.
186
21e39e8f
DH
1872001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
188
189 * tests/numbers.test: Converted to do real boundary testing.
190
339bfe47
DH
1912001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
192
193 * tests/bit-operations.test: Added.
194
53a53bd7
DH
1952000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
196
197 * tests/gc.test: Added.
198
b3b8952a
DH
1992000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
200
201 * tests/strings.test: string=? is fixed.
202
daa6ba18
DH
2032000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
204
205 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
206
548b9252
DH
2072000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
208
209 * tests/strings.test: Added a test to help remember that string=?
210 and friends need fixing.
211
41505259
DH
2122000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
213
214 * tests/environments.test: For tests that rely on garbage
215 collection, conservative scanning can be a problem. Add a comment
216 for these tests and make them turn out unresolved if things don't
217 work as expected.
218
034b924f
DH
2192000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
220
221 * tests/environments.test: Finished and cleaned up the tests for
222 the leaf environments. Added a complete set of testcases for the
223 leaf environment based eval environments. Started with the tests
224 for the import environments.
225
5d3e2388
DH
2262000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
227
228 * tests/environments.test: Added.
229
6ad9007a
DH
2302000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
231
232 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
233 of expressions.
234
235 * tests/eval.test: Fix documentation test.
236
685c0d71
DH
2372000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
238
239 * tests/list.test: Added tests for list-ref, list-set! and
240 list-cdr-set!
241
e5d2c2fa
DH
2422000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
243
244 * tests/common-list.test: Added.
245
141443d7
DH
2462000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
247
248 * tests/eval.test: Added.
249
0a9e521f
MD
2502000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
251
252 * tests/list.test: Use cons* instead of list*.
253
1c4ae8de
MD
2542000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
255
256 * tests/numbers.test, tests/list.test: Updated for new
257 documentation module.
258
e11f8b42
DH
2592000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
260
261 * tests/hooks.test: make-hook-with-name is deprecated.
262
de142bea
DH
2632000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
264
265 * tests/list.test, tests/numbers.test: Added.
266
57e7f270
DH
2672000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
268
269 * guile-test: Eliminate use of catch-test-errors.
270
271 * lib.scm: Adopted a couple of nice ideas from Greg.
272
273 (pass, fail, expect-failure, expect-failure-if,
274 expect-failure-if*, catch-test-errors, catch-test-errors*,
275 expected-failure-fluid, pessimist?): Removed.
276
277 (run-test, expect-fail, result-tags, important-result-tags):
278 Added.
279
280 (report, make-count-reporter, print-counts, make-log-reporter,
281 full-reporter, user-reporter): Reporters take two mandatory
282 arguments and make use of the tag descriptions in result-tags and
283 important-result-tags.
284
285 * tests/alist.test, tests/hooks.test, tests/ports.test,
286 tests/weaks.test: Don't use catch-test-errors and
287 expect-failure-if.
288
b2e37c5a
DH
2892000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
290
291 * mambo.test: Removed dummy file.
292
47a4dcc5
GH
2932000-03-31 Gary Houston <ghouston@arglist.com>
294
295 * tests/ports.test (non-blocking-I/O): a couple more details:
296 a) combine the O_NONBLOCK flag with the default flags instead
297 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
298
33cd325f
JB
2992000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
300
301 * lib.scm: Doc fixes.
302
153511a7
GB
303Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
304
305 * paths.scm: Assume that ~/guile-core/test-suite is the location
306 of the test suite now.
307
308 * tests/version.test: Added -- version.c had 0% coverage before,
309 now at 100%.
310
311 * tests/chars.test: Added -- needed test of char-is-both?.
312
15b08ebd
MD
3131999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
314
22efa996 315 * tests/weaks.test, tests/hooks.test: Added.
15b08ebd 316
807bfa83
MD
3171999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
318
319 * tests/alist.test: Added.
320
9fac976e
GB
321Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
322
323 * tests/c-api.test: Refine the list of files that are checked in
324 the seek-offset-test. Was just using files that end in "c", but
8fbe6998 325 that caught the new ".doc" files, too, so make sure that files end
9fac976e
GB
326 in ".c" before requiring that they include unistd.h if they
327 reference SEEK_(SET|CUR|END).
328
2d9e5bca
GH
3291999-10-24 Gary Houston <ghouston@freewire.co.uk>
330
331 * tests/ports.test ("string ports"): test seeking/unreading from
332 an input string and seeking an output string.
333
22a92623
GH
3341999-10-20 Gary Houston <ghouston@freewire.co.uk>
335
336 * tests/ports.test: in seek/tell test on input port, also test
337 that ftell doesn't discard unread chars.
338
4fcd6551
GH
3391999-10-18 Gary Houston <ghouston@freewire.co.uk>
340
341 * tests/ports.test: add seek/tell tests for unidirectional ports.
342
e59373d6
JB
3431999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
344
345 * tests/reader.test: Check that number->string checks its radix
346 properly.
8fbe6998 347
d033ad53
JB
3481999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
349
65b57e21
JB
350 * tests/ports.test: Check that our input functions cope when
351 current-input-port is closed.
352
d033ad53
JB
353 * tests/regexp.test: Check regexp-substitute/global when there are
354 no matches. (Duh.)
355
8c592a93
MD
3561999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
357
358 * tests/c-api.test: New file. Add test to check that all source
359 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
360
6e822cce
GH
3611999-09-14 Gary Houston <ghouston@freewire.co.uk>
362
363 * tests/ports.test: test non-blocking I/O.
364
b142c81d
JB
3651999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
366
367 * tests/strings.test: Add test for substring-move! argument checking.
368
369 * lib.scm (signals-error?, signals-error?*): New macro and function.
370 * tests/reader.test: Use them.
371
372 * tests/interp.test: Add copyright notice.
373
374 * tests/reader.test: New test file.
375
376 * tests/regexp.test: New test file.
377
95912c4d
MD
3781999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
379
380 * tests/interp.test: Added tests for evaluation of closure bodies.
381
51357176
JB
3821999-09-03 James Blandy <jimb@mule.m17n.org>
383
384 * tests/multilingual.nottest: New file, which we will turn into a
385 test file once we actually have multilingual support to test.
386
387 * tests/load.test: New test file.
388
6658356f
JB
3891999-08-30 James Blandy <jimb@mule.m17n.org>
390
391 * tests/strings.test: New test file.
392
d1b143e9
GH
3931999-08-29 Gary Houston <ghouston@easynet.co.uk>
394
395 * tests/ports.test: test unread-char and unread-string.
396
0eb2e8cd
GH
3971999-08-19 Gary Houston <ghouston@easynet.co.uk>
398
399 * tests/ports.test: test line-buffering of fports.
400
7f214e60
GH
4011999-08-18 Gary Houston <ghouston@easynet.co.uk>
402
403 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
404
75efe453
GH
4051999-08-12 Gary Houston <ghouston@easynet.co.uk>
406
407 * tests/ports.test: lseek -> seek.
408
7c035009
GH
4091999-08-04 Gary Houston <ghouston@easynet.co.uk>
410
411 * tests/ports.test: tests for buffered and unbuffered input/output
412 fports with seeking.
413
769f054d
JB
4141999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
415
416 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
417 corresponds to an example object, not a predicate. Aubrey
418 probably never noticed this because SCM doesn't check the lengths
419 of the arguments to for-each and map...
420
421 * tests/ports.test: Add some regression tests for char-ready?.
422
a3bb43e5
JB
4231999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
424
769f054d
JB
425 * tests/ports.test: Fix copyright years.
426
427 * tests/guardians.test: New test file.
428
a3bb43e5
JB
429 * tests/ports.test ("read-delimited!"): New tests.
430
9bb7a7ef
JB
4311999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
432
433 * tests/interp.test: New file.
434
70c4c075
JB
4351999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
436
efcbc5eb
JB
437 * tests/time.test: New test file.
438
70c4c075
JB
439 * tests/r4rs.test: New set of tests, taken from Guile's test
440 script, taken from SCM.
441
442 * tests/ports.test: Group the string port tests under a new
443 test name prefix.
444
445 * tests/ports.test ("line counter"): Check the final column, too.
446
447 * lib.scm: Import (test-suite paths).
448 (data-file): New exported function.
449
4501999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
451
452 * tests/ports.test ("line counter"): Add test for correct column
453 at EOF.
454
30521685
JB
4551999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
456
e6c32806
JB
457 * tests/ports.test ("line counter"): Verify that we do eventually
458 get EOF on the port --- don't just read forever.
459
30521685
JB
460 * lib.scm (full-reporter): The test name is the cadr of the
461 result, not the cdr. I'm not macho enough to handle run-time
462 typechecking.
463
e6c32806
JB
464 * lib.scm (print-counts): XFAILS are "expected failures", not
465 "unexpected failures."
466
30521685
JB
467 * lib.scm, guile-test, paths.scm: Log begins.
468