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