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