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