guile/test-suite/ChangeLog

2052 lines
60 KiB
Text
Raw Normal View History

2005-06-12 12:35:35 +00:00
2005-06-12 Marius Vollmer <mvo@zagadka.de>
* standalone/test-gh.c: Do nothing when deprecated things are
disabled.
2005-06-11 01:48:19 +00:00
2005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
* tests/gc.test ("gc"): add a test to verify that modules are
garbage collected.
2005-06-10 22:39:33 +00:00
2005-06-11 Kevin Ryde <user42@zip.com.au>
* tests/srfi-13.test (string-filter): A few more tests.
2005-06-10 01:41:14 +00:00
2005-06-10 Kevin Ryde <user42@zip.com.au>
* tests/unif.test (array-index-map!): Add a test failing in the
current code.
2005-06-05 21:36:31 +00:00
2005-06-06 Kevin Ryde <user42@zip.com.au>
* tests/strings.test (string-split): Try splitting on an 8-bit char.
2005-06-05 21:38:22 +00:00
* tests/unif.test (array-in-bounds?): Add a test failing in the
current code.
2005-05-07 00:03:13 +00:00
2005-05-07 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (car+cdr, fold, last, list-index, list-tabulate,
not-pair?, xcons): New tests.
2005-05-03 23:27:48 +00:00
2005-05-04 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (break!, drop-right!, drop-while, eighth, fifth,
ninth, seventh, sixth, span!, take!, take-while, take-while!, tenth):
New tests.
2005-05-07 00:03:13 +00:00
* tests/unif.test (make-shared-array): Add failing case shared of
shared.
2005-04-29 23:24:08 +00:00
2005-04-30 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (/): Further tests.
2005-04-25 00:16:03 +00:00
2005-04-25 Kevin Ryde <user42@zip.com.au>
* tests/ramap.test (array-map!): Further tests.
2005-04-22 23:51:45 +00:00
2005-04-23 Kevin Ryde <user42@zip.com.au>
* tests/hash.test (hashx-remove!): New tests.
2005-04-23 00:07:17 +00:00
* tests/list.test (list, make-list, cons*): New tests.
2005-04-22 23:51:45 +00:00
2005-04-23 00:40:19 +00:00
* tests/numbers.test (numerator, denominator): New tests.
2005-04-23 00:17:33 +00:00
* tests/srfi-1.test (concatenate, concatenate!, count, filter-map,
lset-adjoin): More tests.
2005-04-13 23:59:29 +00:00
2005-04-14 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (1+, 1-): New tests.
2005-04-10 22:47:41 +00:00
2005-04-11 Kevin Ryde <user42@zip.com.au>
* tests/srfi-13.test (string-concatenate, string-concatenate/shared):
New tests.
2005-04-01 23:59:01 +00:00
2005-04-02 Kevin Ryde <user42@zip.com.au>
2005-04-02 00:39:12 +00:00
* tests/numbers.test (round): Add some fraction cases.
2005-04-01 23:59:01 +00:00
* tests/srfi-1.test (lset-union): More tests.
2005-03-25 21:03:55 +00:00
2005-03-26 Kevin Ryde <user42@zip.com.au>
* tests/srfi-13.test (string-index): Exercise 8-bit char in string.
2005-03-17 21:28:49 +00:00
2005-03-18 Kevin Ryde <user42@zip.com.au>
2005-03-17 23:16:53 +00:00
* tests/srfi-1.test (filter-map): More tests.
2005-03-17 21:28:49 +00:00
* tests/srfi-17.test: A few more tests from the 1.6 branch.
2005-03-15 21:18:02 +00:00
2005-03-16 Kevin Ryde <user42@zip.com.au>
2005-03-15 22:03:33 +00:00
* tests/srfi-1.test (drop-right, partition!, split-at, split-at!,
take-right): New tests.
2005-03-15 21:18:02 +00:00
2005-03-13 23:16:48 +00:00
2005-03-14 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (find, find-tail, lset-union): New tests.
(lset-adjoin): Corrections to some tests.
2005-03-13 00:52:29 +00:00
2005-03-13 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (=): Exercise inum/flonum cases that used to
round on 64-bit systems.
* tests/numbers.test (logior): New tests, exercising negative bignums
reducing to inum.
* tests/srfi-60.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2005-03-02 20:56:45 +00:00
2005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/threads.test: Only test when 'threads are provided.
2005-02-20 22:56:16 +00:00
2005-02-21 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (string->number): Exercise polar form with
invalid angle.
2005-02-17 21:07:22 +00:00
2005-02-18 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (lset-adjoin): Amend tests to expect duplicates
among args cast out.
2005-02-12 06:15:51 +00:00
2005-02-12 Rob Browning <rlb@defaultvalue.org>
* standalone/test-require-extension: new test script.
* standalone/Makefile.am (check_SCRIPTS): add test-require-extension.
(TESTS): add test-require-extension.
2005-02-11 21:42:29 +00:00
2005-02-12 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (reduce, reduce-right): New tests.
2005-02-10 20:37:57 +00:00
2005-02-11 Kevin Ryde <user42@zip.com.au>
* tests/fractions.test (ash): Remove tests of ash on fractions, not
supported after scm_ash rewrite.
2005-02-03 23:24:16 +00:00
2005-02-04 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (list=): New tests.
2005-01-28 21:34:20 +00:00
2005-01-29 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (ash): New tests.
2005-01-28 21:54:15 +00:00
* tests/srfi-1.test (lset-adjoin, remove, remove!): New tests.
2005-01-28 21:34:20 +00:00
2005-01-27 21:23:36 +00:00
2005-01-28 Kevin Ryde <user42@zip.com.au>
* tests/syntax.test (while): Tests running in empty environment are
now "unresolved" due to workaround in while implementation.
2005-01-23 21:36:22 +00:00
2005-01-24 Kevin Ryde <user42@zip.com.au>
2005-01-24 00:11:03 +00:00
* standalone/test-unwind.c (check_cont): Cast rewindable to long, to
avoid warning from gcc 3.4 on 64-bit systems about casting int
(32-bits) to pointer (64-bits).
2005-01-23 21:36:22 +00:00
* tests/srfi-1.test (lset=, member): New tests.
2005-01-11 23:49:04 +00:00
2005-01-12 Kevin Ryde <user42@zip.com.au>
* tests/srfi-39.test (current-input-port, current-output-port,
current-error-port): New tests.
2005-01-10 01:45:07 +00:00
2005-01-10 Marius Vollmer <mvo@zagadka.de>
* tests/unif.test (exception:wrong-num-indices): New, use it for
array-set! tests with wrong number of indices.
2005-01-07 00:32:03 +00:00
2005-01-07 Marius Vollmer <mvo@zagadka.de>
* tests/srfi-4.test: Use (test-suite lib) module.
2005-01-06 19:01:14 +00:00
2005-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/unif.test (have-llvect?): Removed, Scheme code will always
have u64 and s64 uniform vectors.
2005-01-04 23:42:03 +00:00
2005-01-05 Marius Vollmer <mvo@zagadka.de>
* tests/unif.test: Use *unspecified* instead of #f to get an
uninitialized array.
2005-01-04 00:45:36 +00:00
2005-01-04 Kevin Ryde <user42@zip.com.au>
* tests/ramap.test: New file, test array-map!.
* Makefile.am (SCM_TESTS): Add it.
2005-01-02 21:04:11 +00:00
2005-01-02 Marius Vollmer <mvo@zagadka.de>
* tests/unif.test: Rewritten for new 'typed' approach to uniform
arrays.
* tests/sort.test: New tests, especially for sorting non-contigous
and negative-incrementing vectors.
2005-01-01 22:48:18 +00:00
2005-01-02 Kevin Ryde <user42@zip.com.au>
* tests/srfi-39.test: Use define-module to keep bindings from
subsequent tests, use test-suite lib for stand-alone checking.
* Makefile.am (SCM_TESTS): Add srfi-39.test.
2004-12-27 Neil Jerram <neil@ossau.uklinux.net>
* tests/continuations.test (continuations): Moved continuation /
stack tests here, and added save and restore of debug options.
2004-12-23 15:32:17 +00:00
2004-12-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/eval.test: News tests for making stacks from
continuations. From Neil Jerram.
2004-12-10 00:42:42 +00:00
2004-12-10 Kevin Ryde <user42@zip.com.au>
* tests/socket.test (inet-pton): New tests.
2004-12-05 21:57:44 +00:00
2004-12-06 Kevin Ryde <user42@zip.com.au>
2004-12-06 00:51:00 +00:00
* tests/srfi-1.test (alist-copy, alist-delete, break, span): New
tests.
2004-12-05 21:57:44 +00:00
2004-12-05 00:56:26 +00:00
2004-12-05 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (append-map, filter-map): New tests.
2004-11-12 19:00:36 +00:00
2004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/unif.test: Replaced uniform-array-set1! with just
array-set!. Do not check improper index lists, which can't arise
with uarray-set!. Use "#s16()" instead of "#h()".
2004-10-27 19:38:04 +00:00
2004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/unif.test: Removed tests that tried to store a character
into a byte vector, which no longer works. Characters are not
bytes.
2004-10-03 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/syntax.test: Added tests for unmemoization.
2004-09-30 11:59:36 +00:00
2004-09-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/strings.test (string-set!): Explicitely construct
read-only string. String literals are not yet read-only.
2004-09-29 15:50:24 +00:00
2004-09-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/unif.test (array-equal?): New test.
2004-09-28 23:55:54 +00:00
2004-09-29 Kevin Ryde <user42@zip.com.au>
* tests/regexp.test (match:string): New tests.
2004-09-25 22:09:03 +00:00
2004-09-26 Kevin Ryde <user42@zip.com.au>
* tests/optargs.test (let-keywords, let-keywords*, let-optional,
let-optional*): Add tests of internal defines when no bindings.
2004-09-25 00:09:58 +00:00
2004-09-25 Marius Vollmer <mvo@zagadka.de>
* standalone/Makefile.am (AM_LDFLAGS, LD_FLAGS): Use AM_LDFLAGS
instead of LDFLAGS; the latter is a user variable.
2004-09-24 01:30:38 +00:00
2004-09-24 Marius Vollmer <mvo@zagadka.de>
* standalone/Makefile.am (test_cflags, LDFLAGS): Include
GUILE_CFLAGS.
2004-09-23 17:58:07 +00:00
2004-09-23 Marius Vollmer <mvo@zagadka.de>
* lib.scm (exception:out-of-range, exception:wrong-type-arg):
Accept new wording.
2004-09-22 14:33:00 +00:00
2004-09-22 Marius Vollmer <mvo@zagadka.de>
* tests/ports.test ("string ports"): Copy string literal so that
it can be modified.
* tests/srfi-13.test ("string-copy!"): Likewise.
* tests/strings.test ("substring/shared"): Likewise.
2004-09-08 23:14:34 +00:00
2004-09-09 Kevin Ryde <user42@zip.com.au>
* tests/streams.test: New file.
2004-09-08 16:20:21 +00:00
2004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/fractions.test: Don't expect (expt 1/2 2.0) to yield an
exact result, use (expt 1/2 2) instead.
2004-09-08 01:23:35 +00:00
2004-09-08 Kevin Ryde <user42@zip.com.au>
* tests/ports.test (port-column): Further tests, of new \a \b \r.
2004-09-07 00:36:48 +00:00
2004-09-07 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (integer-expt): New tests, of infinite exponents.
(integer?): Exercise nan and +/-inf.
* tests/time.test (gmtime, strptime): New tests, but unresolved.
(internal-time-units-per-second): New test.
2004-09-01 23:05:19 +00:00
2004-09-02 Kevin Ryde <user42@zip.com.au>
* tests/format.test (~@d): New tests.
2004-09-01 23:49:01 +00:00
New tests of excess arguments now ignored.
2004-09-01 23:05:19 +00:00
2004-09-01 01:50:26 +00:00
2004-09-01 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Kevin Ryde <user42@zip.com.au>
* tests/gc.test: Exercise record in weak-values hash table, exposing a
problem in 1.6.4 gc, but believed fixed by other changes in the head.
2004-08-27 12:46:11 +00:00
2004-08-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/srfi-13.test (module-peek): Removed, this kluge is no
longer necessary.
2004-08-27 01:19:23 +00:00
2004-08-27 Kevin Ryde <user42@zip.com.au>
* tests/regexp.test (regexp-quote): New tests.
2004-08-27 01:21:24 +00:00
* tests/srfi-31.test: Use define-module to keep bindings out of
further tests. Use-module (test-suite lib) for stand-alone operation.
(rec): Exercise bad args.
2004-08-25 01:07:35 +00:00
2004-08-25 Kevin Ryde <user42@zip.com.au>
* tests/and-let-star.test: More tests, in particular exercise #t
result on empty body.
2004-08-24 22:25:02 +00:00
2004-08-25 Marius Vollmer <mvo@zagadka.de>
* tests/strings.test: Two more tests for double indirect substring
modification.
2004-08-23 10:51:43 +00:00
2004-08-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* lib.scm (exception:used-before-define): New.
* tests/syntax.test ("letrec"): Use it.
2004-08-20 01:35:44 +00:00
2004-08-20 Kevin Ryde <user42@zip.com.au>
* tests/posix.test (mkstemp!): New tests.
2004-08-19 22:23:34 +00:00
2004-08-20 Marius Vollmer <mvo@zagadka.de>
* tests/strings.test: Two tests for substring/shared. Also, use
(test-suite lib).
2004-08-19 17:30:03 +00:00
2004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-conversion.c, standalone/test-gh.c,
standalone/test-unwind.c: Avoid the use of discouraged or
deprecated things.
2004-08-17 23:17:34 +00:00
2004-08-18 Kevin Ryde <user42@zip.com.au>
2004-08-18 00:30:58 +00:00
* tests/and-let-star.test, tests/arbiters.test, tests/receive.test:
New files.
* Makefile.am (SCM_TESTS): Add them.
2004-08-17 23:34:53 +00:00
* tests/fractions.test (fractions): Correction, equal? 3/4 .75 should
be #f, according to R5RS.
2004-08-15 20:28:24 +00:00
2004-08-15 Marius Vollmer <mvo@zagadka.de>
* tests/srfi-39.test: New, from Jose A Ortega Ruiz. Thanks!
2004-08-14 00:44:29 +00:00
2004-08-14 Kevin Ryde <user42@zip.com.au>
* tests/srfi-13.test (string-any, string-every): Exercise char and
charset predicate cases.
2004-08-10 12:20:02 +00:00
2004-08-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
2004-08-10 15:45:58 +00:00
* standalone/test-conversion.c (test_locale_strings): New.
2004-08-10 12:20:02 +00:00
* standalone/test-round.c: Replaced all uses of scm_round with
scm_c_round.
2004-08-09 01:33:36 +00:00
2004-08-09 Kevin Ryde <user42@zip.com.au>
* tests/slib.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-08-06 00:29:13 +00:00
2004-08-06 Kevin Ryde <user42@zip.com.au>
* tests/unif.test (array-set!): Exercise byte array range checks.
(uniform-vector-ref): Exercise byte returns.
2004-08-06 01:08:37 +00:00
(array-fill!): Exercise byte range and type checks.
2004-08-06 00:29:13 +00:00
2004-08-03 15:07:37 +00:00
2004-08-03 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-num2integral.c: Only perform the tests when the
disabled features are enabled.
* standalone/test-conversion.c (test_to_double, test_from_double):
New tests.
2004-08-02 00:30:49 +00:00
2004-08-02 Kevin Ryde <user42@zip.com.au>
* tests/srfi-13.test (string-every): Check empty string case.
2004-07-31 01:28:49 +00:00
2004-07-31 Kevin Ryde <user42@zip.com.au>
* tests/filesys.test: New file, exercising copy-file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-29 14:14:18 +00:00
2004-07-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-conversion.c: Many more tests for the integer
conversion functions.
2004-07-27 22:55:55 +00:00
2004-07-28 Kevin Ryde <user42@zip.com.au>
* tests/regexp.test (make-regexp): Exercise flags args validation.
2004-07-27 23:47:16 +00:00
* tests/unif.test (array-set!): Exercise svect value range check.
2004-07-23 23:43:57 +00:00
2004-07-24 Kevin Ryde <user42@zip.com.au>
* tests/common-list.test: Use define-module, to as not to import
common-list into subsequent tests (eg. srfi-1 where `every' provokes a
warning).
* tests/srfi-19.test, tests/srfi-34.test: Use #:duplicates (last) to
suppress warnings about current-time and raise replacing core bindings.
2004-07-19 00:59:27 +00:00
2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/format.test (~{): Test no arbitrary iteration limit.
2004-07-10 14:43:55 +00:00
2004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-conversion.c (test_is_signed_integer,
test_is_unsigned_integer): Expect inexact integers to fail.
2004-07-09 22:27:47 +00:00
2004-07-10 Kevin Ryde <user42@zip.com.au>
* tests/hash.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-08 16:03:45 +00:00
2004-07-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-unwind.c: Use scm_from_int instead of
SCM_MAKINUM and scm_is_eq instead SCM_EQ_P.
2004-07-07 15:27:21 +00:00
2004-07-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-conversion.c: Don't define SCM_T_INTMAX_MIN,
etc, they are now provided by libuile.h.
(test_int_sizes): New.
2004-07-06 13:20:07 +00:00
2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-num2integral.c, standalone/test-unwind.c:
Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.
* standalone/Makefile.am: Added test-conversion to the TESTS.
* standalone/test-conversion.c: New file.
2004-06-20 14:21:31 +00:00
2004-06-20 Rob Browning <rlb@defaultvalue.org>
* tests/srfi-31.test: new test for SRFI-31.
* Makefile.am (SCM_TESTS): add tests/srfi-31.scm.
2004-06-15 13:20:22 +00:00
2004-06-15 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/numbers.test (number->string): Some results might differ
between versions of Guile compiled optimized and unoptimized.
Both results are accepted now.
2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/syntax.test: Added various tests to check that
unmemoization works correctly.
2004-05-29 22:53:34 +00:00
2004-05-30 Kevin Ryde <user42@zip.com.au>
* lib.scm (exception:numerical-overflow): New define.
* tests/numbers.test (modulo-expt): Use it and
exception:wrong-type-arg, avoiding empty "" regexp which is invalid on
BSD. Reported by Andreas V<>gele.
2004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* standalone/test-asmobs-lib.c: Fixed include statement.
2004-05-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/goops.test: Wrap tests in module (test-suite
test-<file-name without .test>). Remove calls to deprecated macro
`undefine'.
2004-05-10 20:43:00 +00:00
2004-05-10 Marius Vollmer <mvo@zagadka.de>
* tests/numbers.test (number->string): Added tests for
non-radix-10 floating point conversions.
2004-05-09 22:54:06 +00:00
2004-05-10 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (logbit?): New tests.
2004-05-09 00:50:30 +00:00
2004-05-09 Kevin Ryde <user42@zip.com.au>
* tests/srfi-19.test (test-dst, string->date local DST): Test with
2004-05-09 00:54:57 +00:00
"EST5EDT" instead of "CET", since HP-UX doesn't know CET. Reported by
Andreas V<>gele.
2004-05-09 00:50:30 +00:00
2004-05-02 23:09:37 +00:00
2004-05-03 Kevin Ryde <user42@zip.com.au>
* tests/time.test (strftime): Force tm:isdst to 0 for the test, for
the benefit of HP-UX. Reported by Andreas V<>gele.
Use set-tm:zone rather than a hard coded vector offset.
2004-04-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/elisp.test: Wrap tests in module (test-suite
test-<file-name without .test>), following a practice that was
used on a couple of files already.
2004-04-27 23:35:56 +00:00
2004-04-28 Kevin Ryde <user42@zip.com.au>
* standalone/test-num2integral.c (test_long_long): Exercise
out-of-range errors on various cases.
(test_ulong_long): New function, split from test_long_long and
similarly exercising out-of-range.
2004-04-26 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/syntax.test: Add test case to check the correct handling
of define expressions.
2004-04-24 21:18:30 +00:00
2004-04-25 Kevin Ryde <user42@zip.com.au>
* tests/socket.test: New file, exercising inet-ntop.
* Makefile.am (SCM_TESTS): Add it.
2004-04-23 21:20:17 +00:00
2004-04-24 Kevin Ryde <user42@zip.com.au>
* tests/srfi-11.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-04-22 00:01:48 +00:00
2004-04-22 Kevin Ryde <user42@zip.com.au>
* standalone/test-round.c: New file, exercising scm_round.
* standalone/Makefile.am: Add it.
2004-04-15 00:53:30 +00:00
2004-04-15 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (max, min): Exercise some inum/frac, frac/inum,
big/frac, frac/big and frac/frac cases.
* tests/numbers.test (min): Correction, test "documented? min" not
"documented? max".
2004-04-06 00:08:18 +00:00
2004-04-06 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (quotient, remainder): Exercise inum/big at and
near special case inum == fixnum-min, big == -fixnum-min.
2004-03-25 21:49:28 +00:00
2004-03-26 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (min, max): Check inexactness of big/real and
real/big combinations, collect up tests under arg types for clarity.
2004-03-26 Eric Hanchrow <offby1@blarg.net>
* tests/numbers.test (modulo-expt): New tests.
2004-03-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/eval.test: Added tests which reflect the recent fixes to
copy-tree.
2004-02-28 21:38:37 +00:00
2004-02-29 Kevin Ryde <user42@zip.com.au>
* tests/posix.test (execl, execlp, execle): Exercise errors where
2004-02-28 23:22:12 +00:00
program not found. [But disabled, due to problems with threading.]
2004-02-28 21:38:37 +00:00
2004-02-21 22:04:42 +00:00
2004-02-22 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (max, min): Exercise some complex num cases.
2004-02-18 19:29:40 +00:00
2004-02-18 Marius Vollmer <mvo@zagadka.de>
* tests/fractions.test: Added copyright notice of Michael Stoll,
who probably wrote the original CLISP code.
2004-02-18 00:30:37 +00:00
2004-02-18 Kevin Ryde <user42@zip.com.au>
* tests/fractions.test: Remove 1/3 == 1.0/3.0, not true.
* tests/numbers.test (=): Exercise frac+real and frac+complex.
2004-02-17 21:39:21 +00:00
2004-02-17 Marius Vollmer <mvo@zagadka.de>
* Makefile.am (SCM_TESTS): Added test/fractions.test.
2004-02-17 23:27:27 +00:00
2004-02-12 Kevin Ryde <user42@zip.com.au>
* tests/unif.test (array?, array-fill!, array-prototype): Add tests.
2004-01-23 21:14:24 +00:00
2004-01-23 Marius Vollmer <mvo@zagadka.de>
* tests/r5rs_pitfall.scm: Removed again. I was confused. The
file added to SCM_TESTS was r5rs_pitfall.test, not
r5rs_pitfall.scm.
2004-01-23 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
* tests/syntax.test: Added test for unmemoizing internal defines.
2004-01-21 00:47:50 +00:00
2004-01-21 Marius Vollmer <mvo@zagadka.de>
* tests/srfi-26.test: New.
* Makefile.am (SCM_TESTS): Added it.
2004-01-11 00:59:04 +00:00
2004-01-11 Marius Vollmer <mvo@zagadka.de>
* tests/r5rs_pitfall.scm: New.
* Makefile.am (SCM_TESTS): Added it.
2004-01-11 00:28:08 +00:00
2004-01-11 Kevin Ryde <user42@zip.com.au>
* tests/exceptions.test (false-if-exception): Disable tests on
referencing expansion environment, reverted.
2004-01-07 18:18:09 +00:00
2004-01-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-unwind.c: Adapted to 'frame' renamings.
(check_fluid): New.
* Makefile.am (SCM_TESTS): Added continuations.test.
2004-01-06 22:21:01 +00:00
2004-01-07 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (<): Add tests inum/bignum/flonum/frac with frac.
* tests/q.test: New file.
(q-pop!): Exercise this, in particular the "not/null?" bug reported by
Richard Todd.
* Makefile.am (SCM_TESTS): Add q.test.
* tests/unif.test: New file.
(uniform-array-set1!): Exercise this, in particular previous segv on
improper arg list.
* Makefile.am (SCM_TESTS): Add unif.test.
2004-01-06 18:17:30 +00:00
2004-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* standalone/test-unwind.c (close_port, delete_file, check_ports):
New.
2004-01-03 21:56:35 +00:00
2004-01-03 Marius Vollmer <mvo@zagadka.de>
* standalone/test-unwind.c: New test, for the frames stuff.
* standalone/Makefile.am: Compile and run it.
2004-01-03 21:12:45 +00:00
2004-01-04 Kevin Ryde <user42@zip.com.au>
* tests/exceptions.test (false-if-exception): Add tests.
2003-12-26 19:09:03 +00:00
2003-11-30 Marius Vollmer <mvo@zagadka.de>
* tests/syntax.test: It's "#\\space", not "#\space".
2003-11-21 Marius Vollmer <mvo@zagadka.de>
* tests/numbers.test: #e1.2 is now exactly 12/10. Expect
exceptions when calling inexact? with a non-number.
2003-12-02 21:38:04 +00:00
2003-12-03 Kevin Ryde <user42@zip.com.au>
* tests/fractions.test: Exercise most-negative-fixnum over -ve of
most-negative-fixnum.
* tests/fractions.test (real-part): Expect fraction return, not
converted to flonum.
* tests/numbers.test (abs): Add a few more tests.
* tests/srfi-1.test (count): New tests.
2003-12-01 18:49:38 +00:00
2003-12-01 Mikael Djurfeldt <mdj@chunk.mit.edu>
* standalone/Makefile.am (snarfcppopts): Added -I$(top_srcdir).
2003-11-19 21:39:26 +00:00
2003-11-19 Rob Browning <rlb@defaultvalue.org>
* standalone/test-system-cmds: new test.
* standalone/Makefile.am (check_SCRIPTS): add test-system-cmds.
(TESTS): add test-system-cmds.
2003-11-18 20:01:57 +00:00
2003-11-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* tests/numbers.test ("string->number"): Expect exact rationals
for things like "1/2" and "#e1.2".
("inexact->exact"): Expect overflow error for infs and nans.
* tests/fractions.test: New file from Bill Schottstaedt. Thanks!
* tests/bit-operations.test (fixnum-bit): Round the result so that
fixnum-bit really is an integer.
2003-11-17 16:57:27 +00:00
2003-11-17 Marius Vollmer <mvo@zagadka.de>
* tests/srfi-17.test: Expect a "Bad variable" error for (set! #f
1).
2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Tests that check for the correct handling of
internal defines with begin work now.
2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Fixed test that checks for the correct
handling of macros in the context of internal defines.
2003-11-14 21:36:18 +00:00
2003-11-15 Kevin Ryde <user42@zip.com.au>
* tests/bit-operations.test: Use (test-suite lib), for the benefit of
standalone execution.
2003-11-09 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/optargs.test: Wrap tests in module (test-suite
test-<file-name without .test>). Rewrite test to be R5RS
conforming.
* tests/syntax.test: Added test to check correct handling of
internal defines.
2003-11-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:missing-body-expr): New.
Renamed section 'define' to 'top-level define' and added a new
section 'internal define' with some tests.
2003-11-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:missing/extra-expr-misc): Removed.
(exception:illegal-empty-combination): New.
(exception:missing/extra-expr): Unified capitalization.
Adapted test for '()' to the new way of error reporting.
2003-10-19 00:36:26 +00:00
2003-10-19 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test: Use define-module to hide helper defines.
(dbl-mant-dig, ash-flo): New helpers.
(exact->inexact): New tests.
2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:bad-var): Removed.
Adapted tests for 'set!' to the new way of error reporting.
2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/dynamic-scope.test (exception:missing-expr): Introduced
temporarily until all memoizers use the new way of error
reporting.
2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:missing/extra-expr,
exception:missing/extra-expr-misc): Renamed
exception:missing/extra-expr to exception:missing/extra-expr-misc.
(exception:missing/extra-expr-syntax,
exception:missing/extra-expr): Renamed
exception:missing/extra-expr-syntax to
exception:missing/extra-expr.
2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (exception:bad-variable): New.
* tests/syntax.test (exception:bad-binding,
exception:duplicate-binding): New.
(exception:duplicate-bindings): Removed.
Adapted tests for 'let', 'let*' and 'letrec' to the new way of
error reporting.
2003-10-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (define exception:bad-formal, define
exception:duplicate-formal): New.
(exception:duplicate-formals): Removed.
(exception:bad-formals): Adapted to the new way of error
reporting.
Adapted tests for 'lambda' to the new way of error reporting.
2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:missing/extra-expr-syntax): Fixed
to be unaware of whether line number information is given or not.
2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:missing/extra-expr-syntax): New,
introduced temporarily until all memoizers use the new way of
error reporting.
Adapted tests for 'if' to the new way of error reporting.
2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:missing-expr,
exception:extra-expr): New.
Adapted tests for 'begin' to the new way of error
reporting.
2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:misplaced-else-clause,
exception:bad-cond-clause): New.
(exception:bad/missing-clauses, exception:extra-case-clause):
Removed.
Adapted tests for 'case' and 'cond' to the new way of error
reporting.
The tests that check if cond is hygienic pass now.
2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Fixed and activated test of empty case label
support.
2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test (exception:bad-expression,
exception:missing-clauses, exception:bad-case-clause,
exception:extra-case-clause, exception:bad-case-labels): New.
Added some tests and adapted tests for 'case' to the new way of
error reporting.
2003-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (run-test-exception): Handle syntax errors.
2003-10-10 14:32:19 +00:00
2003-10-10 Marius Vollmer <mvo@zagadka.de>
* tests/numbers.test (inexact->exact): Use corrent argument order
for pass-if-exception. Use "+inf.0" instead of "+.inf", etc.
2003-10-08 23:06:05 +00:00
2003-10-09 Kevin Ryde <user42@zip.com.au>
2003-10-09 00:41:46 +00:00
* tests/numbers.test (inexact->exact): New tests.
2003-10-08 23:06:05 +00:00
* tests/poe.test: New file.
* Makefile.am: Add it.
2003-10-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (exception:missing-expression): New.
* tests/dynamic-scope.test, tests/eval.test,
tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test:
Wrap tests in module (test-suite test-<file-name without .test>),
following a practice that was used on a couple of files already.
* tests/dynamic-scope.test (exception:duplicate-binding,
exception:bad-binding): New.
* tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test:
Execute syntactically wrong tests using eval. With the upcoming
new memoizer this is necessary in order to postpone the syntax
check to the actual evaluation of the syntactically wrong form.
* tests/syntax.test: Added some test cases and modified one test
case.
2003-10-02 00:17:50 +00:00
2003-10-02 Kevin Ryde <user42@zip.com.au>
* tests/ports.test (call-with-output-string): Test proc closing port.
2003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
* guile-test: Wrapped in module (test-suite guile-test).
(main data-file-name test-file-name): Exported.
((guile-user)::main): New function, wrapper for function
(test-suite guile-test)::main.
* tests/load.test: Wrapped in module (test-suite test-load).
* tests/ports.test: Wrapped in module (test-suite test-ports).
* tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
Added comments about the required structure of the file itself,
since it is subject to some tests. Removed some now unnecessary
undefine operations.
* tests/syntax.test: Wrapped in module (test-suite test-syntax)
2003-09-19 01:29:17 +00:00
2003-09-19 Kevin Ryde <user42@zip.com.au>
* tests/popen.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test (equal?): Added tests.
* tests/numbers.test (=): Fixed and added some bignum related
tests.
2003-08-30 00:07:49 +00:00
2003-08-30 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (logcount): Add tests.
2003-08-22 22:37:52 +00:00
2003-08-23 Kevin Ryde <user42@zip.com.au>
2003-08-22 23:14:11 +00:00
* tests/srfi-1.test (list-copy): New tests.
2003-08-22 22:37:52 +00:00
* tests/srfi-19.test (date-week-number): Add tests.
2003-08-22 01:24:59 +00:00
2003-08-22 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (-): Exercise bignum - inum.
2003-08-17 00:40:59 +00:00
2003-08-17 Kevin Ryde <user42@zip.com.au>
* tests/syntax.test (while): Exercise break and continue from
recursive nested loops.
2003-08-12 21:43:34 +00:00
2003-08-14 Kevin Ryde <user42@zip.com.au>
* tests/syntax.test (while): New tests.
2003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Eliminated misuses of expect-fail. It
should only be used in cases, where guile has a known bug. It
should not be used in cases where an expression is expected to
return #f as its correct result.
2003-08-08 23:07:07 +00:00
2003-08-09 Kevin Ryde <user42@zip.com.au>
* tests/srcprop.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2003-07-28 23:59:47 +00:00
2003-07-29 Kevin Ryde <user42@zip.com.au>
* tests/srfi-1.test (concatenate, concatenate!): New tests.
(length+): New tests.
* tests/srfi-34.test: Check cond-expand srfi-34.
2003-07-24 01:05:02 +00:00
2003-07-24 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (angle): New tests.
2003-07-18 00:02:33 +00:00
2003-07-18 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (*): Add complex/bignum test.
2003-07-13 23:08:13 +00:00
2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/srfi-1.test (partition): Add tests.
2003-07-08 00:15:23 +00:00
2003-07-08 Kevin Ryde <user42@zip.com.au>
2003-07-08 00:33:43 +00:00
* tests/numbers.test (make-polar, magnitude): New tests.
2003-07-08 00:15:23 +00:00
* tests/srfi-1.test (delete, delete!): Add more tests.
2003-07-08 00:33:43 +00:00
(delete-duplicates, delete-duplicates!): New tests.
2003-07-08 00:15:23 +00:00
2003-06-21 00:17:47 +00:00
2003-06-21 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
tests.
2003-06-19 01:43:43 +00:00
2003-06-19 Kevin Ryde <user42@zip.com.au>
* tests/posix.test: New file, exercising putenv, setenv, unsetenv.
* tests/threads.test: New file, exercising parallel.
* Makefile.am (SCM_TESTS): Add them.
2003-06-06 22:38:48 +00:00
2003-06-07 Kevin Ryde <user42@zip.com.au>
* tests/srfi-6.test: New file.
2003-06-11 23:44:33 +00:00
* Makefile.am (SCM_TESTS): Add it.
2003-06-06 22:38:48 +00:00
2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/chars.test: Fixed test comment. The bug that this test
detects was actually introduced by my patch from 2003-05-31.
2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/chars.test: Added test, attempting to apply a character.
This test will only pass if the other changes that are submitted
together with this patch are also applied.
2003-06-04 16:38:59 +00:00
2003-06-05 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (logcount): Add a few more tests, to exercise
recent scm_logcount change.
* tests/reader.test (reading): Test bad # error message is formattable.
2003-06-01 13:37:32 +00:00
2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/pairs.test: Added.
2003-06-01 11:17:30 +00:00
2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/vectors.test: Added.
2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/guardians.test: Uses module (ice-9 weak-vector).
2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm: Documented the short form for pass-if and expect-fail.
(pass-if, expect-fail): Simplified.
2003-05-30 00:28:04 +00:00
2003-05-30 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (max, min): Add tests involving NaNs.
2003-05-29 Stefan Jahn <stefan@lkcc.org> * configure.in: Removed -lm check and added a cached check for __libc_stack_end to get it building for mingw32 hosts. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * win32-dirent.c: Use malloc() instead of scm_malloc(). * stime.c (s_scm_strftime): Add a type cast to avoid compiler warning. * posix.c (s_scm_putenv): Disable use of unsetenv() for the mingw32 build. * modules.c (s_scm_module_import_interface): Renamed local variable interface to _interface. Seems like 'interface' is a special compiler directive for the mingw32 compiler. * mkstemp.c: Provide prototype to avoid compiler warning. * load.c (s_scm_search_path): Fixed absolute and relative path detections for native Windows platforms. * gc.h, threads.h: Export some more symbols using SCM_API (necessary to build on mingw32). * gc-freelist.c ("s_scm_map_free_list", "s_scm_gc_set_debug_check_freelist_x"): Fixed use of FUNC_NAME. * fports.c (fport_fill_input): Disable use of fport_wait_for_input() on Win32 platforms. * filesys.c (s_scm_basename): Fixed __MINGW32__ code. * Makefile.am: Modified some rules for cross compiling. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * raw-ltdl.c: Some more modifications for mingw32 platforms. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS, libguile_srfi_srfi_4_la_LDFLAGS, libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined option for the mingw32 build. 2003-05-29 Stefan Jahn <stefan@lkcc.org> * standalone/Makefile.am: Setup to build on mingw32.
2003-05-29 14:39:13 +00:00
2003-05-29 Stefan Jahn <stefan@lkcc.org>
* standalone/Makefile.am: Setup to build on mingw32.
2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/elisp.test: Added missing quote around vector constants.
2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/r5rs_pitfall.test: Test 2.1 now passes.
2003-05-12 23:52:53 +00:00
2003-05-13 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (=, <, max, min): Add tests of bignum/inf
combinations.
* tests/srfi-1.test (delete, delete!): Test predicate call arg order.
2003-05-09 22:43:00 +00:00
2003-05-10 Kevin Ryde <user42@zip.com.au>
2003-05-10 00:23:50 +00:00
* tests/numbers.test (=, <): Add tests involving NaNs.
* tests/numbers.test (integer-length): Exercise some negatives, in
particular -2^n which is ...11100..00.
* tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
fitting a ulong.
2003-05-09 22:43:00 +00:00
* tests/srfi-1.test: New file, exercising take and drop.
* Makefile.am (SCM_TESTS): Add it.
2003-05-06 00:37:57 +00:00
2003-05-06 Kevin Ryde <user42@zip.com.au>
* tests/numbers.test (-): Add test for negative inum subtract bignum.
(logcount): New tests, exercising some negatives.
2003-05-03 20:24:37 +00:00
2003-05-03 Marius Vollmer <mvo@zagadka.de>
* tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
pointing us to these tests.
2003-04-30 00:06:33 +00:00
2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
* Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
* tests/srfi-34.test: New file.
2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Modified some tests to use eval when
providing bad syntax. Otherwise, the memoizer will report an
error immediately after reading the form, without even the chance
to get the pass-if-exception mechanism started.
2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/guardians.test: Added some more elaborate and
sophisticated tests for the guardian functionality.
2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/sort.test: Added. Both tests in that file did fail (one
even with a segfault) with CVS guile before the recent changes to
sort.c.
2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
* tests/goops.test: Added tests for correctness of class
precedence list in all basic classes and tests for eqv? and
equal?.
2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
* tests/goops.test: Added tests for class redefinition, object
update and active slots.
2003-04-14 15:55:37 +00:00
2003-04-14 Rob Browning <rlb@defaultvalue.org>
* standalone/test-asmobs-lib.c (libtest_asmobs_init): include
test-asmobs-lib.x rather than test-asmobs-lib.x.c.
* standalone/Makefile.am: change from .c.x to .x to be consistent
with the rest of guile.
2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
instead of INCLUDES
2003-04-07 17:52:28 +00:00
2003-04-07 Rob Browning <rlb@defaultvalue.org>
* Makefile.am (SUBDIRS): add standalone.
* guile-test: added "Running test FOO" output by default. There
may be a good reason to remove this, but the output can be helpful
in determining where a failure occurred.
* standalone/test-num2integral.c: new test -- one new regression
check.
* standalone/test-gh.c: new test code (migrated from
tests/c-api/) -- a trivial start.
* standalone/test-asmobs-lib.c: new test script (migrated from
tests/asmobs/).
* standalone/test-asmobs: new test script.
* standalone/README: new file.
* standalone/Makefile.am: new file.
* standalone/.cvsignore: new file.
* tests/asmobs/Makefile: removed (functionality is now in standalone/).
* tests/asmobs/README: removed (functionality is now in standalone/).
* tests/asmobs/asmobs-test.scm: removed (functionality is now in
standalone/).
* tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
* tests/asmobs/: removed (functionality is now in standalone/).
* tests/c-api/strings.c: add a note to the source about this code
being unused.
2003-04-05 Marius Vollmer <mvo@zagadka.de>
* Changed license terms to the plain LGPL thru-out.
2003-03-25 02:21:10 +00:00
2003-03-24 Rob Browning <rlb@defaultvalue.org>
* tests/numbers.test: added tests (some simple) for various funcs.
("odd?"): added tests.
("even?"): added tests.
("nan?"): added tests.
("abs"): added tests.
("lcm"): added tests.
("number->string"): added tests.
("number?"): added tests.
("complex?"): added tests.
("real?"): added tests.
("rational?"): added tests.
("integer?"): added tests.
("inexact?"): added tests.
("="): added tests.
("zero?"): added tests.
("positive?"): added tests.
("negative?"): added tests.
* lib.scm (pass-if): allow really simple tests where the test code
is also the name like (pass-if (even? 2)).
(expect-fail): allow really simple tests where the test code is
also the test name like (expect-fail (even? 2)).
2003-03-19 18:29:26 +00:00
2003-03-19 Marius Vollmer <mvo@zagadka.de>
* tests/format.test ("format basic output"): Added test for "~F"
from Matthias Koeppe.
2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
* tests/elisp.test: Use module (ice-9 weak-vector).
* tests/weaks.test: Use module (ice-9 weak-vector).
2002-12-09 00:51:53 +00:00
2002-12-08 Rob Browning <rlb@defaultvalue.org>
* tests/version.test: test (effective-version).
2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
* tests/options.test: New.
2002-10-05 04:21:04 +00:00
2002-10-04 Rob Browning <rlb@defaultvalue.org>
* tests/numbers.test ("expt"): add tests.
2002-09-09 20:59:43 +00:00
2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am (dist-hook): Do not distribute CVS directories.
Thanks to Greg Troxel!
2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
* tests/reader.test: change misc-error in read-error.
2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/goops.test: Added tests for define-generic and
define-accessor.
2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/goops.test: Added tests for define-class.
2002-05-07 18:11:05 +00:00
2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
* tests/numbers.test (/): Expect divison by an inexact zero to
yield +inf.0.
2002-05-06 18:52:50 +00:00
2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
2002-05-06 19:32:30 +00:00
* tests/regexp.test (regexp-substitute/global): Do not test with
empty regexp. Empty regexps do not work on NetBSD.
2002-05-06 18:52:50 +00:00
* tests/syncase.test (basic syncase macro): Added.
2002-04-26 18:35:42 +00:00
2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
* tests/srfi-13.test (string-tokenize): Updated for fixed
semantics.
2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
directories manually.
2002-02-09 22:35:39 +00:00
2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
* guile-test (main): Handle `--flag-unresolved'. No longer set
exit value to #f unconditionally on UNRESOLVED results.
2002-02-09 22:43:50 +00:00
(for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
2002-02-09 22:35:39 +00:00
2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
* tests/elisp.test: Add tests of Elisp expression evaluation.
2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
* tests/load.test: New test; for search-path with Elisp
nil-terminated lists for PATH and EXTENSIONS.
* tests/elisp.test: More tests for Scheme primitives that should
accept Elisp nil-terminated lists.
2002-01-24 22:42:02 +00:00
2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
* tests/elisp.test: More new tests for the Elisp nil value.
2002-01-22 23:47:46 +00:00
2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
* Makefile.am (SCM_TESTS): Added elisp.test.
* tests/elisp.test: New file.
2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Added more division by zero tests.
2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Added division by zero tests.
2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Added some tests, updated some others with
respect to recent changes in eval.c. Further, extracted test
cases for guile's extended set! functionality to srfi-17.test.
* tests/srfi-17.test: New file.
2001-11-04 Stefan Jahn <stefan@lkcc.org> * NEWS: Corrected remarks about SCM_API. * configure.in: Defining USE_DLL_IMPORT definition to indicate usage of DLL import macros in `libguile/__scm.h'. (LIBOBJS): Removed `fileblocks.o' from the list of object files. Somehow Jim Blandy's patch from 1997 did not survive. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * configure.in (EXTRA_DEFS): Follow-up patch. Using SCM_IMPORT instead of __SCM_IMPORT__. * readline.c (scm_readline_init_ports): Disable input/output stream redirection for Win32. The readline package for Win32 does not support this. The guile-readline library works fine for command line editing. * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL) here (was at guile_LDADD) which describes the dependency correctly and allows a clean build on Win32. * __scm.h (SCM_API): Follow-up patch. Renamed __FOO__ macros into FOO. * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL import macros for external libraries (libcrypt, libqthreads, libreadline and libregex). * coop-defs.h: Include <winsock2.h> for `struct timeval'. * posix.c (flock): Added support for flock() in M$-Windows. * guile.c (SCM_IMPORT): Follow-up patch. Use SCM_IMPORT instead of __SCM_IMPORT__. * fports.c (getflags): Differentiate reading and writing pipes descriptors. * filesys.c (S_IS*): Redefine all of the S_IS*() macros for M$-Windows. * coop.c (coop_condition_variable_timed_wait_mutex): Use conditionalized error code if `ETIMEDOUT' is not available. (scm_thread_usleep): Remove bogus declaration of `struct timeval timeout'. * numbers.c (PTRDIFF_MIN): Moved this definition where it actually belongs. That is because NO_PREPRO_MAGIC gets undefined after each inclusion of `num2integral.i.c'. (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * md/Makefile.am (EXTRA_DIST): Added `i386.asm'. * md/i386.asm: New file. Contains the Intel syntax version for nasm/tasm/masm of the file `i386.s'. * qt.h.in: Definition of QT_API, QT_IMPORT and QT_EXPORT. Prefixed each symbols which is meant to go into a DLL. * Makefile.am (libqthreads_la_LDFLAGS): Put `-no-undefined' into LDFLAGS to support linkers which do not allow unresolved symbols inside shared libraries. (EXTRA_DIST): Add `libqthreads.def', which is an export file definition for M$-Windows. It defines exported symbols. This is necessary because the M$VC linker does not know how to export assembler symbols into a DLL. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed __FOO__ macros into FOO. 2001-11-04 Stefan Jahn <stefan@lkcc.org> * tests/ports.test: Run (close-port) before (delete-file) if necessary/advisory.
2001-11-04 15:52:30 +00:00
2001-11-04 Stefan Jahn <stefan@lkcc.org>
* tests/ports.test: Run (close-port) before (delete-file) if
necessary/advisory.
2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/eval.test: Added tests for promises.
* lib.scm: Move module the system directives `export', `export-syntax', `re-export' and `re-export-syntax' into the `define-module' form. This is the recommended way of exporting bindings. * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm, srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system directives `export', `export-syntax', `re-export' and `re-export-syntax' into the `define-module' form. This is the recommended way of exporting bindings. * goops.scm, goops/active-slot.scm, goops/compile.scm, goops/composite-slot.scm, goops/describe.scm, goops/dispatch.scm, goops/old-define-method.scm, goops/save.scm, goops/util.scm: Move module the system directives `export', `export-syntax', `re-export' and `re-export-syntax' into the `define-module' form. This is the recommended way of exporting bindings. * slib.scm (array-indexes): New procedure. (*features*): Extend. (Probably some of these options should be set elsewhere.) (Thanks to Aubrey Jaffer.) * and-let-star-compat.scm, and-let-star.scm, calling.scm, channel.scm, common-list.scm, debug.scm, debugger.scm, expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm, null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm, q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm, safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm, syncase.scm, threads.scm: Move module the system directives `export', `export-syntax', `re-export' and `re-export-syntax' into the `define-module' form. This is the recommended way of exporting bindings.
2001-10-21 09:49:19 +00:00
2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
* lib.scm: Move module the system directives `export',
`export-syntax', `re-export' and `re-export-syntax' into the
`define-module' form. This is the recommended way of exporting
bindings.
2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Added test cases for 'cond =>' syntax with
else clause. Changed some tests and comments related to the
'case' form to reflect recent changes in the implementation.
2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Added test cases for 'lambda' syntax.
2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Added test cases for 'case' syntax.
2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Added a test case that checks if valid
number strings are transformed correctly by string->number.
2001-09-21 17:58:04 +00:00
2001-09-21 Rob Browning <rlb@defaultvalue.org>
* tests/numbers.test (fixnum-bit): compute dynamically.
* tests/bit-operations.test (fixnum-bit): compute dynamically.
2001-09-08 02:34:27 +00:00
2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
* tests/getopt-long.test ("apples-blimps-catalexis example",
"multiple occurances"): New top-level sections.
2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Made some of the patterns better readable.
2001-08-25 19:10:29 +00:00
2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
* tests/srfi-19.test (test-time-comparision,
test-time-arithmatic): New procs.
Add time comparison tests using new procs.
Thanks to Alex Shinn.
2001-08-25 16:12:28 +00:00
2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
* tests/dynamic-scope.test: New file.
2001-08-24 22:07:20 +00:00
2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
* tests/srfi-13.test (string-for-each, string-for-each-index):
Add tests. (Thanks to Alex Shinn.)
2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
* tests/srfi-13.test (string-map): Swapped order of string and
proc args to conform with the srfi. (Thanks to Alex Shinn.)
2001-08-12 18:34:11 +00:00
2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
* tests/getopt-long.test (exception:no-such-option,
exception:option-does-not-support-arg,
exception:option-must-be-specified,
exception:option-must-have-arg, exception:not-enough-args):
New vars.
("option-ref", "required", "specified no value, given anyway",
"specified arg required"): New top-level sections.
2001-08-11 16:59:42 +00:00
2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Added Some syntax tests for
string->number.
2001-08-09 17:33:45 +00:00
2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* Makefile.am (TESTS): Do not call the variable "TESTS", call it
"SCM_TESTS". This has special meaning to automake. How many
tries left to get this right, mvo?
2001-08-08 16:41:38 +00:00
2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* Makefile.am (TESTS): List tests explicitely instead of using a
wildcard. Wildcards don't seem to work for VPATH "make dist"s.
2001-08-07 18:18:55 +00:00
2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
* Makefile.am: New file, to control distribution of the
test-suite.
2001-08-02 10:14:17 +00:00
2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
* tests/getopt-long.test: New file.
2001-08-01 10:01:51 +00:00
2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
* lib.scm (run-test-exception): Add special handling for
`error'-generated exceptions, which pass key `misc-error' and
leave messages unformatted.
2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/alist.test, tests/bit-operations.test,
tests/common-list.test, tests/environments.test, tests/eval.test,
tests/gc.test, tests/hooks.test, tests/import.test,
tests/interp.test, tests/list.test, tests/load.test,
tests/numbers.test, tests/ports.test, tests/r4rs.test,
tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
copyright notice.
2001-07-16 18:49:10 +00:00
2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/srfi-14.test: New file.
2001-07-12 23:28:53 +00:00
2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
* tests/import.test: New file.
2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/goops.test: Started with some real tests.
2001-06-30 19:59:51 +00:00
2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* guile-test: Use module (ice-9 rdelim).
2001-06-27 13:17:12 +00:00
2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/srfi-4.test: New file.
2001-06-16 20:17:50 +00:00
2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
Thanks to Matthias K<>ppe!
* tests/ports.test: New test for output port line counts.
* tests/format.test, tests/optargs.test, tests/srfi-19.test: New
files.
2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/symbols.test ("gensym"): New tests for long gensym
prefices and embedded NULs in prefices.
2001-05-21 13:22:44 +00:00
2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
* test/goops.test, test/syncase.test: New, minimal tests.
2001-05-19 01:25:15 +00:00
2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
* tests/version.test: Updated test for new micro version stuff.
2001-05-16 18:04:20 +00:00
2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/srfi-13.test: More tests.
2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/srfi-10.test: New file.
* tests/srfi-9.test: New file.
* tests/srfi-13.test: Added some more tests.
2001-05-10 00:04:45 +00:00
2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
* tests/eval.test: ("evaluator" "memoization"): New test
prefix block.
("transparency"): New "evaluator memoization" test.
2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/srfi-13.test: Added module access kludge, and uncommented
some tests depending on this.
2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/srfi-13.test: New file testing the SRFI string library.
2001-04-26 Gary Houston <ghouston@arglist.com>
* tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
have run.
* tests/ports.test (test-file), tests/load.test (temp-dir):
redefined using data-file-name instead of tmpnam. the test files
will be created in the build directory instead of /var/tmp or
whereever tmpnam puts them.
2001-04-02 13:40:03 +00:00
2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/symbols.c: Added some tests.
2001-03-19 Gary Houston <ghouston@arglist.com>
* tests/r4rs.test: use test-file-name to locate r4rs.test,
not data-file-name.
* guile-test: define tmp-dir, the location where r4rs.test will
create it's temporary files.
(data-file-name): use tmp-dir. this must be under build-dir,
not src-dir.
2001-03-18 Gary Houston <ghouston@arglist.com>
* guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
first line.
2001-05-10 00:04:45 +00:00
2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/syntax.test: Added a test for let* bindings and
re-arranged and slightly improved the existing one.
2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* tests/syntax.test ("let*"): Changed the `duplicate bindings'
test, dups are allowed in `let*' and are now expected to pass.
2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (run-test-exception): Preserve the original error's
stack for re-throwing.
2001-03-03 23:56:28 +00:00
2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
* tests/syntax.test ("let,duplicate bindings", "let*,duplicate
bindings", "letrec,duplicate bindings"): Expect to pass, bug has
been fixed.
2001-03-03 15:17:05 +00:00
2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
2001-03-03 17:30:52 +00:00
* tests/syntax.test ("duplicate formals"): New category, move
appropriate tests here. Expect them to pass.
("empty parentheses"): Expect to pass, bug has been fixed.
2001-05-10 00:04:45 +00:00
2001-03-03 15:17:05 +00:00
* tests/alist.test: Use "'()" instead of "()" in all places
where the empty list is meant.
2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (exception:unbound-var, exception:wrong-num-args): New
exported constants.
* tests/r4rs.test: Make sure that no bindings for x and y exist
after the file is loaded.
* tests/syntax.test: New file.
* tests/exceptions.test, tests/syntax.test, tests/eval.test:
Moved the test cases that are related to guile's syntactic forms
from tests/exceptions.test to tests/syntax.test. Moved tests
related to evaluation and application to tests/eval.test.
* tests/exceptions.test: Added some test cases that check guile's
exception handling.
2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/exceptions.test, tests/numbers.test: Moved the number
related test cases from tests/exceptions.test to
tests/numbers.test.
* tests/numbers.test: Added a test case.
2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/symbols.test: New file.
(exception:immutable-string): New constant. Currently, this is a
dummy since guile does not have immutable strings.
* tests/exceptions.test, tests/strings.test, tests/symbols.test:
Moved the string related test cases from tests/exceptions.test to
tests/strings.test and the symbol related test cases to
tests/symbols.test.
* tests/strings.test: Copyright notice updated. Added a couple
of test cases.
(exception:immutable-string): New constant. Currently, this is a
dummy since guile does not have immutable strings.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/exceptions.test: Use expect-fail-exception to indicate
test cases where exceptions should occur, but don't.
(exception:bad-bindings, exception:bad-formals, exception:bad-var,
exception:missing/extra-expr): New constants.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/reader.test, tests/exceptions.test: Moved the reader
related test cases from tests/exceptions.test to
tests/reader.test.
* tests/reader.test (exception:eof, exception:unexpected-rparen):
New constants.
* tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
Removed.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (signals-error?, signals-error?*): Removed.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm: Added comment about new convenience functions/macros
to test for exceptions.
(exception:out-of-range, exception:wrong-type-arg): New exported
constants.
(run-test-exception): New function.
(pass-if-exception, expect-fail-exception): New exported macros.
* tests/environments.test: Fixed tests that were checking for
exceptions when set!ing an unbound symbol.
(exception:unbound-symbol): New constant.
* tests/hooks.test (catch-error-returning-true, pass-if-not,
catch-error-returning-false), tests/weaks.test
(catch-error-returning-true, pass-if-not,
2001-05-10 00:04:45 +00:00
catch-error-returning-false): Removed. The macro pass-if-not was
not used. The macro catch-error-returning-false is unnecessary
since exceptions are caught by the test-suite anyway. The
functionality of catch-error-returning-true is provided by the new
convenience macro pass-if-exception.
* tests/hooks.test (exception:wrong-num-hook-args): New constant.
Maybe a standard wrong-num-arg exception should be thrown instead
of a misc-error?
* tests/reader.test (try-to-read): Replaced by read-string.
(read-string): New function.
* tests/alist.test, tests/environments.test, tests/eval.test,
tests/hooks.test, tests/list.test, tests/ports.test,
tests/reader.test, tests/strings.test, tests/weaks.test: Replace
tests for exceptions with the new convenience macros.
2001-02-28 09:06:10 +00:00
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/alist.test: Remove redundant test name prefix.
2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (pass-if): Tests shall return a boolean value.
* tests/bit-operations.test (documented?), tests/common-list.test
(documented?), tests/environments.test (documented?),
tests/eval.test (documented?), tests/gc.test (documented?),
tests/numbers.test (documented?), tests/guardians.test,
tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
that tests return a boolean value.
* tests/list.test (documented?): New function, replace all checks
for documentation with calls to this function.
2001-02-27 11:10:07 +00:00
2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (data-file): Remove from export list.
2001-02-23 02:39:43 +00:00
2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
2001-02-23 10:24:37 +00:00
* tests/exceptions.test (syntax lambda): Renamed from (lambda).
(syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
(syntax reading): New section.
(syntax let*): New section.
(syntax letrec): New section.
(syntax set!): New section.
(syntax misc): New section.
(bindings unbound): New section.
(bindings immutable-modification): New section.
(bindings let): New section.
(bindings let*): New section.
(bindings letrec): New section.
2001-02-23 02:39:43 +00:00
* tests/exceptions.test: New file.
2001-02-08 18:52:05 +00:00
2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* guile-test: Use (ice-9 and-let-star) instead of (ice-9
and-let*).
2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
This patch fixes things that I have broken with the last one :-(
* guile-test (test-suite): New variable.
(data-file-name): New function. Has the same purpose as the
former function data-file from lib.scm. Moved here in order to
have all file name handling at the same place. In contrast to the
former 'data-file function, it is not checked whether a file
exists. This allows to use this function also for file names of
files that are still to be created.
(test-file-name): Use the global 'test-suite variable.
(main): Initialize 'test-suite instead of a local variable.
* lib.scm: Don't import paths any more.
(data-file): Removed. Resurrected with a sligtly different
functionality as 'data-file-name' in guile-test.
* r4rs.scm: For all references to temporary file, make use of
data-file-name.
2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
The following patch was sent by Thien-Thi Nguyen and a little bit
modified by me.
* guile-test: Usage and installation comments improved. Added
support for --test-suite and --debug command line options.
(default-test-suite): Added to allow for simplified
configurability. No need to load the paths file any more.
(enable-debug-mode): New function. Will be called when the
--debug command line option is given.
(test-root): Removed. The test directory has to be fully given.
This allows for arbitrarily named test directories.
(test-file-name, enumerate-tets): Take the test directory as a
paramter instead of using the global variable 'test-root'.
(main): Handle the new command line options. Return an exit code
depending on whether all tests came out as expected.
* README: Updated.
* paths.scm: Removed.
2001-01-24 Gary Houston <ghouston@arglist.com>
* tests/ports.test: include (ice-9 rdelim) module.
2001-01-18 17:24:10 +00:00
2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/numbers.test: Converted to do real boundary testing.
2001-01-17 18:22:26 +00:00
2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/bit-operations.test: Added.
2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/gc.test: Added.
2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/strings.test: string=? is fixed.
2000-10-13 07:55:25 +00:00
2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test: Removed references to sloppy-mem(q|v|ber)
2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/strings.test: Added a test to help remember that string=?
and friends need fixing.
2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: For tests that rely on garbage
collection, conservative scanning can be a problem. Add a comment
for these tests and make them turn out unresolved if things don't
work as expected.
2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: Finished and cleaned up the tests for
the leaf environments. Added a complete set of testcases for the
leaf environment based eval environments. Started with the tests
for the import environments.
2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: Added.
2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* lib.scm (pass-if, expect-fail): Generalized to allow a sequence
of expressions.
* tests/eval.test: Fix documentation test.
2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test: Added tests for list-ref, list-set! and
list-cdr-set!
2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/common-list.test: Added.
2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/eval.test: Added.
2000-06-19 10:05:54 +00:00
2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test: Use cons* instead of list*.
2000-06-13 00:12:27 +00:00
2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* tests/numbers.test, tests/list.test: Updated for new
documentation module.
2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/hooks.test: make-hook-with-name is deprecated.
2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/list.test, tests/numbers.test: Added.
2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
* guile-test: Eliminate use of catch-test-errors.
* lib.scm: Adopted a couple of nice ideas from Greg.
(pass, fail, expect-failure, expect-failure-if,
expect-failure-if*, catch-test-errors, catch-test-errors*,
expected-failure-fluid, pessimist?): Removed.
(run-test, expect-fail, result-tags, important-result-tags):
Added.
(report, make-count-reporter, print-counts, make-log-reporter,
full-reporter, user-reporter): Reporters take two mandatory
arguments and make use of the tag descriptions in result-tags and
important-result-tags.
* tests/alist.test, tests/hooks.test, tests/ports.test,
tests/weaks.test: Don't use catch-test-errors and
expect-failure-if.
2000-05-05 12:22:46 +00:00
2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* mambo.test: Removed dummy file.
2000-03-31 19:24:09 +00:00
2000-03-31 Gary Houston <ghouston@arglist.com>
* tests/ports.test (non-blocking-I/O): a couple more details:
a) combine the O_NONBLOCK flag with the default flags instead
of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
2000-03-23 23:47:04 +00:00
2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
* lib.scm: Doc fixes.
2000-01-16 22:07:08 +00:00
Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
* paths.scm: Assume that ~/guile-core/test-suite is the location
of the test suite now.
* tests/version.test: Added -- version.c had 0% coverage before,
now at 100%.
* tests/chars.test: Added -- needed test of char-is-both?.
1999-12-22 10:13:57 +00:00
1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
1999-12-22 11:41:47 +00:00
* tests/weaks.test, tests/hooks.test: Added.
1999-12-22 10:13:57 +00:00
1999-12-18 13:24:33 +00:00
1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
* tests/alist.test: Added.
1999-12-17 20:15:57 +00:00
Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
* tests/c-api.test: Refine the list of files that are checked in
the seek-offset-test. Was just using files that end in "c", but
2001-02-23 02:39:43 +00:00
that caught the new ".doc" files, too, so make sure that files end
1999-12-17 20:15:57 +00:00
in ".c" before requiring that they include unistd.h if they
reference SEEK_(SET|CUR|END).
1999-10-24 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test ("string ports"): test seeking/unreading from
an input string and seeking an output string.
1999-10-20 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: in seek/tell test on input port, also test
that ftell doesn't discard unread chars.
1999-10-18 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: add seek/tell tests for unidirectional ports.
1999-09-25 23:41:59 +00:00
1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/reader.test: Check that number->string checks its radix
properly.
2001-02-23 02:39:43 +00:00
1999-09-20 22:52:08 +00:00
1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
1999-09-20 23:57:55 +00:00
* tests/ports.test: Check that our input functions cope when
current-input-port is closed.
1999-09-20 22:52:08 +00:00
* tests/regexp.test: Check regexp-substitute/global when there are
no matches. (Duh.)
1999-09-15 15:28:44 +00:00
1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* tests/c-api.test: New file. Add test to check that all source
files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1999-09-14 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: test non-blocking I/O.
1999-09-11 18:51:58 +00:00
1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/strings.test: Add test for substring-move! argument checking.
* lib.scm (signals-error?, signals-error?*): New macro and function.
* tests/reader.test: Use them.
* tests/interp.test: Add copyright notice.
* tests/reader.test: New test file.
* tests/regexp.test: New test file.
1999-09-06 18:42:03 +00:00
1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* tests/interp.test: Added tests for evaluation of closure bodies.
1999-09-03 07:37:33 +00:00
1999-09-03 James Blandy <jimb@mule.m17n.org>
* tests/multilingual.nottest: New file, which we will turn into a
test file once we actually have multilingual support to test.
* tests/load.test: New test file.
1999-08-30 07:46:07 +00:00
1999-08-30 James Blandy <jimb@mule.m17n.org>
* tests/strings.test: New test file.
1999-08-29 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test unread-char and unread-string.
1999-08-19 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test line-buffering of fports.
1999-08-18 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for NUL and non-ASCII chars to fports.
1999-08-12 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: lseek -> seek.
1999-08-04 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: tests for buffered and unbuffered input/output
fports with seeking.
1999-08-01 08:08:18 +00:00
1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/r4rs.test (SECTION 3 4): Each element of type-matrix
corresponds to an example object, not a predicate. Aubrey
probably never noticed this because SCM doesn't check the lengths
of the arguments to for-each and map...
* tests/ports.test: Add some regression tests for char-ready?.
1999-07-19 08:11:28 +00:00
1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1999-08-01 08:08:18 +00:00
* tests/ports.test: Fix copyright years.
* tests/guardians.test: New test file.
1999-07-19 08:11:28 +00:00
* tests/ports.test ("read-delimited!"): New tests.
1999-06-19 16:28:17 +00:00
1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/interp.test: New file.
1999-06-15 08:40:04 +00:00
1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1999-06-15 14:10:06 +00:00
* tests/time.test: New test file.
1999-06-15 08:40:04 +00:00
* tests/r4rs.test: New set of tests, taken from Guile's test
script, taken from SCM.
* tests/ports.test: Group the string port tests under a new
test name prefix.
* tests/ports.test ("line counter"): Check the final column, too.
* lib.scm: Import (test-suite paths).
(data-file): New exported function.
1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
* tests/ports.test ("line counter"): Add test for correct column
at EOF.
1999-06-09 08:57:32 +00:00
1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1999-06-09 09:42:21 +00:00
* tests/ports.test ("line counter"): Verify that we do eventually
get EOF on the port --- don't just read forever.
1999-06-09 08:57:32 +00:00
* lib.scm (full-reporter): The test name is the cadr of the
result, not the cdr. I'm not macho enough to handle run-time
typechecking.
1999-06-09 09:42:21 +00:00
* lib.scm (print-counts): XFAILS are "expected failures", not
"unexpected failures."
1999-06-09 08:57:32 +00:00
* lib.scm, guile-test, paths.scm: Log begins.