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