Ludovic Courtès
38c1da430c
Augment `.gitignore'.
2008-11-13 23:27:25 +01:00
Neil Jerram
d8b6e19181
Avoid Stack overflow' errors when running
make check'
...
For explanation, see comments and text in the new file
libguile/measure-hwm.scm.
* .gitignore: Add libguile/stack-limit-calibration.scm.
* check-guile.in: Load libguile/stack-limit-calibration.scm.
* configure.in: Add AC_CONFIG_FILES to generate test-use-srfi from
test-use-srfi.in.
* libguile/Makefile.am (TESTS, TESTS_ENVIRONMENT,
stack-limit-calibration.scm): New targets, so that `make check'
calibrates the stack limit before running the Guile test suite.
* libguile/measure-hwm.scm: New file, calibrates stack limit for `make
check'.
* libguile/stackchk.c (scm_sys_get_stack_size): New primitive.
* libguile/stackchk.h (scm_sys_get_stack_size): New primitive
(declaration).
* test-suite/standalone/test-use-srfi: Renamed test-use-srfi.in, so
that ./configure can fill in variables in it.
* test-suite/standalone/test-use-srfi.in: Load
libguile/stack-limit-calibration.scm.
2008-10-17 22:05:54 +01:00
Han-Wen Nienhuys
89bc270db3
Remove GH and its traces.
2008-09-28 18:42:02 -03:00
Ludovic Courtès
3394818c0a
Include <config.h> in standalone tests.
...
* test-suite/standalone/Makefile.am (test_cflags): Add `-I$(top_builddir)' so
that <config.h> can be found.
(snarfcppopts): Likewise.
* test-suite/standalone/*.c: Include <config.h>.
2008-09-13 20:09:08 +02:00
Ludovic Courtès
85ca88c68b
Remove `.cvsignore' files.
2008-09-11 21:28:21 +02:00
Ludovic Courtès
bfb2e11358
Use $(GCC_CFLAGS) for `-Werror' et al. so that it's not used to compile
...
Gnulib code.
2008-08-25 22:08:45 +02:00
Ludovic Courtès
8722d99a45
Use `-q' when running standalone tests.
2008-07-06 23:58:38 +02:00
Ludovic Courtès
fcbc08686c
Support systems whose <inttypes.h> doesn't define `PRIiMAX'.
2008-06-02 21:34:57 +02:00
Ludovic Courtès
102dbb6f6c
Add `SCM_INTERNAL' macro, use it.
2008-05-31 23:21:02 +02:00
Ludovic Courtès
56ae214817
Only run `test-with-guile-module' when pthread support is built.
2008-04-26 21:56:02 +02:00
Ludovic Courtès
5995c6d801
Fix "#include" directives in stand-alone C tests.
2008-04-07 23:59:36 +02:00
Ludovic Courtès
89e3e0dcea
More `.gitignore'.
2008-04-07 23:48:48 +02:00
Ludovic Courtès
eedcb08a25
Honor $TMPDIR in the test suite.
2008-03-13 14:03:58 +00:00
Neil Jerram
2018147881
Updated to GNU coding
...
standards; added standard license statement.
2008-02-23 18:29:45 +00:00
Neil Jerram
b226295af8
Release stuff: missing NEWS and 2007/2008 copyrights.
2008-02-15 23:13:59 +00:00
Neil Jerram
01be513ed1
New test file (forgotten from checkin last week).
2008-02-05 21:55:44 +00:00
Neil Jerram
3ac8359afd
* modules.c (the_root_module): Moved before scm_current_module.
...
(scm_current_module): Return the root module if `the-module' fluid
gives #f.
* standalone/Makefile.am: Add stanza for test-with-guile-module.
* standalone/test-with-guile-module.c: New test.
2008-02-01 22:51:34 +00:00
Neil Jerram
c0186ee736
(top level): Explain the point of this test.
2007-12-29 12:34:34 +00:00
Neil Jerram
d69668b7de
* standalone/test-bad-identifiers: New test.
...
* standalone/Makefile.am (check_SCRIPTS, TESTS): Add it.
2007-12-29 01:35:47 +00:00
Neil Jerram
2d04022ce2
* tests/continuations.test ("continuations"): Use
...
with-debugging-evaluator.
* lib.scm (with-debugging-evaluator*, with-debugging-evaluator):
New utilities.
* standalone/test-use-srfi: Use -q to avoid picking up the user's
~/.guile file.
* tests/eval.test (promises)[unmemoizing a promise]: New test.
2007-10-21 20:45:45 +00:00
Ludovic Courtès
c8bb98a9fa
Changes from arch/CVS synchronization
2007-10-10 20:15:08 +00:00
Neil Jerram
4505fbb1a6
*** empty log message ***
2007-02-20 07:23:19 +00:00
Kevin Ryde
8e1973d9ab
merge from 1.8
2007-01-15 23:49:04 +00:00
Kevin Ryde
23d7256628
merge from 1.8
2007-01-15 23:42:45 +00:00
Kevin Ryde
8ab3d8a068
merge from 1.8 branch
2006-10-09 23:40:48 +00:00
Kevin Ryde
6e7d5622ee
merge from 1.8 branch
2006-04-16 23:37:40 +00:00
Kevin Ryde
d7a88afe37
Add test-list.c
2006-02-03 23:38:51 +00:00
Kevin Ryde
2948fc75bd
standalone/test-list.c: New file.
2006-02-03 23:34:48 +00:00
Marius Vollmer
661ae7ab6b
Renamed the "frames" that are related to dynamic-wind to "dynamic
...
contexts. Renamed all functions from scm_frame_ to scm_dynwind_.
Updated documentation.
2006-01-29 00:23:28 +00:00
Marius Vollmer
c70c62a636
Do nothing when deprecated things are
...
disabled.
2005-06-12 12:31:33 +00:00
Marius Vollmer
92205699d0
The FSF has a new address.
2005-05-23 19:57:22 +00:00
Rob Browning
f7fb2f39a4
*** empty log message ***
2005-02-12 06:15:51 +00:00
Rob Browning
8768170784
(check_SCRIPTS): add test-require-extension.
...
(TESTS): add test-require-extension.
2005-02-12 06:15:25 +00:00
Rob Browning
b0f2a9b400
* standalone/test-require-extension: new test script.
2005-02-12 06:15:07 +00:00
Kevin Ryde
4858610b00
(check_cont): Cast rewindable to long, to
...
avoid warning from gcc 3.4 on 64-bit systems about casting int
(32-bits) to pointer (64-bits).
2005-01-24 00:07:01 +00:00
Marius Vollmer
7108b7b8b2
(AM_LDFLAGS, LD_FLAGS): Use AM_LDFLAGS
...
instead of LDFLAGS; the latter is a user variable.
2004-09-25 00:09:45 +00:00
Marius Vollmer
ae90bbb5b9
(test_cflags, LDFLAGS): Include
...
GUILE_CFLAGS.
2004-09-24 01:30:23 +00:00
Marius Vollmer
ad6dec055f
Avoid the use of discouraged or deprecated things.
2004-08-19 17:28:53 +00:00
Marius Vollmer
9bd10f4617
(test_locale_strings): New.
2004-08-10 15:45:49 +00:00
Marius Vollmer
ee3e40b78e
Replaced all uses of scm_round with scm_c_round.
2004-08-10 12:19:49 +00:00
Marius Vollmer
b8f63daff4
Only perform the tests when the disabled features are enabled.
2004-08-03 15:07:23 +00:00
Marius Vollmer
eae5018eff
(test_to_double, test_from_double): New tests.
2004-08-03 15:06:51 +00:00
Marius Vollmer
3838c384d1
Many more tests for the integer conversion functions.
2004-07-29 14:13:59 +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
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
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
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