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