(scm_angle): Use scm_flo0 for non-negative inum, bignum and real.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
b1c04fe8
KR
12003-07-18 Kevin Ryde <user42@zip.com.au>
2
3 * tests/numbers.test (*): Add complex/bignum test.
4
e7cc532b
KR
52003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
6
7 * tests/srfi-1.test (partition): Add tests.
8
e5a74c26
KR
92003-07-08 Kevin Ryde <user42@zip.com.au>
10
005d2366
KR
11 * tests/numbers.test (make-polar, magnitude): New tests.
12
e5a74c26 13 * tests/srfi-1.test (delete, delete!): Add more tests.
005d2366 14 (delete-duplicates, delete-duplicates!): New tests.
e5a74c26 15
1ebb8497
KR
162003-06-21 Kevin Ryde <user42@zip.com.au>
17
18 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
19 tests.
20
996acdb8
KR
212003-06-19 Kevin Ryde <user42@zip.com.au>
22
23 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
24 * tests/threads.test: New file, exercising parallel.
25 * Makefile.am (SCM_TESTS): Add them.
26
f2478375
KR
272003-06-07 Kevin Ryde <user42@zip.com.au>
28
29 * tests/srfi-6.test: New file.
d4d694b6 30 * Makefile.am (SCM_TESTS): Add it.
f2478375 31
f5c6ec2f
DH
322003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
33
34 * tests/chars.test: Fixed test comment. The bug that this test
35 detects was actually introduced by my patch from 2003-05-31.
36
47dbd81e
DH
372003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
38
39 * tests/chars.test: Added test, attempting to apply a character.
40 This test will only pass if the other changes that are submitted
41 together with this patch are also applied.
42
e418bd7c
KR
432003-06-05 Kevin Ryde <user42@zip.com.au>
44
45 * tests/numbers.test (logcount): Add a few more tests, to exercise
46 recent scm_logcount change.
47
48 * tests/reader.test (reading): Test bad # error message is formattable.
49
e757438d
DH
502003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
51
52 * tests/pairs.test: Added.
53
7673cf68
DH
542003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
55
56 * tests/vectors.test: Added.
57
6d63297b
DH
582003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
59
60 * tests/guardians.test: Uses module (ice-9 weak-vector).
61
e46083d5
DH
622003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
63
64 * lib.scm: Documented the short form for pass-if and expect-fail.
65
66 (pass-if, expect-fail): Simplified.
67
c47e2599
KR
682003-05-30 Kevin Ryde <user42@zip.com.au>
69
70 * tests/numbers.test (max, min): Add tests involving NaNs.
71
2e945bcc
SJ
722003-05-29 Stefan Jahn <stefan@lkcc.org>
73
74 * standalone/Makefile.am: Setup to build on mingw32.
75
42ad901d
DH
762003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
77
78 * tests/elisp.test: Added missing quote around vector constants.
79
ddd8f927
DH
802003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
81
82 * tests/r5rs_pitfall.test: Test 2.1 now passes.
83
59e42631
KR
842003-05-13 Kevin Ryde <user42@zip.com.au>
85
86 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
87 combinations.
88
89 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
90
9c8721b5
KR
912003-05-10 Kevin Ryde <user42@zip.com.au>
92
4f3deff4
KR
93 * tests/numbers.test (=, <): Add tests involving NaNs.
94
95 * tests/numbers.test (integer-length): Exercise some negatives, in
96 particular -2^n which is ...11100..00.
97
98 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
99 fitting a ulong.
100
9c8721b5
KR
101 * tests/srfi-1.test: New file, exercising take and drop.
102 * Makefile.am (SCM_TESTS): Add it.
103
d963e93f
KR
1042003-05-06 Kevin Ryde <user42@zip.com.au>
105
106 * tests/numbers.test (-): Add test for negative inum subtract bignum.
107 (logcount): New tests, exercising some negatives.
108
1b965c29
MV
1092003-05-03 Marius Vollmer <mvo@zagadka.de>
110
111 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
112 pointing us to these tests.
113
a1a5dfa8
NJ
1142003-04-30 Neil Jerram <neil@ossau.uklinux.net>
115
116 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
117
118 * tests/srfi-34.test: New file.
119
4dce3c96
DH
1202003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
121
122 * tests/syntax.test: Modified some tests to use eval when
123 providing bad syntax. Otherwise, the memoizer will report an
124 error immediately after reading the form, without even the chance
125 to get the pass-if-exception mechanism started.
126
9247b5bc
DH
1272003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
128
129 * tests/guardians.test: Added some more elaborate and
130 sophisticated tests for the guardian functionality.
131
d339981a
DH
1322003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
133
134 * tests/sort.test: Added. Both tests in that file did fail (one
135 even with a segfault) with CVS guile before the recent changes to
136 sort.c.
137
57b1d518
MD
1382003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
139
140 * tests/goops.test: Added tests for correctness of class
47cd67db
MD
141 precedence list in all basic classes and tests for eqv? and
142 equal?.
57b1d518 143
58241edc
MD
1442003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
145
146 * tests/goops.test: Added tests for class redefinition, object
147 update and active slots.
148
50d64f0d
RB
1492003-04-14 Rob Browning <rlb@defaultvalue.org>
150
151 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
152 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
153
154 * standalone/Makefile.am: change from .c.x to .x to be consistent
155 with the rest of guile.
156
dff96e95
HWN
1572003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
158
159 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
160 instead of INCLUDES
161
07921c76
RB
1622003-04-07 Rob Browning <rlb@defaultvalue.org>
163
164 * Makefile.am (SUBDIRS): add standalone.
165
166 * guile-test: added "Running test FOO" output by default. There
167 may be a good reason to remove this, but the output can be helpful
168 in determining where a failure occurred.
169
170 * standalone/test-num2integral.c: new test -- one new regression
171 check.
172
173 * standalone/test-gh.c: new test code (migrated from
174 tests/c-api/) -- a trivial start.
175
176 * standalone/test-asmobs-lib.c: new test script (migrated from
177 tests/asmobs/).
178
179 * standalone/test-asmobs: new test script.
180
181 * standalone/README: new file.
182
183 * standalone/Makefile.am: new file.
184
185 * standalone/.cvsignore: new file.
186
187 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
188
189 * tests/asmobs/README: removed (functionality is now in standalone/).
190
191 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
192 standalone/).
193
194 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
195
196 * tests/asmobs/: removed (functionality is now in standalone/).
197
198 * tests/c-api/strings.c: add a note to the source about this code
199 being unused.
200
73be1d9e
MV
2012003-04-05 Marius Vollmer <mvo@zagadka.de>
202
203 * Changed license terms to the plain LGPL thru-out.
204
122cf9a5
RB
2052003-03-24 Rob Browning <rlb@defaultvalue.org>
206
207 * tests/numbers.test: added tests (some simple) for various funcs.
208 ("odd?"): added tests.
209 ("even?"): added tests.
210 ("nan?"): added tests.
211 ("abs"): added tests.
212 ("lcm"): added tests.
213 ("number->string"): added tests.
214 ("number?"): added tests.
215 ("complex?"): added tests.
216 ("real?"): added tests.
217 ("rational?"): added tests.
218 ("integer?"): added tests.
219 ("inexact?"): added tests.
220 ("="): added tests.
221 ("zero?"): added tests.
222 ("positive?"): added tests.
223 ("negative?"): added tests.
224
225 * lib.scm (pass-if): allow really simple tests where the test code
226 is also the name like (pass-if (even? 2)).
227 (expect-fail): allow really simple tests where the test code is
228 also the test name like (expect-fail (even? 2)).
229
b80e1b5c
MV
2302003-03-19 Marius Vollmer <mvo@zagadka.de>
231
232 * tests/format.test ("format basic output"): Added test for "~F"
233 from Matthias Koeppe.
234
cbbeea66
MD
2352003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
236
237 * tests/elisp.test: Use module (ice-9 weak-vector).
238
239 * tests/weaks.test: Use module (ice-9 weak-vector).
240
b2cbe8d8
RB
2412002-12-08 Rob Browning <rlb@defaultvalue.org>
242
243 * tests/version.test: test (effective-version).
244
d2864c8a
NJ
2452002-11-06 Neil Jerram <neil@ossau.uklinux.net>
246
247 * tests/options.test: New.
248
9bc54879
RB
2492002-10-04 Rob Browning <rlb@defaultvalue.org>
250
251 * tests/numbers.test ("expt"): add tests.
252
6b61da18
MV
2532002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
254
255 * Makefile.am (dist-hook): Do not distribute CVS directories.
256 Thanks to Greg Troxel!
257
ba1b2226
HWN
2582002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
259
260 * tests/reader.test: change misc-error in read-error.
261
33e04d54
DH
2622002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
263
264 * tests/goops.test: Added tests for define-generic and
265 define-accessor.
266
9f045403
DH
2672002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
268
269 * tests/goops.test: Added tests for define-class.
270
1ee34062
MV
2712002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
272
273 * tests/numbers.test (/): Expect divison by an inexact zero to
274 yield +inf.0.
275
45845efe
MV
2762002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
277
2a7461f5
MV
278 * tests/regexp.test (regexp-substitute/global): Do not test with
279 empty regexp. Empty regexps do not work on NetBSD.
280
45845efe
MV
281 * tests/syncase.test (basic syncase macro): Added.
282
54d4ac1f
MV
2832002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
284
285 * tests/srfi-13.test (string-tokenize): Updated for fixed
286 semantics.
287
3c540af4
MV
2882002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
289
290 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
291 directories manually.
292
ecb471f9
TTN
2932002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
294
295 * guile-test (main): Handle `--flag-unresolved'. No longer set
296 exit value to #f unconditionally on UNRESOLVED results.
e383ab49 297 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
ecb471f9 298
a64e6669
NJ
2992002-02-08 Neil Jerram <neil@ossau.uklinux.net>
300
301 * tests/elisp.test: Add tests of Elisp expression evaluation.
302
bbd26b5a
NJ
3032002-01-25 Neil Jerram <neil@ossau.uklinux.net>
304
305 * tests/load.test: New test; for search-path with Elisp
306 nil-terminated lists for PATH and EXTENSIONS.
307
308 * tests/elisp.test: More tests for Scheme primitives that should
309 accept Elisp nil-terminated lists.
310
962b1f0b
NJ
3112002-01-24 Neil Jerram <neil@ossau.uklinux.net>
312
313 * tests/elisp.test: More new tests for the Elisp nil value.
314
04bb321a
NJ
3152002-01-22 Neil Jerram <neil@ossau.uklinux.net>
316
317 * Makefile.am (SCM_TESTS): Added elisp.test.
318
319 * tests/elisp.test: New file.
320
80074d77
DH
3212001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
322
323 * tests/numbers.test: Added more division by zero tests.
324
1b3a7932
DH
3252001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
326
327 * tests/numbers.test: Added division by zero tests.
328
7171f1ab
DH
3292001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
330
331 * tests/syntax.test: Added some tests, updated some others with
332 respect to recent changes in eval.c. Further, extracted test
333 cases for guile's extended set! functionality to srfi-17.test.
334
335 * tests/srfi-17.test: New file.
336
8f99e3f3
SJ
3372001-11-04 Stefan Jahn <stefan@lkcc.org>
338
339 * tests/ports.test: Run (close-port) before (delete-file) if
340 necessary/advisory.
341
2b6b5908
DH
3422001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
343
344 * tests/eval.test: Added tests for promises.
345
1a179b03
MD
3462001-10-21 Mikael Djurfeldt <mdj@linnaeus>
347
348 * lib.scm: Move module the system directives `export',
349 `export-syntax', `re-export' and `re-export-syntax' into the
350 `define-module' form. This is the recommended way of exporting
351 bindings.
352
b461abe7
DH
3532001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
354
355 * tests/syntax.test: Added test cases for 'cond =>' syntax with
356 else clause. Changed some tests and comments related to the
357 'case' form to reflect recent changes in the implementation.
358
ea6c2147
DH
3592001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
360
361 * tests/syntax.test: Added test cases for 'lambda' syntax.
362
27a22666
DH
3632001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
364
365 * tests/syntax.test: Added test cases for 'case' syntax.
366
b7d9b1cf
DH
3672001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
368
369 * tests/numbers.test: Added a test case that checks if valid
370 number strings are transformed correctly by string->number.
371
0b073f0f
RB
3722001-09-21 Rob Browning <rlb@defaultvalue.org>
373
374 * tests/numbers.test (fixnum-bit): compute dynamically.
375
376 * tests/bit-operations.test (fixnum-bit): compute dynamically.
377
95e2cd37
TTN
3782001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
379
380 * tests/getopt-long.test ("apples-blimps-catalexis example",
381 "multiple occurances"): New top-level sections.
382
569c483b
DH
3832001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
384
385 * tests/numbers.test: Made some of the patterns better readable.
386
6fdad5dc
TTN
3872001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
388
389 * tests/srfi-19.test (test-time-comparision,
390 test-time-arithmatic): New procs.
391
392 Add time comparison tests using new procs.
393 Thanks to Alex Shinn.
394
b573e744
MV
3952001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
396
397 * tests/dynamic-scope.test: New file.
398
e9313ed7
TTN
3992001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
400
401 * tests/srfi-13.test (string-for-each, string-for-each-index):
402 Add tests. (Thanks to Alex Shinn.)
403
80fdeb4e
MD
4042001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
405
406 * tests/srfi-13.test (string-map): Swapped order of string and
407 proc args to conform with the srfi. (Thanks to Alex Shinn.)
408
c3597bc4
TTN
4092001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
410
411 * tests/getopt-long.test (exception:no-such-option,
412 exception:option-does-not-support-arg,
413 exception:option-must-be-specified,
414 exception:option-must-have-arg, exception:not-enough-args):
415 New vars.
416
417 ("option-ref", "required", "specified no value, given anyway",
418 "specified arg required"): New top-level sections.
419
2f4a254a
DH
4202001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
421
422 * tests/numbers.test: Added Some syntax tests for
423 string->number.
424
284774f3
MV
4252001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
426
427 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
428 "SCM_TESTS". This has special meaning to automake. How many
429 tries left to get this right, mvo?
430
5f099933
MV
4312001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
432
433 * Makefile.am (TESTS): List tests explicitely instead of using a
434 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
435
b754e3d1
MV
4362001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
437
438 * Makefile.am: New file, to control distribution of the
439 test-suite.
440
ed9ef462
TTN
4412001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
442
443 * tests/getopt-long.test: New file.
444
9b974335
TTN
4452001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
446
447 * lib.scm (run-test-exception): Add special handling for
448 `error'-generated exceptions, which pass key `misc-error' and
449 leave messages unformatted.
450
96e30d2a
MG
4512001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
452
453 * tests/alist.test, tests/bit-operations.test,
454 tests/common-list.test, tests/environments.test, tests/eval.test,
455 tests/gc.test, tests/hooks.test, tests/import.test,
456 tests/interp.test, tests/list.test, tests/load.test,
457 tests/numbers.test, tests/ports.test, tests/r4rs.test,
458 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
459 copyright notice.
460
072ad0fe
MG
4612001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
462
463 * tests/srfi-14.test: New file.
464
22647fef
MV
4652001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
466
467 * tests/import.test: New file.
468
bdd2c6f4
DH
4692001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
470
471 * tests/goops.test: Started with some real tests.
472
0e3817d7
DH
4732001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
474
475 * guile-test: Use module (ice-9 rdelim).
476
39cb0b04
MG
4772001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
478
479 * tests/srfi-4.test: New file.
480
eb6c2de8
MV
4812001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
482
483