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