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

917 commits

Author SHA1 Message Date
Kevin Ryde
08ee6abd86 * tests/hash.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-09 22:16:04 +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
Marius Vollmer
aacc831855 *** empty log message *** 2004-07-08 16:03:45 +00:00
Marius Vollmer
79e9bca7e9 Use scm_from_int instead of SCM_MAKINUM and scm_is_eq instead
SCM_EQ_P.
2004-07-08 16:03:01 +00:00
Marius Vollmer
67b74a4c3e (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Removed and used SCM_I_LLONG_MIN
etc. instead.

* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
SCM_I_MAKINUM and changed all uses.
2004-07-08 16:01:02 +00:00
Marius Vollmer
c9eb03bb73 *** empty log message *** 2004-07-07 15:27:21 +00:00
Marius Vollmer
afdb04ef18 Don't define SCM_T_INTMAX_MIN,
etc, they are now provided by libuile.h.
(test_int_sizes): New.
2004-07-07 15:25:23 +00:00
Marius Vollmer
9b5eee309e *** empty log message *** 2004-07-06 13:20:07 +00:00
Marius Vollmer
66dd7f149c 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.
2004-07-06 13:19:42 +00:00
Marius Vollmer
170bb182fa New file. 2004-07-06 13:13:37 +00:00
Marius Vollmer
2aac7a4825 Added test-conversion to the TESTS. 2004-07-06 13:13:14 +00:00
Marius Vollmer
9cb7d02b42 *** empty log message *** 2004-07-06 12:02:59 +00:00
Rob Browning
b4e9301202 new test for SRFI-31. 2004-06-20 14:22:22 +00:00
Rob Browning
6293838ce4 *** empty log message *** 2004-06-20 14:21:31 +00:00
Rob Browning
dfedf226e6 (SCM_TESTS): add tests/srfi-31.scm. 2004-06-20 14:21:07 +00:00
Marius Vollmer
c10b894e6b *** empty log message *** 2004-06-15 13:20: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
845087a40d *** empty log message *** 2004-05-29 22:53:34 +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
Kevin Ryde
0825ae0b5b (exception:numerical-overflow): New define. 2004-05-29 22:09:52 +00:00
Dirk Herrmann
12255c5896 * standalone/test-asmobs-lib.c: Fixed include statement. 2004-05-29 08:58:22 +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
3d5ebfa95c *** empty log message *** 2004-05-10 20:43:00 +00:00
Marius Vollmer
d39a7b5881 (number->string): Added tests for non-radix-10 floating point
conversions.
2004-05-10 20:41:54 +00:00
Marius Vollmer
ed9f718f63 Added test-round. 2004-05-10 20:36:27 +00:00
Kevin Ryde
d12a658091 *** empty log message *** 2004-05-09 22:54:06 +00:00
Kevin Ryde
abff733bd7 (logbit?): New tests. 2004-05-09 22:53:24 +00:00
Kevin Ryde
58a4b0d6ac *** empty log message *** 2004-05-09 22:50:24 +00:00
Kevin Ryde
34a3e10b36 (logbit?): New tests. 2004-05-09 22:49:43 +00:00
Kevin Ryde
1dccbf7f5f *** empty log message *** 2004-05-09 00:54:57 +00:00
Kevin Ryde
c60695a109 *** empty log message *** 2004-05-09 00:53:39 +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
fc894caf84 *** empty log message *** 2004-05-09 00:50:30 +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
5ad9bb4b39 *** empty log message *** 2004-05-02 23:32:58 +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
b551c697dd *** empty log message *** 2004-05-02 23:09:37 +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
69b6234893 *** empty log message *** 2004-04-27 23:48:18 +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
Kevin Ryde
dfa6017ebe *** empty log message *** 2004-04-27 23:35:56 +00:00
Kevin Ryde
b313d73a19 (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-27 23:19:35 +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
cff55508f9 *** empty log message *** 2004-04-24 21:18:30 +00:00
Kevin Ryde
32938e4dec * tests/socket.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-04-24 21:17:13 +00:00
Kevin Ryde
4064ed2ab5 New file. 2004-04-24 21:13:16 +00:00
Kevin Ryde
7fd8fe2cd5 * tests/srfi-1.test: New file, exercising extended list-copy.
* Makefile.am (SCM_TESTS): Add it.
2004-04-23 21:27:04 +00:00