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