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

1924 commits

Author SHA1 Message Date
Dirk Herrmann
6b4113afc5 * Provide and use new convenience macros to test for exceptions. 2001-02-28 11:25:40 +00:00
Dirk Herrmann
9d372117f6 * Remove redundant test name prefix. 2001-02-28 09:06:10 +00:00
Dirk Herrmann
5c96bc39a4 * Make sure that tests return a boolean value. 2001-02-28 08:41:06 +00:00
Thien-Thi Nguyen
c1ce8ca203 (syntax lambda): Renamed from (lambda).
(syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
(syntax reading): New section.
(syntax let*): New section.
(syntax letrec): New section.
(syntax set!): New section.
(syntax misc): New section.
(bindings unbound): New section.
(bindings immutable-modification): New section.
(bindings let): New section.
(bindings let*): New section.
(bindings letrec): New section.
2001-02-23 10:19:35 +00:00
Thien-Thi Nguyen
cf7b149fab Initial revision. 2001-02-23 02:36:54 +00:00
Dirk Herrmann
efb07c899c * Fixed things that I had broken with the last patch :-( 2001-01-26 16:49:28 +00:00
Gary Houston
22d356150d * tests/ports.test: include (ice-9 rdelim) module. 2001-01-24 21:46:04 +00:00
Dirk Herrmann
21e39e8fe6 * Converted to real boundary testing. 2001-01-18 17:24:10 +00:00
Dirk Herrmann
339bfe47a1 * Added tests for bit-operations. 2001-01-17 18:22:26 +00:00
Keisuke Nishida
23cc31b8ee Test suite for applicable smobs. 2000-12-07 01:40:55 +00:00
Dirk Herrmann
53a53bd75e * Add test to check whether the after-gc-hook is run correctly. 2000-11-03 17:52:20 +00:00
Dirk Herrmann
b3b8952a94 * Reflect the fact that string=? is fixed in the test-suite. 2000-10-30 17:32:55 +00:00
Dirk Herrmann
daa6ba187b * Deprecated scm_sloppy_mem(q|v|ber) 2000-10-13 07:55:25 +00:00
Dirk Herrmann
548b925289 * Remember that string=? and friends need fixing. 2000-09-26 20:39:03 +00:00
Dirk Herrmann
415052599e * Tests that rely on garbage collection: Be aware of conservative scanning. 2000-09-12 12:42:51 +00:00
Dirk Herrmann
034b924f39 * Improved and enhanced the environment test suite. 2000-09-05 10:49:10 +00:00
Dirk Herrmann
5d3e2388f3 * Added Jost Boekemeier's implementation of environments to guile.
* Added a test suite for (up to now only) leaf environments.
2000-08-25 17:01:32 +00:00
Dirk Herrmann
6ad9007abf * lib.scm (pass-if, expect-fail): Generalized.
* * tests/eval.test:  Fixed documentation test.
2000-08-21 08:57:11 +00:00
Dirk Herrmann
685c0d7116 * Eliminated use of SCM_ASSERT to check for range errors.
* Fix some error reporting code in list.c
* Added some test cases.
2000-06-30 10:46:35 +00:00
Dirk Herrmann
e5d2c2fa4f * Made a couple of functions (not all yet) tail recursive.
Thanks to William Webber for the hint.
2000-06-21 18:19:20 +00:00
Dirk Herrmann
141443d7ec * Added some tests that are currently known to fail due to bugs in
the evaluator's handling of macros.
2000-06-21 15:00:44 +00:00
Mikael Djurfeldt
d2c32d6324 * tests/list.test: Use cons* instead of list*. 2000-06-19 10:05:43 +00:00
Mikael Djurfeldt
cb18f2a892 * tests/numbers.test, tests/list.test: Updated for new
documentation module.
2000-06-13 00:12:11 +00:00
Dirk Herrmann
e11f8b42f2 * The name property of hooks is deprecated. 2000-05-26 16:31:22 +00:00
Dirk Herrmann
de142bea23 Added tests/list.test and tests/numbers.test. (numbers.test does not yet
contain the test cases from thi.)
2000-05-08 17:54:51 +00:00
Dirk Herrmann
57e7f27001 Adopted a couple of nice ideas from Greg. 2000-05-08 17:42:03 +00:00
Dirk Herrmann
b2e37c5a52 mambo.test: Removed dummy file. 2000-05-05 12:22:46 +00:00
Gary Houston
8cc58ec1cc * tests/ports.test (non-blocking-I/O): a couple more details:
a) combine the O_NONBLOCK flag with the default flags instead
	of replacing them.  b) check EWOULDBLOCK as well as EAGAIN.
2000-03-31 19:23:52 +00:00
Greg J. Badros
55b44a9ec3 * paths.scm: Assume that ~/guile-core/test-suite is the location
of the test suite now.

* tests/version.test: Added -- version.c had 0% coverage before,
now at 100%.

* tests/chars.test: Added -- needed test of char-is-both?.
2000-01-16 22:03:44 +00:00
Mikael Djurfeldt
fb372b0b6c * tests/weaks.test, tests/hooks.test: Added. 1999-12-22 11:41:40 +00:00
Mikael Djurfeldt
f70d746879 * tests/weaks.test: Added. 1999-12-22 10:13:49 +00:00
Mikael Djurfeldt
dcf8fb3e65 * tests/alist.test: Added. 1999-12-18 13:25:04 +00:00
Greg J. Badros
328ec30c52 * tests/c-api.test: Refine the list of files that are checked in
the seek-offset-test.  Was just using files that end in "c", but
that caught the new ".doc" files, too, so make sure that files end
in ".c" before requiring that they include unistd.h if they
reference SEEK_(SET|CUR|END).
1999-12-17 20:15:35 +00:00
Gary Houston
2d9e5bca6c * tests/ports.test ("string ports"): test seeking/unreading from
an input string and seeking an output string.
1999-10-24 15:17:47 +00:00
Gary Houston
22a92623c6 * tests/ports.test: in seek/tell test on input port, also test
that ftell doesn't discard unread chars.
1999-10-20 20:59:07 +00:00
Gary Houston
4fcd6551ff * tests/ports.test: add seek/tell tests for unidirectional ports. 1999-10-18 20:47:37 +00:00
Jim Blandy
06974184f0 * tests/reader.test: Check that number->string checks its radix
properly.
1999-09-25 23:38:26 +00:00
Jim Blandy
fe5b6bebaa * tests/ports.test: Check that our input functions cope when
current-input-port is closed.
1999-09-20 23:57:08 +00:00
Jim Blandy
f88fdc6e32 * tests/regexp.test: Check regexp-substitute/global when there are
no matches.  (Duh.)
1999-09-20 22:52:02 +00:00
Mikael Djurfeldt
44fdbfc668 Use egrep for better compatibility. 1999-09-15 15:55:06 +00:00
Mikael Djurfeldt
48fadf497f * tests/c-api.test: New file. Add test to check that all source
files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1999-09-15 15:27:49 +00:00
Gary Houston
1ba57e8915 3 more bytes. 1999-09-14 20:56:13 +00:00
Gary Houston
6e822cce6a 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
* tests/ports.test: test non-blocking I/O.
1999-09-14 20:48:00 +00:00
Jim Blandy
0bfcc6e0d4 * tests/strings.test: Add test for substring-move! argument checking. 1999-09-11 18:46:48 +00:00
Jim Blandy
69c74140dd * lib.scm (signals-error?, signals-error?*): New macro and function.
* tests/reader.test: Use them.
1999-09-11 18:46:32 +00:00
Jim Blandy
a2226cafa9 * tests/interp.test: Add copyright notice. 1999-09-11 18:46:24 +00:00
Jim Blandy
0c76ebbd1f * tests/reader.test: New test file. 1999-09-11 18:27:57 +00:00
Jim Blandy
3dcdcfe8c7 * tests/regexp.test: New test file. 1999-09-11 17:39:30 +00:00
Mikael Djurfeldt
c00b93eaa4 * tests/interp.test: Added tests for evaluation of closure bodies. 1999-09-06 18:41:03 +00:00
Jim Blandy
df476c8c05 Remove debugging output. 1999-09-03 08:00:14 +00:00