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

2083 commits

Author SHA1 Message Date
Dirk Herrmann
9f04540330 * oop/goops.scm (define-class): Make sure that define-class will
continue to work when mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-class.
2002-07-13 08:18:35 +00:00
Marius Vollmer
cdf52e3dce (/): Expect divison by an inexact zero to yield +inf.0. 2002-05-07 18:10:59 +00:00
Marius Vollmer
0a77048bfd (regexp-substitute/global): Do not test with empty regexp. Empty
regexps do not work on NetBSD.
2002-05-06 19:32:20 +00:00
Marius Vollmer
0b1b772f29 (basic syncase macro): Added. 2002-05-06 18:52:01 +00:00
Marius Vollmer
d26d290311 (string-tokenize): Updated for fixed semantics. 2002-04-26 18:35:34 +00:00
Marius Vollmer
469b963c66 New tests for complex division. 2002-03-11 19:10:28 +00:00
Neil Jerram
a64e666980 * Add tests of Elisp expression evaluation. 2002-02-08 13:00:30 +00:00
Neil Jerram
bbd26b5ae5 * Rename call-with-readline-completion-function' to with-readline-completion-function'.
* More tests for Elisp nil value.
* Development work on Elisp translator.
2002-01-30 00:03:40 +00:00
Neil Jerram
962b1f0bac * More tests for the Elisp nil value. 2002-01-24 22:42:02 +00:00
Neil Jerram
04bb321a9d * New tests file for Elisp support. 2002-01-22 23:47:46 +00:00
Dirk Herrmann
80074d7799 * tests/numbers.test: Added more division by zero tests. 2001-11-22 21:33:15 +00:00
Dirk Herrmann
1b3a7932ca * tests/numbers.test: Added division by zero tests. 2001-11-21 23:25:40 +00:00
Dirk Herrmann
7171f1ab47 * tests/syntax.test: Added some tests, updated some others with
respect to recent changes in eval.c.  Further, extracted test
cases for guile's extended set! functionality to srfi-17.test.

* tests/srfi-17.test:  New file.
2001-11-17 11:44:06 +00:00
Stefan Jahn
8f99e3f38b 2001-11-04 Stefan Jahn <stefan@lkcc.org>
* NEWS: Corrected remarks about SCM_API.

        * configure.in: Defining USE_DLL_IMPORT definition to indicate
        usage of DLL import macros in `libguile/__scm.h'.
        (LIBOBJS): Removed `fileblocks.o' from the list of object files.
        Somehow Jim Blandy's patch from 1997 did not survive.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * configure.in (EXTRA_DEFS): Follow-up patch.  Using SCM_IMPORT
        instead of __SCM_IMPORT__.

        * readline.c (scm_readline_init_ports): Disable input/output
        stream redirection for Win32.  The readline package for Win32
        does not support this.  The guile-readline library works fine
        for command line editing.

        * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL)
        here (was at guile_LDADD) which describes the dependency
        correctly and allows a clean build on Win32.

        * __scm.h (SCM_API): Follow-up patch.  Renamed __FOO__ macros
        into FOO.

        * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL
        import macros for external libraries (libcrypt, libqthreads,
        libreadline and libregex).

        * coop-defs.h: Include <winsock2.h> for `struct timeval'.

        * posix.c (flock): Added support for flock() in M$-Windows.

        * guile.c (SCM_IMPORT): Follow-up patch.  Use SCM_IMPORT instead
        of __SCM_IMPORT__.

        * fports.c (getflags): Differentiate reading and writing pipes
        descriptors.

        * filesys.c (S_IS*): Redefine all of the S_IS*() macros for
        M$-Windows.

        * coop.c (coop_condition_variable_timed_wait_mutex): Use
        conditionalized error code if `ETIMEDOUT' is not available.
        (scm_thread_usleep): Remove bogus declaration of `struct timeval
        timeout'.

        * numbers.c (PTRDIFF_MIN): Moved this definition where it actually
        belongs.  That is because NO_PREPRO_MAGIC gets undefined after
        each inclusion of `num2integral.i.c'.
        (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * md/Makefile.am (EXTRA_DIST): Added `i386.asm'.

        * md/i386.asm: New file.  Contains the Intel syntax version for
        nasm/tasm/masm of the file `i386.s'.

        * qt.h.in: Definition of QT_API, QT_IMPORT and QT_EXPORT.
        Prefixed each symbols which is meant to go into a DLL.

        * Makefile.am (libqthreads_la_LDFLAGS):  Put `-no-undefined'
        into LDFLAGS to support linkers which do not allow unresolved
        symbols inside shared libraries.
        (EXTRA_DIST): Add `libqthreads.def', which is an export file
        definition for M$-Windows.  It defines exported symbols.  This is
        necessary because the M$VC linker does not know how to export
        assembler symbols into a DLL.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch.  Renamed
        __FOO__ macros into FOO.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * tests/ports.test: Run (close-port) before (delete-file) if
        necessary/advisory.
2001-11-04 15:52:30 +00:00
Dirk Herrmann
2b6b59081a * tests/eval.test: Added tests for promises. 2001-10-26 19:47:57 +00:00
Dirk Herrmann
b461abe73f * tests/syntax.test: Added test cases for 'cond =>' syntax with
else clause.  Changed some tests and comments related to the
'case' form to reflect recent changes in the implementation.
2001-10-18 21:59:29 +00:00
Dirk Herrmann
ea6c2147b7 * tests/syntax.test: Added test cases for 'lambda' syntax. 2001-10-13 23:59:27 +00:00
Dirk Herrmann
27a226665e * tests/syntax.test: Added test cases for 'case' syntax. 2001-10-13 17:02:01 +00:00
Dirk Herrmann
b7d9b1cf5a * tests/numbers.test: Added a test case that checks if valid
number strings are transformed correctly by string->number.
2001-10-13 12:29:44 +00:00
Rob Browning
af297b33d8 * tests/bit-operations.test (fixnum-bit): compute dynamically. 2001-09-21 17:54:35 +00:00
Rob Browning
8b7838b558 * tests/numbers.test (fixnum-bit): compute dynamically. 2001-09-21 17:54:27 +00:00
Thien-Thi Nguyen
4b642b08d4 ("apples-blimps-catalexis example", "multiple occurances"):
New top-level sections.
2001-09-08 02:33:30 +00:00
Dirk Herrmann
569c483b32 * Improved the readability of some patterns. 2001-08-31 14:48:19 +00:00
Thien-Thi Nguyen
176d0e0bfd (test-time-comparision, test-time-arithmatic): New procs.
Add time comparison tests using new procs.
Thanks to Alex Shinn.
2001-08-25 19:08:50 +00:00
Marius Vollmer
1150392856 New file. 2001-08-25 16:05:37 +00:00
Thien-Thi Nguyen
e5c5ac9240 (string-for-each, string-for-each-index): Add tests. 2001-08-24 22:06:05 +00:00
Mikael Djurfeldt
80fdeb4e5a * tests/srfi-13.test (string-map): Swapped order of string and
proc args to conform with the srfi.  (Thanks to Alex Shinn.)

* srfi-13.c (string-map): Swapped order of string and proc args to
conform with the srfi.  (Thanks to Alex Shinn.)
2001-08-22 12:00:06 +00:00
Thien-Thi Nguyen
c0c07ee942 Remove dependency on `TTN_TEST_NEW' env var. 2001-08-12 19:03:34 +00:00
Thien-Thi Nguyen
252422b029 (exception:no-such-option,
exception:option-does-not-support-arg,
exception:option-must-be-specified,
exception:option-must-have-arg, exception:not-enough-args): New vars.

("option-ref", "required", "specified no value, given anyway",
"specified arg required"): New top-level sections.
2001-08-12 18:31:10 +00:00
Dirk Herrmann
2f4a254ac9 * Added some syntax tests for numbers. 2001-08-11 16:59:42 +00:00
Thien-Thi Nguyen
3cc2e575a6 Initial revision 2001-08-02 10:13:03 +00:00
Martin Grabmüller
96e30d2ab2 * tests/alist.test, tests/bit-operations.test,
tests/common-list.test, tests/environments.test, tests/eval.test,
	tests/gc.test, tests/hooks.test, tests/import.test,
	tests/interp.test, tests/list.test, tests/load.test,
	tests/numbers.test, tests/ports.test, tests/r4rs.test,
	tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
	copyright notice.
2001-07-19 20:30:37 +00:00
Martin Grabmüller
072ad0fe6b * tests/srfi-14.test: New file. 2001-07-16 18:49:10 +00:00
Marius Vollmer
93e0843119 New file. 2001-07-12 23:28:44 +00:00
Dirk Herrmann
bdd2c6f4f4 * Added some simple goops test for a beginning. 2001-06-30 20:03:14 +00:00
Martin Grabmüller
39cb0b041d * tests/srfi-4.test: New file. 2001-06-27 13:17:12 +00:00
Marius Vollmer
9a8be5a707 * tests/ports.test: New test for output port line counts. 2001-06-16 20:13:50 +00:00
Marius Vollmer
025f75b48f New files. Thanks to Matthias Köppe! 2001-06-16 20:11:39 +00:00
Martin Grabmüller
24ecf16c0c * tests/symbols.test ("gensym"): New tests for long gensym
prefices and embedded NULs in prefices.
2001-05-28 18:40:31 +00:00
Marius Vollmer
4ed29c73dd New, minimal tests. 2001-05-21 13:22:18 +00:00
Marius Vollmer
fce1a51729 Updated test for new micro version stuff. 2001-05-19 01:23:23 +00:00
Martin Grabmüller
5f5850b38c * tests/srfi-13.test: More tests. 2001-05-16 18:04:20 +00:00
Martin Grabmüller
f764e6d10d * tests/srfi-10.test: New file.
* tests/srfi-9.test: New file.

	* tests/srfi-13.test: Added some more tests.
2001-05-10 13:52:27 +00:00
Thien-Thi Nguyen
414959cad8 ("evaluator" "memoization"): New test prefix block.
("transparency"): New "evaluator memoization" test.
2001-05-10 00:02:51 +00:00
Martin Grabmüller
7cfbc4f7b0 * tests/srfi-13.test: Added module access kludge, and uncommented
some tests depending on this.
2001-05-08 06:04:15 +00:00
Martin Grabmüller
df937d20e0 * tests/srfi-13.test: New file testing the SRFI string library. 2001-05-07 21:52:25 +00:00
Gary Houston
c685b42fa3 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
have run.

	* tests/ports.test (test-file), tests/load.test (temp-dir):
	redefined using data-file-name instead of tmpnam.  the test files
	will be created in the build directory instead of /var/tmp or
	whereever tmpnam puts them.
2001-04-25 23:13:52 +00:00
Dirk Herrmann
f5e645584a * Added some tests. 2001-04-02 13:40:03 +00:00
Gary Houston
66301f9ab8 * check-guile.in: 16 documentation tests were failing if "make
check" was run before Guile had been installed with the current
	--prefix.  made various changes to the script so that it runs
	without a cd to the test-suite directory.  For the -i option,
	don't point GUILE_LOAD_PATH to the current directory, but let it
	use it's own scheme library.

	* tests/r4rs.test: use test-file-name to locate r4rs.test,
	not data-file-name.

	* guile-test: define tmp-dir, the location where r4rs.test will
	create it's temporary files.
	(data-file-name): use tmp-dir.  this must be under build-dir,
	not src-dir.
2001-03-19 22:46:21 +00:00
Dirk Herrmann
e1a7b2cea7 * Added a new test case plus minor improvements. 2001-03-11 23:31:58 +00:00