1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-18 02:00:20 +02:00
Commit graph

378 commits

Author SHA1 Message Date
Kevin Ryde
dc23abab09 (putenv, setenv): New tests. 2004-08-10 00:16:30 +00:00
cvs2svn
d9acef9949 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-08-09 01:23:04 +00:00
Kevin Ryde
d6f7a8edfc New file. 2004-08-09 01:23:03 +00:00
Rob Browning
5bd63e0eb0 rewrite tests and add tests for write/read idempotency. 2004-08-07 16:34:42 +00:00
Kevin Ryde
2291a3a7e9 (array-fill!): Exercise byte range and type checks. 2004-08-06 01:08:12 +00:00
Kevin Ryde
e22b2890ed (array-fill!): Exercise byte range and type checks. 2004-08-06 01:06:55 +00:00
Kevin Ryde
3fdb855887 (uniform-vector-ref): Exercise byte returns. 2004-08-06 00:27:31 +00:00
Kevin Ryde
7f9ca7c3d7 (array-set!): Exercise byte array range checks. 2004-08-06 00:17:12 +00:00
Kevin Ryde
0ae2709899 (string-every): Check empty string case. 2004-08-02 00:31:21 +00:00
Kevin Ryde
4c6563e1ed (string-every): Check empty string case. 2004-08-02 00:30:21 +00:00
cvs2svn
dee19d4b18 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-07-31 01:24:35 +00:00
Kevin Ryde
5e996bd608 New file, exercising copy-file. 2004-07-31 01:24:34 +00:00
Kevin Ryde
4c4edb0621 (array-set!): Exercise svect value range check. 2004-07-27 23:40:17 +00:00
Kevin Ryde
a1f3180a92 (array-set!): Exercise svect value range check. 2004-07-27 23:27:51 +00:00
Kevin Ryde
8faf7aeeb4 (make-regexp): Exercise flags args validation. 2004-07-27 22:55:02 +00:00
Kevin Ryde
710491c564 (make-regexp): Exercise flags args validation. 2004-07-27 22:49:52 +00:00
Kevin Ryde
16ea0eb96a Add a copyright year. 2004-07-23 23:41:56 +00:00
Kevin Ryde
cd6f7d0bd2 Use #:duplicates (last) to
suppress warnings about current-time and raise replacing core bindings.
2004-07-23 23:41:35 +00:00
Kevin Ryde
26a4995c58 Use define-module, to as not to import
common-list into subsequent tests (eg. srfi-1 where `every' provokes a
warning).
2004-07-23 23:38:50 +00:00
Kevin Ryde
4fb318013b 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/format.test (~{): Test no arbitrary iteration limit.
2004-07-19 00:58:04 +00:00
Kevin Ryde
564f52cca9 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/format.test (~{): Test no arbitrary iteration limit.
2004-07-19 00:31:55 +00:00
Kevin Ryde
e5220ccdef New file. 2004-07-09 22:53:01 +00:00
cvs2svn
5367ad9510 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-07-09 22:14:20 +00:00
Kevin Ryde
40339d6b6f New file. 2004-07-09 22:14:19 +00:00
Rob Browning
b4e9301202 new test for SRFI-31. 2004-06-20 14:22:22 +00:00
Marius Vollmer
eb73f94b6a (number->string): Some results might differ between versions of Guile
compiled optimized and unoptimized.  Both results are accepted now.
2004-06-15 13:19:10 +00:00
Dirk Herrmann
aa498d0c1b * tests/syntax.test: Added various tests to check that
unmemoization works correctly.
2004-05-31 15:31:04 +00:00
Kevin Ryde
18ee5de9d4 * 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 22:13:27 +00:00
Dirk Herrmann
62ed3710b7 * tests/goops.test: Wrap tests in module (test-suite
test-<file-name without .test>).  Remove calls to deprecated macro
	`undefine'.
2004-05-24 04:01:06 +00:00
Marius Vollmer
d39a7b5881 (number->string): Added tests for non-radix-10 floating point
conversions.
2004-05-10 20:41:54 +00:00
Kevin Ryde
abff733bd7 (logbit?): New tests. 2004-05-09 22:53:24 +00:00
Kevin Ryde
34a3e10b36 (logbit?): New tests. 2004-05-09 22:49:43 +00:00
Kevin Ryde
beab6d49dc (test-dst, string->date local DST): Test with
"EST5EDT" instead of "CET", since HP-UX doesn't know CET.  Reported by
Andreas Vögele.
2004-05-09 00:53:11 +00:00
Kevin Ryde
957f3c2b6c (test-dst, string->date local DST): Test with
"EST5EDT" instead of "CET", since HP-UX doesn't know CET.
2004-05-09 00:49:25 +00:00
Kevin Ryde
020d2dd675 (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-05-02 23:25:41 +00:00
Kevin Ryde
feb3640d87 (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-05-02 23:08:58 +00:00
Dirk Herrmann
e68ef9c82b * 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-29 20:44:52 +00:00
Kevin Ryde
18137a7e19 (truncate, round, floor, ceiling): Add tests, in
particular exercising exactness fixes and scm_round 2^53-1 fix.
2004-04-27 23:47:22 +00:00
Dirk Herrmann
36245b66c2 * libguile/eval.c (s_macro_keyword): New static identifier.
(scm_m_define): Change order to first create binding and
	evaluating the expression afterwards.

	(scm_m_set_x): Memoize complete set! expression.  Only leave
	symbols if no binding exists at memoization time.  Throw error if
	assigning to a syntactic keyword.

	(lazy_memoize_variable): New function.

	(CEVAL): When execution set!, perform lazy memoization if
	unmemoized symbol is detected.

	* libguile/modules.c (module_variable): Return variables with
	unbound value.

	* libguile/tags.h: Fix comment.

	* test-suite/tests/syntax.test: Add test case to check the correct
	handling of define expressions.
2004-04-26 19:59:03 +00:00
Kevin Ryde
4064ed2ab5 New file. 2004-04-24 21:13:16 +00:00
Kevin Ryde
af7ffded27 New file, exercising extended list-copy. 2004-04-23 21:25:41 +00:00
Kevin Ryde
42b4fcb48d New file. 2004-04-23 21:17:34 +00:00
Kevin Ryde
7f703e0d21 (min): Correction, test "documented? min" not "documented? max". 2004-04-15 00:52:48 +00:00
Kevin Ryde
2530518ea9 (max, min): Exercise some inum/frac, frac/inum,
big/frac, frac/big and frac/frac cases.
2004-04-15 00:50:49 +00:00
Kevin Ryde
ad22fe7cf8 (quotient, remainder): Exercise inum/big at and
near special case inum == fixnum-min, big == -fixnum-min.
2004-04-05 23:05:37 +00:00
Kevin Ryde
24360e11b0 2004-03-26 Eric Hanchrow <offby1@blarg.net>
* tests/numbers.test (modulo-expt): New tests.
2004-03-25 21:46:35 +00:00
Kevin Ryde
23d77957a4 (min, max): Check inexactness of big/real and
real/big combinations, collect up tests under arg types for clarity.
2004-03-25 21:45:11 +00:00
Dirk Herrmann
62360b8975 * libguile/eval.c: Separated some definitions relevant for execution
from the memoization part of the file.

	(copy_tree): New static function

	(scm_copy_tree): Rewritten to fix two kinds or bugs: First, cyclic
	structures are detected now and will lead to an exception instead
	of forcing guile to run in an endless loop, using up all the
	system's memory.  Second, arrays in the cdr of an improper list
	are now copied.  See the new test cases in eval.test.

	* test-suite/tests/eval.test: Added tests which reflect the recent
	fixes to copy-tree.
2004-03-24 01:21:50 +00:00
Kevin Ryde
b233636a08 New file, exercise execl, execlp, execle errors. 2004-02-28 23:16:54 +00:00
cvs2svn
f07e4811d3 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-02-28 23:07:57 +00:00