Marius Vollmer
c3b4b2418c
Removed again. I was confused. The file added to SCM_TESTS was
...
r5rs_pitfall.test, not r5rs_pitfall.scm.
2004-01-23 21:13:01 +00:00
Dirk Herrmann
a264c013fd
* tests/syntax.test: Added test for unmemoizing internal defines.
2004-01-23 14:24:37 +00:00
Marius Vollmer
9a5fc8c203
*** empty log message ***
2004-01-21 00:47:50 +00:00
Marius Vollmer
012a3a7537
* tests/srfi-26.test: New.
...
* Makefile.am (SCM_TESTS): Added it.
2004-01-21 00:45:48 +00:00
Marius Vollmer
25ffbdacbd
*** empty log message ***
2004-01-11 00:59:04 +00:00
Marius Vollmer
c18140cf6e
* tests/r5rs_pitfall.scm: New.
...
* Makefile.am (SCM_TESTS): Added it.
2004-01-11 00:58:38 +00:00
Marius Vollmer
f1da8e4e0b
Renamed scm_frame_unwind to scm_frame_unwind_handler, and
...
scm_frame_rewind to scm_frame_rewind_handler.
2004-01-11 00:56:05 +00:00
Kevin Ryde
7dd5eb5898
*** empty log message ***
2004-01-11 00:28:08 +00:00
Kevin Ryde
8081c3fb51
* tests/exceptions.test (false-if-exception): Disable tests on
...
referencing expansion environment, reverted.
2004-01-11 00:18:25 +00:00
Marius Vollmer
fc6bb2831d
*** empty log message ***
2004-01-07 18:18:09 +00:00
Marius Vollmer
8843e1fa41
Adapted to 'frame' renamings. (check_fluid): New.
2004-01-07 18:18:00 +00:00
Marius Vollmer
a316356834
(SCM_TESTS): Added continuations.test.
2004-01-07 18:17:04 +00:00
Kevin Ryde
2359c543be
*** empty log message ***
2004-01-06 22:21:01 +00:00
Kevin Ryde
aa52913700
* Makefile.am (SCM_TESTS): Add unif.test.
2004-01-06 22:20:19 +00:00
Kevin Ryde
f410f8e7ba
New file.
...
(uniform-array-set1!): Exercise this, in particular previous segv on
improper arg list.
2004-01-06 22:19:23 +00:00
Kevin Ryde
fe89421e30
(<): Add tests inum/bignum/flonum/frac with frac.
2004-01-06 21:48:33 +00:00
Kevin Ryde
f14d16ed3a
Add copyright and license notice.
2004-01-06 21:47:09 +00:00
Kevin Ryde
e130b09ffa
(SCM_TESTS): Add q.test.
2004-01-06 21:45:48 +00:00
Kevin Ryde
8f85f93d88
New file.
...
(q-pop!): Exercise this, in particular the "not/null?" bug reported by
Richard Todd.
2004-01-06 21:43:55 +00:00
Marius Vollmer
aacff585bc
*** empty log message ***
2004-01-06 18:17:30 +00:00
Marius Vollmer
c05d0e8f1e
(close_port, delete_file, check_ports): New.
2004-01-06 18:13:51 +00:00
Marius Vollmer
dab514a843
*** empty log message ***
2004-01-03 21:56:35 +00:00
Marius Vollmer
3c8fb18ef6
* standalone/test-unwind.c: New test, for the frames stuff.
...
* standalone/Makefile.am: Compile and run it.
2004-01-03 21:54:23 +00:00
Marius Vollmer
81b0a6c1ae
added test-unwind
2004-01-03 21:53:21 +00:00
Kevin Ryde
6d611fedcc
*** empty log message ***
2004-01-03 21:12:45 +00:00
Kevin Ryde
9bc915bb07
(false-if-exception): Add tests.
2004-01-03 21:12:01 +00:00
Marius Vollmer
89fcf1b4aa
*** empty log message ***
2003-12-26 19:09:03 +00:00
Kevin Ryde
caff34d4fa
*** empty log message ***
2003-12-02 21:38:04 +00:00
Kevin Ryde
fc5f3d51c1
(real-part): Expect fraction return, not converted to flonum.
2003-12-02 21:32:43 +00:00
Kevin Ryde
64b4cbe4f3
Exercise most-negative-fixnum over -ve of most-negative-fixnum.
2003-12-02 21:24:58 +00:00
Kevin Ryde
76903a316a
(abs): Add a few more tests.
2003-12-02 21:23:31 +00:00
Kevin Ryde
f39032937e
(count): New tests.
2003-12-02 21:17:33 +00:00
Mikael Djurfeldt
f1efbdf3f1
(snarfcppopts): Added -I$(top_srcdir).
2003-12-01 18:49:38 +00:00
Marius Vollmer
96dfea7d7e
It's "#\\space", not "#\space".
2003-11-30 00:58:25 +00:00
Marius Vollmer
ca2b31fe08
#e1.2 is now exactly 12/10. Expect exceptions when calling inexact?
...
with a non-number.
2003-11-20 23:55:51 +00:00
Rob Browning
d26af5b23e
*** empty log message ***
2003-11-19 21:39:26 +00:00
Rob Browning
060ffedfe1
(check_SCRIPTS): add test-system-cmds.
...
(TESTS): add test-system-cmds.
2003-11-19 21:39:16 +00:00
Rob Browning
b10b93de99
* standalone/test-system-cmds: new test.
2003-11-19 21:39:07 +00:00
Marius Vollmer
c1f1071afc
Changed to reflect the fact that rationalize only returns an exact
...
result for exact arguments. Fixed bugs in tests that were not caught
previously since all fraction were treated as equal regardless of
value.
2003-11-19 05:15:51 +00:00
Marius Vollmer
bdf26b606b
*** empty log message ***
2003-11-18 20:01:57 +00:00
Marius Vollmer
9dd9857f77
* 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-18 19:57:30 +00:00
Marius Vollmer
9a1d7d7c8b
*** empty log message ***
2003-11-17 16:57:27 +00:00
Marius Vollmer
64daa01285
Expect a "Bad variable" error for (set! #f 1).
2003-11-17 16:55:03 +00:00
Dirk Herrmann
c86c440b17
* libguile/eval.c (s_mixed_body_forms): New static identifier.
...
(canonicalize_define, scm_m_define): The check for a bad
expression is performed in canonicalize_define now.
(try_macro_lookup, expand_user_macros, is_system_macro_p): New
static helper functions for m_expand_body.
(m_expand_body): Use ASSERT_SYNTAX to signal syntax errors. Only
expand user defined macros. Fixed handling of the definition/
expression boundary. Fixed handling of definitions grouped with
'begin. Use canonicalize_define to expand definitions.
* test-suite/tests/syntax.test: Tests that check for the correct
handling of internal defines with begin work now.
2003-11-15 12:27:54 +00:00
Dirk Herrmann
c3d948015a
* tests/syntax.test: Fixed test that checks for the correct
...
handling of macros in the context of internal defines.
2003-11-15 11:51:17 +00:00
Kevin Ryde
c4a56a692d
*** empty log message ***
2003-11-14 21:36:18 +00:00
Kevin Ryde
2a71634743
Use (test-suite lib), for the benefit of standalone execution.
2003-11-14 21:34:21 +00:00
Dirk Herrmann
560434b369
* 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-09 19:07:41 +00:00
Dirk Herrmann
ced8edb0f9
* libguile/eval.c (s_missing_body_expression): New static identifier.
...
(s_body): Removed.
(scm_m_expand_body): Fixed core dump when passing a body with
defines, but without expressions (see additions to syntax.test).
Use ASSERT_SYNTAX to signal syntax errors.
* test-suite/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-08 08:11:14 +00:00
Dirk Herrmann
89bff2fc10
* libguile/eval.c (s_expression): Added comment.
...
(s_empty_combination, error_unbound_variable): New static
identifiers.
(SCM_VALIDATE_NON_EMPTY_COMBINATION, SCM_EVALIM2, scm_lookupcar1):
Use ASSERT_SYNTAX, syntax_error or error_unbound_variable to
signal syntax errors.
(SCM_CEVAL): Separated handling of evaluator bytecodes and other
scheme objects.
* test-suite/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-11-01 07:26:44 +00:00