Only run `test-with-guile-module' when pthread support is built.
[bpt/guile.git] / test-suite / ChangeLog
index 29ab92c..fa0fb78 100644 (file)
@@ -1,3 +1,522 @@
+2008-04-26  Ludovic Courtès  <ludo@gnu.org>
+
+       * standalone/Makefile.am (TESTS): Only add
+       `test-with-guile-module' when `BUILD_PTHREAD_SUPPORT' is true.
+       Reported by Alain Guibert <alguibert+bts@free.fr>.
+
+2008-04-26  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/srfi-35.test (cond-expand): New test.
+
+2008-04-26  Ludovic Courtès  <ludo@gnu.org>
+
+       * Makefile.am (SCM_TESTS): Add `tests/srfi-88.test'.
+       * tests/srfi-88.test: New file.
+
+2008-04-15  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/reader.test (read-options)[prefix non-keywords, postfix
+       keywords, `:' is not a postfix keyword (per SRFI-88)]: New tests.
+
+2008-04-13  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/goops.test (defining classes)[interaction with
+       `struct-ref', interaction with `struct-set!']: New test.  Checks
+       the interaction of `struct-ref' with "light structs", fixed on
+       2008-04-10 (commit 4650d115020924e8da5547d4c346cbe5cd01029e).
+
+2008-04-06  Ludovic Courtès  <ludo@gnu.org>
+
+       * standalone/test-asmobs-lib.c, standalone/test-conversion.c,
+       standalone/test-gh.c, standalone/test-list.c,
+       standalone/test-num2integral.c, standalone/test-round.c: Make
+       sure "config.h" is included first; use angle brackets for
+       <config.h> and <libguile.h>.
+
+2008-03-13  Ludovic Courtès  <ludo@gnu.org>
+
+       * standalone/Makefile.am (test_cflags): Add `-I' flags for
+       Gnulib, so that <alloca.h> can be found.
+       (snarfcppopts): Likewise.
+
+       * tests/socket.test (temp-file-path): New.  Replace calls to
+       `tmpnam' with calls to `temp-file-path', so that `$TMPDIR' is
+       honored.
+       * standalone/test-unwind.c (check_ports): Honor `$TMPDIR'.
+
+2008-03-12  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/srfi-37.test (short options without arguments): New
+       test.
+
+2008-02-23  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * standalone/test-with-guile-module.c: Updated to GNU coding
+       standards; added standard license statement.
+
+2008-02-15  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/gc.test (gc): Add hack to clean up the stack so that the
+       test passes on SPARC.
+
+2008-02-01  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * standalone/Makefile.am: Add stanza for test-with-guile-module.
+
+       * standalone/test-with-guile-module.c: New test.
+
+2008-01-22  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * COPYING: Removed.
+
+2008-01-18  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/hash.test: New "hashx" test supplied by Gregory Marton;
+       prior to today's fix in libguile/hashtab.c, this caused a
+       segmentation fault.
+
+2007-12-29  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * standalone/test-bad-identifiers: New test.
+       (top level): Explain the point of this test.
+
+       * standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
+
+2007-12-13  Stephen Compall  <s11@member.fsf.org>
+
+       * tests/srfi-69.test (SRFI-69)[can use all arguments, including
+       size]: New test.
+
+2007-12-03  Stephen Compall  <s11@member.fsf.org>
+
+       * tests/srfi-69.test: New file.
+       * Makefile.am: Add it.
+
+2007-10-21  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/continuations.test ("continuations"): Use
+       with-debugging-evaluator.
+
+       * lib.scm (with-debugging-evaluator*, with-debugging-evaluator):
+       New utilities.
+
+       * standalone/test-use-srfi: Use -q to avoid picking up the user's
+       ~/.guile file.
+
+       * tests/eval.test (promises)[unmemoizing a promise]: New test.
+
+2007-10-20  Julian Graham  <joolean@gmail.com>
+
+       * tests/threads.test: Use proper `define-module'.
+       (cancel-thread, handler result passed to join, can cancel self,
+       handler supplants final expr, remove handler by setting false,
+       initial handler is false): New tests.
+
+2007-10-17  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/reader.test (reading)[CR recognized as a token
+       delimiter]: New test.
+
+2007-10-10  Ludovic Courtès  <ludo@gnu.org>
+
+       * standalone/test-conversion.c: Include <inttypes.h> where
+       available.  Use `PRIiMAX' and `PRIuMAX' to print
+       `scm_t_u?intmax'.  Fixes warnings on x86_64.  Reported by Poor
+       Yorick <org.gnu.lists.guile-user@pooryorick.com>.
+
+       * standalone/Makefile.am (test_cflags): Removed reference to
+       `libguile-ltdl'.
+
+2007-09-03  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/reader.test (reading)[block comment finishing sexp]: New
+       test.
+
+2007-08-26  Han-Wen Nienhuys  <hanwen@lilypond.org>
+
+       * tests/ports.test ("port-for-each"): remove unresolved for
+       port-for-each memory test.
+       ("fdes->port"): test fdes->port
+
+2007-08-23  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/reader.test (read-options)[positions on quote]: New
+       test, proposed by Kevin Ryde.
+
+2007-08-23  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/ports.test (port-for-each): New test for passing freed cell,
+       marked as unresolved since problem not yet fixed.
+
+2007-08-11  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/srfi-35.test: New file.
+       * Makefile.am (SCM_TESTS): Added `tests/srfi-35.test'.
+
+2007-08-08  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/srfi-9.test (exception:not-a-record): Removed.
+       (accessor)[get-x on number, get-y on number]: Expect
+       `exception:wrong-type-arg' instead of `exception:not-a-record'.
+       (modifier)[set-y! on number]: Likewise
+
+2007-07-25  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/srfi-17.test (%some-variable): New.
+       (set!)[target uses macro]: New test prefix.  The
+       "(set! (@@ ...) 1)" test is in accordance with Marius Vollmer's
+       change in `libguile' dated 2003-11-17.
+
+2007-07-22  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/reader.test: Added a proper header and `define-module'.
+       (exception:unterminated-block-comment,
+       exception:unknown-character-name,
+       exception:unknown-sharp-object, exception:eof-in-string,
+       exception:illegal-escape, with-read-options): New.
+       (reading)[block comment, unprintable symbol]: New tests.
+       (exceptions): New test prefix.
+       (read-options): New test prefix.
+
+2007-07-18  Stephen Compall  <s11@member.fsf.org>
+
+       * tests/syntax.test: Add SRFI-61 `cond' tests.
+
+       * tests/srfi-37.test: New file.
+       * Makefile.am: Add it.
+
+2007-07-11  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/goops.test (defining methods): New test prefix.
+
+2007-07-09  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/srfi-19.test (`time-utc->julian-day' honors timezone):
+       New.  Suggested by Jon Wilson <j85wilson@fastmail.fm>.
+
+2007-06-26  Ludovic Courtès  <ludo@gnu.org>
+
+       * tests/socket.test (htonl): Only executed if `htonl' is defined.
+       (ntohl): Likewise.  Reported by Marijn Schouten (hkBst)
+       <hkBst@gentoo.org>.
+
+2007-06-12  Ludovic Courtès  <ludo@chbouib.org>
+
+       * tests/socket.test: Renamed module to `(test-suite test-socket)'.
+       (inet-ntop): New test prefix.
+
+2007-06-07  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * lib.scm (exception:system-error): New variable.
+
+       * tests/posix.test (ttyname): New test prefix.  Catches a bug
+       reported by Dan McMahill.
+
+2007-05-26  Ludovic Courtès  <ludo@chbouib.org>
+
+       * tests/syntax.test (top-level define)[binding is created before
+       expression is evaluated]: Moved to "internal define", using `let'
+       instead of `begin'.  The test was not necessarily valid for
+       top-level defines, according to Section 5.2.1 or R5RS.
+       [redefinition]: New.
+
+2007-05-09  Ludovic Courtès  <ludo@chbouib.org>
+
+       * tests/srfi-19.test ((current-time time-tai) works): Use `time?'.
+       ((current-time time-process) works): New test, catches a bug
+       reported by Scott Shedden.
+
+2007-05-05  Ludovic Courtès  <ludo@chbouib.org>
+
+       * tests/modules.test: Use `define-module'.  Use `(srfi srfi-1)'.
+       (foundations, observers, duplicate bindings, lazy binder): New
+       test prefixes.
+       (autoload)[module-autoload!]: New test.
+
+2007-03-08  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/structs.test (make-struct): Exercise the error check on tail
+       array size != 0 when layout spec doesn't have tail array.
+       (make-vtable): Exercise this.
+
+2007-02-22  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/structs.test (make-struct): New test of type check on a "u"
+       field, which had been causing an abort().
+
+2007-02-20  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * standalone/Makefile.am (check_SCRIPTS): Add test-use-srfi, so
+       that it gets into the distribution.
+
+2007-02-19  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * standalone/Makefile.am (check_SCRIPTS): Add test-use-srfi, so
+       that it gets into the distribution.
+
+2007-01-31  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * tests/i18n.test: Use `(srfi srfi-1)'.
+       (exception:locale-error): New.
+       (locale objects): Test `make-locale' with both lists of `LC_*'
+       values and single `LC_*' values (instead of `LC_*_MASK' values).
+       [%global-locale]: New test.
+       (number parsing)[locale-string->inexact (French)]: New test.
+       (%c-locale, %english-days, every?): New top-level variables.
+       (nl-langinfo et al.): New test prefix.
+
+       * tests/srfi-19.test: Install the C locale.
+       (SRFI date/time library)[string->date understands days and
+       months]: New test.
+
+2007-01-27  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/ports.test (port-line): Check not truncated to "int" on 64-bit
+       systems.
+
+2007-01-25  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/sort.test (stable-sort): New test, exercising empty list
+       input.  As reported by Ales Hvezda.
+
+       * tests/time.test (gmtime in another thread): Catch #t all errors from
+       gmtime in the thread, since it can be a system error not a scheme
+       out-of-range on 64-bit systems.  Reported by Marijn Schouten.
+
+2007-01-19  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * tests/eval.test (values): New test prefix.  Values are structs,
+       and `equal?' on structs with `s' fields used to yield infinite
+       recursion.
+       * tests/structs.test (equal?): New test prefix.  Added tests that
+       used to show the infinite recursion problem.
+
+2007-01-16  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/regexp.test (regexp-exec): Further tests, in particular #\nul
+       in input and bad flags args which had been provoking abort()s.
+       * lib.scm (exception:string-contains-nul): New exception pattern.
+
+2006-12-24  Han-Wen Nienhuys  <hanwen@lilypond.org>
+
+       * tests/numbers.test ("equal?"): add case for reduction of
+       rational numbers. 
+
+2006-12-13  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/eval.test: Exercise top-level define setting procedure-name.
+       * tests/srfi-17.test (car): Check procedure-name property.
+
+       * tests/numbers.test (*): Exercise multiply by exact 0 giving exact 0.
+
+2006-12-12  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * tests/unif.test (syntax): New test prefix.  Check syntax for
+       negative lower bounds and negative lengths (reported by Gyula
+       Szavai) as well as `array-in-bounds?'.
+
+2006-12-09  Kevin Ryde  <user42@zip.com.au>
+
+       * standalone/test-use-srfi: New test.
+       * standalone/Makefile.am (TESTS): Add it.
+
+2006-12-03  Kevin Ryde  <user42@zip.com.au>
+
+       * standalone/Makefile.am (.x): Change from %.c %.x style to .c.x style
+       since the former is a GNU make extension.  (Rule now as per
+       libguile/Makefile.am.)
+
+       * standalone/Makefile.am (test_cflags): Change from := to plain =, as
+       the former is not portable (according to automake).
+
+2006-12-02  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (min, max): Correction to big/real and real/big
+       tests, `big*5' will round on a 64-bit system.  And use `eqv?' to
+       ensure intended exact vs inexact is checked.  Reported by Aaron
+       M. Ucko, Debian bug 396119.
+
+2006-11-29  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * test-suite/tests/vectors.test: Use `define-module'.
+       (vector->list): New test prefix.  "Shared array" test contributed
+       by Szavai Gyula.
+
+2006-11-18  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * Makefile.am (SCM_TESTS): Added `tests/i18n.test'.
+
+       * tests/i18n.test: New file.
+
+2006-11-17  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * README: Note need for subscription to bug-guile@gnu.org.
+
+2006-11-02  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/environments.test: Comment out all tests in this file.
+
+2006-10-26  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * tests/srfi-14.test (Latin-1)[char-set:punctuation]: Fixed a
+       typo: `thrown' instead of `throw'.
+
+2006-10-05  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/ftw.test: New file.
+       * Makefile.am (SCM_TESTS): Add it.
+
+2006-10-03  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/eval.test (apply): New tests, exercising scm_tc7_subr_2o which
+       had lacked some arg count checking.
+
+2006-09-26  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/ports.test (seek): New tests.
+       (truncate-file): More tests.
+
+2006-09-23  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (exp, log, log10, sqrt): New tests.
+
+       * tests/format.test, tests/srfi-1.test: Use define-module to prevent
+       redefined funcs in those modules extending on to subsequent tests.
+
+       * tests/time.test (gmtime, strptime): Remove the "unresolved" throws,
+       the error+thread tests seem ok now (previously were upset by something
+       leaking out of syntax.test).
+
+2006-09-20  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * tests/srfi-14.test: Use `define-module'.  Use modules `(srfi
+       srfi-1)' and `(test-suite lib)'.
+       (string->char-set, standard char sets (ASCII), Latin-1 (8-bit
+       charset)): New test prefixes.
+       (every?, find-latin1-locale): New procedures.
+       (%latin1): New variable.
+
+2006-09-08  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/format.test (~f): Test leading zeros bugfix.
+
+2006-08-25  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/popen.test (open-input-pipe, open-output-pipe): In the "no
+       duplicate" tests, close parent side of signalling pipe, to hopefully
+       generate an error instead of a hang if something bad in the child
+       means it doesn't write anything.
+
+2006-08-22  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/srfi-9.test: More tests, in particular check for exceptions on
+       wrong record types passed to accessor and modifier funcs.
+
+2006-07-25  Kevin Ryde  <user42@zip.com.au>
+
+       * standalone/test-conversion.c, standalone/test-gh.c,
+       standalone/test-list.c, standalone/test-num2integral.c,
+       standalone/test-round.c: Use scm_boot_guile rather than
+       scm_init_guile, for the benefit of those systems where we can't
+       implement the latter.  Reported by Claes Wallin.
+
+       * standalone/test-require-extension: Use "&& exit 1" instead of "!" to
+       invert the sense of exit statuses, as the latter doesn't work on
+       Solaris 10.  Reported by Claes Wallin.
+
+2006-07-24  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/socket.test (htonl, ntohl): New tests.
+
+2006-07-06  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/time.test (localtime, mktime, strptime): More tests.
+
+2006-06-13  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * Makefile.am (SCM_TESTS): Added `tests/structs.test'.
+       * tests/structs.test: New file.
+       * lib.scm (exception:struct-set!-denied): New.
+       (exception:miscellaneous-error): New.
+
+2006-05-30  Marius Vollmer  <mvo@zagadka.de>
+
+       * tests/unif.test ("vector equal? one-dimensional array"): New.
+
+2006-05-28  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (number->string): Disable 11.333 and 1.324e44
+       tests, as these can't be expected to come out precisely in the current
+       implementation, and in fact don't under gcc 4.  Reported by Hector
+       Herrera.
+
+       * tests/srfi-1.test (append-reverse, append-reverse!): New tests.
+
+2006-05-28  Marius Vollmer  <mvo@zagadka.de>
+
+       * tests/ports.test, tests/filesys.test: Delete test file after all
+       tests have run in order to make "make distcheck" work.
+
+2006-05-20  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/srfi-1.test (assoc): A few tests, in particular "=" argument
+       order which had been wrong.
+
+       * tests/srfi-60.test (test-srfi-60): Use #:duplicates (last) to
+       suppress warning about replacing bit-count.
+
+2006-05-09  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (exact->inexact): Test fractions big/big.
+
+       * tests/threads.test (n-par-for-each, n-for-each-par-map): New tests.
+
+2006-04-17  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/filesys.test (lstat): Allow for test-symlink not existing yet.
+
+2006-04-16  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/filesys.test (lstat, stat): New tests.
+       * tests/ports.test (truncate-file): New tests.
+
+2006-03-28  Kevin Ryde  <user42@zip.com.au>
+
+       * Makefile.am (SCM_TESTS): Remove slib.test, it fails with current
+       slib and the ice-9 slib module is due for revision soon.
+
+2006-03-19  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/unif.test (make-shared-array): Another test which failed in
+       1.8.0 but is ok now.
+
+2006-03-05  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/unif.test (make-shared-array): Add example usages from the
+       manual, two of which currently fail.
+
+2006-03-04  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * test-suite/tests/modules.test: New file.
+       * test-suite/Makefile.am (SCM_TESTS): Added it.
+
+2006-02-26  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/filesys.test (opendir etc): Exercise a little.
+
+       * tests/strings.test (string<?, string-ci<?, string<=?, string-ci<=?,
+       string>?, string-ci>?, string>=?, string-ci>=?): Check ordering is the
+       same as char<? etc.  Use a define-module to keep private test bits
+       private.
+       * tests/srfi-13.test (string-compare, string-compare-ci): Ditto.
+
+       * tests/unif.test (array-set!): Exercise bitvector case, which had
+       been seg faulting.
+
+2006-02-07  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/poe.test (pure-funcq): New tests.
+
 2006-02-04  Neil Jerram  <neil@ossau.uklinux.net>
 
        * tests/exceptions.test: 19 new test cases.
 
        * tests/srfi-1.test (lset-difference!): More tests.
 
-2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
+2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
 
        * tests/socket.test (make-socket-address): New tests.
        (connect, bind, sendto): Exercise sockaddr object.
        * 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.
+       BSD.  Reported by Andreas Vögele.
 
 2004-05-29  Dirk Herrmann  <dirk@dirk-herrmanns-seiten.de>
 
 
        * tests/srfi-19.test (test-dst, string->date local DST): Test with
        "EST5EDT" instead of "CET", since HP-UX doesn't know CET.  Reported by
-       Andreas Vögele.
+       Andreas Vögele.
 
 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.
+       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>
 
 2001-06-16  Marius Vollmer  <mvo@zagadka.ping.de>
 
-        Thanks to Matthias Köppe!
+        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
@@ -2120,3 +2639,7 @@ Fri Dec 17 12:14:10 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
        * lib.scm, guile-test, paths.scm: Log begins.
 
+
+;; Local Variables:
+;; coding: utf-8
+;; End: