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

500 commits

Author SHA1 Message Date
Kevin Ryde
32b435f201 *** empty log message *** 2004-07-27 23:47:16 +00:00
Kevin Ryde
a1f3180a92 (array-set!): Exercise svect value range check. 2004-07-27 23:27:51 +00:00
Kevin Ryde
081c1b24fa *** empty log message *** 2004-07-27 22:55:55 +00:00
Kevin Ryde
710491c564 (make-regexp): Exercise flags args validation. 2004-07-27 22:49:52 +00:00
Kevin Ryde
6364df3429 *** empty log message *** 2004-07-23 23:43:57 +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
ae13e8e1ca *** empty log message *** 2004-07-19 00:59:27 +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
Marius Vollmer
0523f1c0d8 *** empty log message *** 2004-07-10 14:43:55 +00:00
Marius Vollmer
abe1308cb9 (test_is_signed_integer, test_is_unsigned_integer): Expect inexact
integers to fail.
2004-07-10 14:39:12 +00:00
Kevin Ryde
677104a65c *** empty log message *** 2004-07-09 22:27:47 +00:00
Kevin Ryde
08ee6abd86 * tests/hash.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-09 22:16:04 +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
1dccbf7f5f *** empty log message *** 2004-05-09 00:54:57 +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
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
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