*** empty log message ***
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
51cfd7da
GH
12001-03-18 Gary Houston <ghouston@arglist.com>
2
3 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
4 first line.
5
e1a7b2ce
DH
62001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
7
8 * tests/syntax.test: Added a test for let* bindings and
9 re-arranged and slightly improved the existing one.
10
880c2858
MG
112001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
12
13 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
14 test, dups are allowed in `let*' and are now expected to pass.
15
8bc4547c
DH
162001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
17
18 * lib.scm (run-test-exception): Preserve the original error's
19 stack for re-throwing.
20
d19b0aac
MV
212001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
22
23 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
24 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
25 been fixed.
26
2fd945df
MV
272001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
28
97d41e3e
MV
29 * tests/syntax.test ("duplicate formals"): New category, move
30 appropriate tests here. Expect them to pass.
31 ("empty parentheses"): Expect to pass, bug has been fixed.
32
2fd945df
MV
33 * tests/alist.test: Use "'()" instead of "()" in all places
34 where the empty list is meant.
35
f29b3454
DH
362001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
37
08c608e1
DH
38 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
39 exported constants.
f29b3454 40
08c608e1
DH
41 * tests/r4rs.test: Make sure that no bindings for x and y exist
42 after the file is loaded.
43
44 * tests/syntax.test: New file.
45
46 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
47 Moved the test cases that are related to guile's syntactic forms
48 from tests/exceptions.test to tests/syntax.test. Moved tests
49 related to evaluation and application to tests/eval.test.
50
51 * tests/exceptions.test: Added some test cases that check guile's
52 exception handling.
53
542001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
55
56 * tests/exceptions.test, tests/numbers.test: Moved the number
57 related test cases from tests/exceptions.test to
58 tests/numbers.test.
59
60 * tests/numbers.test: Added a test case.
f29b3454 61
049fa449
DH
622001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
63
08c608e1 64 * tests/symbols.test: New file.
049fa449
DH
65
66 (exception:immutable-string): New constant. Currently, this is a
67 dummy since guile does not have immutable strings.
68
08c608e1
DH
69 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
70 Moved the string related test cases from tests/exceptions.test to
71 tests/strings.test and the symbol related test cases to
72 tests/symbols.test.
049fa449 73
08c608e1
DH
74 * tests/strings.test: Copyright notice updated. Added a couple
75 of test cases.
049fa449
DH
76
77 (exception:immutable-string): New constant. Currently, this is a
78 dummy since guile does not have immutable strings.
79
1b5b19c9
DH
802001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
81
08c608e1
DH
82 * tests/exceptions.test: Use expect-fail-exception to indicate
83 test cases where exceptions should occur, but don't.
1b5b19c9
DH
84
85 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
86 exception:missing/extra-expr): New constants.
87
ef9709da
DH
882001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
89
08c608e1
DH
90 * tests/reader.test, tests/exceptions.test: Moved the reader
91 related test cases from tests/exceptions.test to
92 tests/reader.test.
ef9709da 93
08c608e1
DH
94 * tests/reader.test (exception:eof, exception:unexpected-rparen):
95 New constants.
ef9709da 96
08c608e1 97 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
ef9709da
DH
98 Removed.
99
88f9ab70
DH
1002001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
101
102 * lib.scm (signals-error?, signals-error?*): Removed.
103
0bfa4a17
DH
1042001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
105
106 * lib.scm: Added comment about new convenience functions/macros
107 to test for exceptions.
108
109 (exception:out-of-range, exception:wrong-type-arg): New exported
110 constants.
111
112 (run-test-exception): New function.
113
114 (pass-if-exception, expect-fail-exception): New exported macros.
115
116 * tests/environments.test: Fixed tests that were checking for
117 exceptions when set!ing an unbound symbol.
118
119 (exception:unbound-symbol): New constant.
120
121 * tests/hooks.test (catch-error-returning-true, pass-if-not,
122 catch-error-returning-false), tests/weaks.test
123 (catch-error-returning-true, pass-if-not,
124 catch-error-returning-false): Removed. The macro pass-if-not was
125 not used. The macro catch-error-returning-false is unnecessary
126 since exceptions are caught by the test-suite anyway. The
127 functionality of catch-error-returning-true is provided by the new
128 convenience macro pass-if-exception.
129
130 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
131 Maybe a standard wrong-num-arg exception should be thrown instead
132 of a misc-error?
133
134 * tests/reader.test (try-to-read): Replaced by read-string.
135
136 (read-string): New function.
137
138 * tests/alist.test, tests/environments.test, tests/eval.test,
139 tests/hooks.test, tests/list.test, tests/ports.test,
140 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
141 tests for exceptions with the new convenience macros.
142
9d372117
DH
1432001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
144
145 * tests/alist.test: Remove redundant test name prefix.
146
1472001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
5c96bc39
DH
148
149 * lib.scm (pass-if): Tests shall return a boolean value.
150
151 * tests/bit-operations.test (documented?), tests/common-list.test
152 (documented?), tests/environments.test (documented?),
153 tests/eval.test (documented?), tests/gc.test (documented?),
154 tests/numbers.test (documented?), tests/guardians.test,
155 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
156 that tests return a boolean value.
157
158 * tests/list.test (documented?): New function, replace all checks
159 for documentation with calls to this function.
160
ac6849ff
DH
1612001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
162
163 * lib.scm (data-file): Remove from export list.
164
8fbe6998
TTN
1652001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
166
5d7aab2e
TTN
167 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
168 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
169 (syntax reading): New section.
170 (syntax let*): New section.
171 (syntax letrec): New section.
172 (syntax set!): New section.
173 (syntax misc): New section.
174 (bindings unbound): New section.
175 (bindings immutable-modification): New section.
176 (bindings let): New section.
177 (bindings let*): New section.
178 (bindings letrec): New section.
179
8fbe6998
TTN
180 * tests/exceptions.test: New file.
181
548728ea
MV
1822001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
183
184 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
185 and-let*).
186
efb07c89
DH
1872001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
188
189 This patch fixes things that I have broken with the last one :-(
190
191 * guile-test (test-suite): New variable.
192
193 (data-file-name): New function. Has the same purpose as the
194 former function data-file from lib.scm. Moved here in order to
195 have all file name handling at the same place. In contrast to the
196 former 'data-file function, it is not checked whether a file
197 exists. This allows to use this function also for file names of
198 files that are still to be created.
199
200 (test-file-name): Use the global 'test-suite variable.
201
202 (main): Initialize 'test-suite instead of a local variable.
203
204 * lib.scm: Don't import paths any more.
205
206 (data-file): Removed. Resurrected with a sligtly different
207 functionality as 'data-file-name' in guile-test.
208
209 * r4rs.scm: For all references to temporary file, make use of
210 data-file-name.
211
1ff7abbe
DH
2122001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
213
214 The following patch was sent by Thien-Thi Nguyen and a little bit
215 modified by me.
216
217 * guile-test: Usage and installation comments improved. Added
218 support for --test-suite and --debug command line options.
219
220 (default-test-suite): Added to allow for simplified
221 configurability. No need to load the paths file any more.
222
223 (enable-debug-mode): New function. Will be called when the
224 --debug command line option is given.
225
226 (test-root): Removed. The test directory has to be fully given.
227 This allows for arbitrarily named test directories.
228
229 (test-file-name, enumerate-tets): Take the test directory as a
230 paramter instead of using the global variable 'test-root'.
231
232 (main): Handle the new command line options. Return an exit code
233 depending on whether all tests came out as expected.
234
235 * README: Updated.
236
237 * paths.scm: Removed.
238
22d35615
GH
2392001-01-24 Gary Houston <ghouston@arglist.com>
240
241 * tests/ports.test: include (ice-9 rdelim) module.
242
21e39e8f
DH
2432001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
244
245 * tests/numbers.test: Converted to do real boundary testing.
246
339bfe47
DH
2472001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
248
249 * tests/bit-operations.test: Added.
250
53a53bd7
DH
2512000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
252
253 * tests/gc.test: Added.
254
b3b8952a
DH
2552000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
256
257 * tests/strings.test: string=? is fixed.
258
daa6ba18
DH
2592000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
260
261 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
262
548b9252
DH
2632000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
264
265 * tests/strings.test: Added a test to help remember that string=?
266 and friends need fixing.
267
41505259
DH
2682000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
269
270 * tests/environments.test: For tests that rely on garbage
271 collection, conservative scanning can be a problem. Add a comment
272 for these tests and make them turn out unresolved if things don't
273 work as expected.
274
034b924f
DH
2752000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
276
277 * tests/environments.test: Finished and cleaned up the tests for
278 the leaf environments. Added a complete set of testcases for the
279 leaf environment based eval environments. Started with the tests
280 for the import environments.
281
5d3e2388
DH
2822000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
283
284 * tests/environments.test: Added.
285
6ad9007a
DH
2862000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
287
288 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
289 of expressions.
290
291 * tests/eval.test: Fix documentation test.
292
685c0d71
DH
2932000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
294
295 * tests/list.test: Added tests for list-ref, list-set! and
296 list-cdr-set!
297
e5d2c2fa
DH
2982000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
299
300 * tests/common-list.test: Added.
301
141443d7
DH
3022000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
303
304 * tests/eval.test: Added.
305
0a9e521f
MD
3062000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
307
308 * tests/list.test: Use cons* instead of list*.
309
1c4ae8de
MD
3102000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
311
312 * tests/numbers.test, tests/list.test: Updated for new
313 documentation module.
314
e11f8b42
DH
3152000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
316
317 * tests/hooks.test: make-hook-with-name is deprecated.
318
de142bea
DH
3192000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
320
321 * tests/list.test, tests/numbers.test: Added.
322
57e7f270
DH
3232000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
324
325 * guile-test: Eliminate use of catch-test-errors.
326
327 * lib.scm: Adopted a couple of nice ideas from Greg.
328
329 (pass, fail, expect-failure, expect-failure-if,
330 expect-failure-if*, catch-test-errors, catch-test-errors*,
331 expected-failure-fluid, pessimist?): Removed.
332
333 (run-test, expect-fail, result-tags, important-result-tags):
334 Added.
335
336 (report, make-count-reporter, print-counts, make-log-reporter,
337 full-reporter, user-reporter): Reporters take two mandatory
338 arguments and make use of the tag descriptions in result-tags and
339 important-result-tags.
340
341 * tests/alist.test, tests/hooks.test, tests/ports.test,
342 tests/weaks.test: Don't use catch-test-errors and
343 expect-failure-if.
344
b2e37c5a
DH
3452000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
346
347 * mambo.test: Removed dummy file.
348
47a4dcc5
GH
3492000-03-31 Gary Houston <ghouston@arglist.com>
350
351 * tests/ports.test (non-blocking-I/O): a couple more details:
352 a) combine the O_NONBLOCK flag with the default flags instead
353 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
354
33cd325f
JB
3552000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
356
357 * lib.scm: Doc fixes.
358
153511a7
GB
359Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
360
361 * paths.scm: Assume that ~/guile-core/test-suite is the location
362 of the test suite now.
363
364 * tests/version.test: Added -- version.c had 0% coverage before,
365 now at 100%.
366
367 * tests/chars.test: Added -- needed test of char-is-both?.
368
15b08ebd
MD
3691999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
370
22efa996 371 * tests/weaks.test, tests/hooks.test: Added.
15b08ebd 372
807bfa83
MD
3731999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
374
375 * tests/alist.test: Added.
376
9fac976e
GB
377Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
378
379 * tests/c-api.test: Refine the list of files that are checked in
380 the seek-offset-test. Was just using files that end in "c", but
8fbe6998 381 that caught the new ".doc" files, too, so make sure that files end
9fac976e
GB
382 in ".c" before requiring that they include unistd.h if they
383 reference SEEK_(SET|CUR|END).
384
2d9e5bca
GH
3851999-10-24 Gary Houston <ghouston@freewire.co.uk>
386
387 * tests/ports.test ("string ports"): test seeking/unreading from
388 an input string and seeking an output string.
389
22a92623
GH
3901999-10-20 Gary Houston <ghouston@freewire.co.uk>
391
392 * tests/ports.test: in seek/tell test on input port, also test
393 that ftell doesn't discard unread chars.
394
4fcd6551
GH
3951999-10-18 Gary Houston <ghouston@freewire.co.uk>
396
397 * tests/ports.test: add seek/tell tests for unidirectional ports.
398
e59373d6
JB
3991999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
400
401 * tests/reader.test: Check that number->string checks its radix
402 properly.
8fbe6998 403
d033ad53
JB
4041999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
405
65b57e21
JB
406 * tests/ports.test: Check that our input functions cope when
407 current-input-port is closed.
408
d033ad53
JB
409 * tests/regexp.test: Check regexp-substitute/global when there are
410 no matches. (Duh.)
411
8c592a93
MD
4121999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
413
414 * tests/c-api.test: New file. Add test to check that all source
415 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
416
6e822cce
GH
4171999-09-14 Gary Houston <ghouston@freewire.co.uk>
418
419 * tests/ports.test: test non-blocking I/O.
420
b142c81d
JB
4211999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
422
423 * tests/strings.test: Add test for substring-move! argument checking.
424
425 * lib.scm (signals-error?, signals-error?*): New macro and function.
426 * tests/reader.test: Use them.
427
428 * tests/interp.test: Add copyright notice.
429
430 * tests/reader.test: New test file.
431
432 * tests/regexp.test: New test file.
433
95912c4d
MD
4341999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
435
436 * tests/interp.test: Added tests for evaluation of closure bodies.
437
51357176
JB
4381999-09-03 James Blandy <jimb@mule.m17n.org>
439
440 * tests/multilingual.nottest: New file, which we will turn into a
441 test file once we actually have multilingual support to test.
442
443 * tests/load.test: New test file.
444
6658356f
JB
4451999-08-30 James Blandy <jimb@mule.m17n.org>
446
447 * tests/strings.test: New test file.
448
d1b143e9
GH
4491999-08-29 Gary Houston <ghouston@easynet.co.uk>
450
451 * tests/ports.test: test unread-char and unread-string.
452
0eb2e8cd
GH
4531999-08-19 Gary Houston <ghouston@easynet.co.uk>
454
455 * tests/ports.test: test line-buffering of fports.
456
7f214e60
GH
4571999-08-18 Gary Houston <ghouston@easynet.co.uk>
458
459 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
460
75efe453
GH
4611999-08-12 Gary Houston <ghouston@easynet.co.uk>
462
463 * tests/ports.test: lseek -> seek.
464
7c035009
GH
4651999-08-04 Gary Houston <ghouston@easynet.co.uk>
466
467 * tests/ports.test: tests for buffered and unbuffered input/output
468 fports with seeking.
469
769f054d
JB
4701999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
471
472 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
473 corresponds to an example object, not a predicate. Aubrey
474 probably never noticed this because SCM doesn't check the lengths
475 of the arguments to for-each and map...
476
477 * tests/ports.test: Add some regression tests for char-ready?.
478
a3bb43e5
JB
4791999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
480
769f054d
JB
481 * tests/ports.test: Fix copyright years.
482
483 * tests/guardians.test: New test file.
484
a3bb43e5
JB
485 * tests/ports.test ("read-delimited!"): New tests.
486
9bb7a7ef
JB
4871999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
488
489 * tests/interp.test: New file.
490
70c4c075
JB
4911999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
492
efcbc5eb
JB
493 * tests/time.test: New test file.
494
70c4c075
JB
495 * tests/r4rs.test: New set of tests, taken from Guile's test
496 script, taken from SCM.
497
498 * tests/ports.test: Group the string port tests under a new
499 test name prefix.
500
501 * tests/ports.test ("line counter"): Check the final column, too.
502
503 * lib.scm: Import (test-suite paths).
504 (data-file): New exported function.
505
5061999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
507
508 * tests/ports.test ("line counter"): Add test for correct column
509 at EOF.
510
30521685
JB
5111999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
512
e6c32806
JB
513 * tests/ports.test ("line counter"): Verify that we do eventually
514 get EOF on the port --- don't just read forever.
515
30521685
JB
516 * lib.scm (full-reporter): The test name is the cadr of the
517 result, not the cdr. I'm not macho enough to handle run-time
518 typechecking.
519
e6c32806
JB
520 * lib.scm (print-counts): XFAILS are "expected failures", not
521 "unexpected failures."
522
30521685
JB
523 * lib.scm, guile-test, paths.scm: Log begins.
524