* Renamed GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
f764e6d1
MG
12001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
2
3 * tests/srfi-10.test: New file.
4
5 * tests/srfi-9.test: New file.
6
7 * tests/srfi-13.test: Added some more tests.
8
bc47e084
TTN
92001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
10
11 * tests/eval.test: ("evaluator" "memoization"): New test
12 prefix block.
13 ("transparency"): New "evaluator memoization" test.
14
7cfbc4f7
MG
152001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
16
17 * tests/srfi-13.test: Added module access kludge, and uncommented
18 some tests depending on this.
19
df937d20
MG
202001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
21
22 * tests/srfi-13.test: New file testing the SRFI string library.
23
c685b42f
GH
242001-04-26 Gary Houston <ghouston@arglist.com>
25
26 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
27 have run.
28
29 * tests/ports.test (test-file), tests/load.test (temp-dir):
30 redefined using data-file-name instead of tmpnam. the test files
31 will be created in the build directory instead of /var/tmp or
32 whereever tmpnam puts them.
33
f5e64558
DH
342001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
35
36 * tests/symbols.c: Added some tests.
37
66301f9a
GH
382001-03-19 Gary Houston <ghouston@arglist.com>
39
40 * tests/r4rs.test: use test-file-name to locate r4rs.test,
41 not data-file-name.
42
43 * guile-test: define tmp-dir, the location where r4rs.test will
44 create it's temporary files.
45 (data-file-name): use tmp-dir. this must be under build-dir,
46 not src-dir.
47
51cfd7da
GH
482001-03-18 Gary Houston <ghouston@arglist.com>
49
50 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
51 first line.
bc47e084 52
e1a7b2ce
DH
532001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
54
55 * tests/syntax.test: Added a test for let* bindings and
56 re-arranged and slightly improved the existing one.
57
880c2858
MG
582001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
59
60 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
61 test, dups are allowed in `let*' and are now expected to pass.
62
8bc4547c
DH
632001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
64
65 * lib.scm (run-test-exception): Preserve the original error's
66 stack for re-throwing.
67
d19b0aac
MV
682001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
69
70 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
71 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
72 been fixed.
73
2fd945df
MV
742001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
75
97d41e3e
MV
76 * tests/syntax.test ("duplicate formals"): New category, move
77 appropriate tests here. Expect them to pass.
78 ("empty parentheses"): Expect to pass, bug has been fixed.
bc47e084 79
2fd945df
MV
80 * tests/alist.test: Use "'()" instead of "()" in all places
81 where the empty list is meant.
82
f29b3454
DH
832001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
84
08c608e1
DH
85 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
86 exported constants.
f29b3454 87
08c608e1
DH
88 * tests/r4rs.test: Make sure that no bindings for x and y exist
89 after the file is loaded.
90
91 * tests/syntax.test: New file.
92
93 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
94 Moved the test cases that are related to guile's syntactic forms
95 from tests/exceptions.test to tests/syntax.test. Moved tests
96 related to evaluation and application to tests/eval.test.
97
98 * tests/exceptions.test: Added some test cases that check guile's
99 exception handling.
100
1012001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
102
103 * tests/exceptions.test, tests/numbers.test: Moved the number
104 related test cases from tests/exceptions.test to
105 tests/numbers.test.
106
107 * tests/numbers.test: Added a test case.
f29b3454 108
049fa449
DH
1092001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
110
08c608e1 111 * tests/symbols.test: New file.
049fa449
DH
112
113 (exception:immutable-string): New constant. Currently, this is a
114 dummy since guile does not have immutable strings.
115
08c608e1
DH
116 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
117 Moved the string related test cases from tests/exceptions.test to
118 tests/strings.test and the symbol related test cases to
119 tests/symbols.test.
049fa449 120
08c608e1
DH
121 * tests/strings.test: Copyright notice updated. Added a couple
122 of test cases.
049fa449
DH
123
124 (exception:immutable-string): New constant. Currently, this is a
125 dummy since guile does not have immutable strings.
126
1b5b19c9
DH
1272001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
128
08c608e1
DH
129 * tests/exceptions.test: Use expect-fail-exception to indicate
130 test cases where exceptions should occur, but don't.
1b5b19c9
DH
131
132 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
133 exception:missing/extra-expr): New constants.
134
ef9709da
DH
1352001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
136
08c608e1
DH
137 * tests/reader.test, tests/exceptions.test: Moved the reader
138 related test cases from tests/exceptions.test to
139 tests/reader.test.
ef9709da 140
08c608e1
DH
141 * tests/reader.test (exception:eof, exception:unexpected-rparen):
142 New constants.
ef9709da 143
08c608e1 144 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
ef9709da
DH
145 Removed.
146
88f9ab70
DH
1472001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
148
149 * lib.scm (signals-error?, signals-error?*): Removed.
150
0bfa4a17
DH
1512001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
152
153 * lib.scm: Added comment about new convenience functions/macros
154 to test for exceptions.
155
156 (exception:out-of-range, exception:wrong-type-arg): New exported
157 constants.
158
159 (run-test-exception): New function.
160
161 (pass-if-exception, expect-fail-exception): New exported macros.
162
163 * tests/environments.test: Fixed tests that were checking for
164 exceptions when set!ing an unbound symbol.
165
166 (exception:unbound-symbol): New constant.
167
168 * tests/hooks.test (catch-error-returning-true, pass-if-not,
169 catch-error-returning-false), tests/weaks.test
170 (catch-error-returning-true, pass-if-not,
bc47e084 171 catch-error-returning-false): Removed. The macro pass-if-not was
0bfa4a17
DH
172 not used. The macro catch-error-returning-false is unnecessary
173 since exceptions are caught by the test-suite anyway. The
174 functionality of catch-error-returning-true is provided by the new
175 convenience macro pass-if-exception.
176
177 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
178 Maybe a standard wrong-num-arg exception should be thrown instead
179 of a misc-error?
180
181 * tests/reader.test (try-to-read): Replaced by read-string.
182
183 (read-string): New function.
184
185 * tests/alist.test, tests/environments.test, tests/eval.test,
186 tests/hooks.test, tests/list.test, tests/ports.test,
187 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
188 tests for exceptions with the new convenience macros.
189
9d372117
DH
1902001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
191
192 * tests/alist.test: Remove redundant test name prefix.
193
1942001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
5c96bc39
DH
195
196 * lib.scm (pass-if): Tests shall return a boolean value.
197
198 * tests/bit-operations.test (documented?), tests/common-list.test
199 (documented?), tests/environments.test (documented?),
200 tests/eval.test (documented?), tests/gc.test (documented?),
201 tests/numbers.test (documented?), tests/guardians.test,
202 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
203 that tests return a boolean value.
204
205 * tests/list.test (documented?): New function, replace all checks
206 for documentation with calls to this function.
207
ac6849ff
DH
2082001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
209
210 * lib.scm (data-file): Remove from export list.
211
8fbe6998
TTN
2122001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
213
5d7aab2e
TTN
214 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
215 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
216 (syntax reading): New section.
217 (syntax let*): New section.
218 (syntax letrec): New section.
219 (syntax set!): New section.
220 (syntax misc): New section.
221 (bindings unbound): New section.
222 (bindings immutable-modification): New section.
223 (bindings let): New section.
224 (bindings let*): New section.
225 (bindings letrec): New section.
226
8fbe6998
TTN
227 * tests/exceptions.test: New file.
228
548728ea
MV
2292001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
230
231 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
232 and-let*).
233
efb07c89
DH
2342001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
235
236 This patch fixes things that I have broken with the last one :-(
237
238 * guile-test (test-suite): New variable.
239
240 (data-file-name): New function. Has the same purpose as the
241 former function data-file from lib.scm. Moved here in order to
242 have all file name handling at the same place. In contrast to the
243 former 'data-file function, it is not checked whether a file
244 exists. This allows to use this function also for file names of
245 files that are still to be created.
246
247 (test-file-name): Use the global 'test-suite variable.
248
249 (main): Initialize 'test-suite instead of a local variable.
250
251 * lib.scm: Don't import paths any more.
252
253 (data-file): Removed. Resurrected with a sligtly different
254 functionality as 'data-file-name' in guile-test.
255
256 * r4rs.scm: For all references to temporary file, make use of
257 data-file-name.
258
1ff7abbe
DH
2592001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
260
261 The following patch was sent by Thien-Thi Nguyen and a little bit
262 modified by me.
263
264 * guile-test: Usage and installation comments improved. Added
265 support for --test-suite and --debug command line options.
266
267 (default-test-suite): Added to allow for simplified
268 configurability. No need to load the paths file any more.
269
270 (enable-debug-mode): New function. Will be called when the
271 --debug command line option is given.
272
273 (test-root): Removed. The test directory has to be fully given.
274 This allows for arbitrarily named test directories.
275
276 (test-file-name, enumerate-tets): Take the test directory as a
277 paramter instead of using the global variable 'test-root'.
278
279 (main): Handle the new command line options. Return an exit code
280 depending on whether all tests came out as expected.
281
282 * README: Updated.
283
284 * paths.scm: Removed.
285
22d35615
GH
2862001-01-24 Gary Houston <ghouston@arglist.com>
287
288 * tests/ports.test: include (ice-9 rdelim) module.
289
21e39e8f
DH
2902001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
291
292 * tests/numbers.test: Converted to do real boundary testing.
293
339bfe47
DH
2942001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
295
296 * tests/bit-operations.test: Added.
297
53a53bd7
DH
2982000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
299
300 * tests/gc.test: Added.
301
b3b8952a
DH
3022000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
303
304 * tests/strings.test: string=? is fixed.
305
daa6ba18
DH
3062000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
307
308 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
309
548b9252
DH
3102000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
311
312 * tests/strings.test: Added a test to help remember that string=?
313 and friends need fixing.
314
41505259
DH
3152000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
316
317 * tests/environments.test: For tests that rely on garbage
318 collection, conservative scanning can be a problem. Add a comment
319 for these tests and make them turn out unresolved if things don't
320 work as expected.
321
034b924f
DH
3222000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
323
324 * tests/environments.test: Finished and cleaned up the tests for
325 the leaf environments. Added a complete set of testcases for the
326 leaf environment based eval environments. Started with the tests
327 for the import environments.
328
5d3e2388
DH
3292000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
330
331 * tests/environments.test: Added.
332
6ad9007a
DH
3332000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
334
335 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
336 of expressions.
337
338 * tests/eval.test: Fix documentation test.
339
685c0d71
DH
3402000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
341
342 * tests/list.test: Added tests for list-ref, list-set! and
343 list-cdr-set!
344
e5d2c2fa
DH
3452000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
346
347 * tests/common-list.test: Added.
348
141443d7
DH
3492000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
350
351 * tests/eval.test: Added.
352
0a9e521f
MD
3532000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
354
355 * tests/list.test: Use cons* instead of list*.
356
1c4ae8de
MD
3572000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
358
359 * tests/numbers.test, tests/list.test: Updated for new
360 documentation module.
361
e11f8b42
DH
3622000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
363
364 * tests/hooks.test: make-hook-with-name is deprecated.
365
de142bea
DH
3662000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
367
368 * tests/list.test, tests/numbers.test: Added.
369
57e7f270
DH
3702000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
371
372 * guile-test: Eliminate use of catch-test-errors.
373
374 * lib.scm: Adopted a couple of nice ideas from Greg.
375
376 (pass, fail, expect-failure, expect-failure-if,
377 expect-failure-if*, catch-test-errors, catch-test-errors*,
378 expected-failure-fluid, pessimist?): Removed.
379
380 (run-test, expect-fail, result-tags, important-result-tags):
381 Added.
382
383 (report, make-count-reporter, print-counts, make-log-reporter,
384 full-reporter, user-reporter): Reporters take two mandatory
385 arguments and make use of the tag descriptions in result-tags and
386 important-result-tags.
387
388 * tests/alist.test, tests/hooks.test, tests/ports.test,
389 tests/weaks.test: Don't use catch-test-errors and
390 expect-failure-if.
391
b2e37c5a
DH
3922000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
393
394 * mambo.test: Removed dummy file.
395
47a4dcc5
GH
3962000-03-31 Gary Houston <ghouston@arglist.com>
397
398 * tests/ports.test (non-blocking-I/O): a couple more details:
399 a) combine the O_NONBLOCK flag with the default flags instead
400 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
401
33cd325f
JB
4022000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
403
404 * lib.scm: Doc fixes.
405
153511a7
GB
406Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
407
408 * paths.scm: Assume that ~/guile-core/test-suite is the location
409 of the test suite now.
410
411 * tests/version.test: Added -- version.c had 0% coverage before,
412 now at 100%.
413
414 * tests/chars.test: Added -- needed test of char-is-both?.
415
15b08ebd
MD
4161999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
417
22efa996 418 * tests/weaks.test, tests/hooks.test: Added.
15b08ebd 419
807bfa83
MD
4201999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
421
422 * tests/alist.test: Added.
423
9fac976e
GB
424Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
425
426 * tests/c-api.test: Refine the list of files that are checked in
427 the seek-offset-test. Was just using files that end in "c", but
8fbe6998 428 that caught the new ".doc" files, too, so make sure that files end
9fac976e
GB
429 in ".c" before requiring that they include unistd.h if they
430 reference SEEK_(SET|CUR|END).
431
2d9e5bca
GH
4321999-10-24 Gary Houston <ghouston@freewire.co.uk>
433
434 * tests/ports.test ("string ports"): test seeking/unreading from
435 an input string and seeking an output string.
436
22a92623
GH
4371999-10-20 Gary Houston <ghouston@freewire.co.uk>
438
439 * tests/ports.test: in seek/tell test on input port, also test
440 that ftell doesn't discard unread chars.
441
4fcd6551
GH
4421999-10-18 Gary Houston <ghouston@freewire.co.uk>
443
444 * tests/ports.test: add seek/tell tests for unidirectional ports.
445
e59373d6
JB
4461999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
447
448 * tests/reader.test: Check that number->string checks its radix
449 properly.
8fbe6998 450
d033ad53
JB
4511999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
452
65b57e21
JB
453 * tests/ports.test: Check that our input functions cope when
454 current-input-port is closed.
455
d033ad53
JB
456 * tests/regexp.test: Check regexp-substitute/global when there are
457 no matches. (Duh.)
458
8c592a93
MD
4591999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
460
461 * tests/c-api.test: New file. Add test to check that all source
462 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
463
6e822cce
GH
4641999-09-14 Gary Houston <ghouston@freewire.co.uk>
465
466 * tests/ports.test: test non-blocking I/O.
467
b142c81d
JB
4681999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
469
470 * tests/strings.test: Add test for substring-move! argument checking.
471
472 * lib.scm (signals-error?, signals-error?*): New macro and function.
473 * tests/reader.test: Use them.
474
475 * tests/interp.test: Add copyright notice.
476
477 * tests/reader.test: New test file.
478
479 * tests/regexp.test: New test file.
480
95912c4d
MD
4811999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
482
483 * tests/interp.test: Added tests for evaluation of closure bodies.
484
51357176
JB
4851999-09-03 James Blandy <jimb@mule.m17n.org>
486
487 * tests/multilingual.nottest: New file, which we will turn into a
488 test file once we actually have multilingual support to test.
489
490 * tests/load.test: New test file.
491
6658356f
JB
4921999-08-30 James Blandy <jimb@mule.m17n.org>
493
494 * tests/strings.test: New test file.
495
d1b143e9
GH
4961999-08-29 Gary Houston <ghouston@easynet.co.uk>
497
498 * tests/ports.test: test unread-char and unread-string.
499
0eb2e8cd
GH
5001999-08-19 Gary Houston <ghouston@easynet.co.uk>
501
502 * tests/ports.test: test line-buffering of fports.
503
7f214e60
GH
5041999-08-18 Gary Houston <ghouston@easynet.co.uk>
505
506 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
507
75efe453
GH
5081999-08-12 Gary Houston <ghouston@easynet.co.uk>
509
510 * tests/ports.test: lseek -> seek.
511
7c035009
GH
5121999-08-04 Gary Houston <ghouston@easynet.co.uk>
513
514 * tests/ports.test: tests for buffered and unbuffered input/output
515 fports with seeking.
516
769f054d
JB
5171999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
518
519 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
520 corresponds to an example object, not a predicate. Aubrey
521 probably never noticed this because SCM doesn't check the lengths
522 of the arguments to for-each and map...
523
524 * tests/ports.test: Add some regression tests for char-ready?.
525
a3bb43e5
JB
5261999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
527
769f054d
JB
528 * tests/ports.test: Fix copyright years.
529
530 * tests/guardians.test: New test file.
531
a3bb43e5
JB
532 * tests/ports.test ("read-delimited!"): New tests.
533
9bb7a7ef
JB
5341999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
535
536 * tests/interp.test: New file.
537
70c4c075
JB
5381999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
539
efcbc5eb
JB
540 * tests/time.test: New test file.
541
70c4c075
JB
542 * tests/r4rs.test: New set of tests, taken from Guile's test
543 script, taken from SCM.
544
545 * tests/ports.test: Group the string port tests under a new
546 test name prefix.
547
548 * tests/ports.test ("line counter"): Check the final column, too.
549
550 * lib.scm: Import (test-suite paths).
551 (data-file): New exported function.
552
5531999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
554
555 * tests/ports.test ("line counter"): Add test for correct column
556 at EOF.
557
30521685
JB
5581999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
559
e6c32806
JB
560 * tests/ports.test ("line counter"): Verify that we do eventually
561 get EOF on the port --- don't just read forever.
562
30521685
JB
563 * lib.scm (full-reporter): The test name is the cadr of the
564 result, not the cdr. I'm not macho enough to handle run-time
565 typechecking.
566
e6c32806
JB
567 * lib.scm (print-counts): XFAILS are "expected failures", not
568 "unexpected failures."
569
30521685
JB
570 * lib.scm, guile-test, paths.scm: Log begins.
571