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