Mark H Weaver 856d318a9f Merge branch 'stable-2.0' hace 10 años
..
.gitignore 0b7f2eb8bf Start rewriting SRFI-1 in Scheme. hace 14 años
Makefile.am 856d318a9f Merge branch 'stable-2.0' hace 10 años
README 0b6d8fdc28 allow building against uninstalled guile; move some things to meta/ hace 15 años
test-asmobs 5b98517a65 Fix test environment issue with ltdl from Libtool 2.2.6b. hace 15 años
test-asmobs-lib.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. hace 13 años
test-bad-identifiers 8722d99a45 Use `-q' when running standalone tests. hace 16 años
test-command-line-encoding ed4c373966 Arrange to convert command-line arguments from the right encoding. hace 13 años
test-command-line-encoding2 5de0053178 Don't fail when locale env. vars specify a dot-less locale name. hace 13 años
test-conversion.c bbb9f000ad Fix scm_to_utf8_stringn once and for all; optimize; add tests hace 12 años
test-extensions 5b98517a65 Fix test environment issue with ltdl from Libtool 2.2.6b. hace 15 años
test-extensions-lib.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. hace 13 años
test-fast-slot-ref.in 53befeb700 Change Guile license to LGPLv3+ hace 15 años
test-ffi 5ccc3764b3 Support calling foreign functions of 10 arguments or more. hace 11 años
test-ffi-lib.c 5ccc3764b3 Support calling foreign functions of 10 arguments or more. hace 11 años
test-foreign-object-c.c 4b8ce7c752 Add more foreign object interfaces hace 10 años
test-foreign-object-scm a7ee7f7cbf New foreign object facility, to replace SMOBs hace 10 años
test-guild-compile 4afca1a066 test-guild-compile: Increase sleep time before sending SIGINT. hace 10 años
test-guile-snarf 25dc93dd57 Avoid non-portable `tail' argument in `test-guile-snarf'. hace 13 años
test-import-order 7ad0737de9 out-of-tree build fix hace 13 años
test-import-order-a.scm ad4bd7c2c0 fix define-module ordering hace 13 años
test-import-order-b.scm ad4bd7c2c0 fix define-module ordering hace 13 años
test-import-order-c.scm ad4bd7c2c0 fix define-module ordering hace 13 años
test-import-order-d.scm ad4bd7c2c0 fix define-module ordering hace 13 años
test-language 72d4abda1d tests: Use shell constructs that /bin/sh on Solaris 10 can understand. hace 11 años
test-language.el 13ff681c33 Add tests for `--language'. hace 12 años
test-language.js 13ff681c33 Add tests for `--language'. hace 12 años
test-list.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. hace 13 años
test-loose-ends.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-mb-regexp f80ed1be36 add multibyte regexp test hace 13 años
test-num2integral.c 475772ea57 Merge branch 'stable-2.0' hace 10 años
test-out-of-memory 1d8b325994 Compile some standalone tests to bytecode hace 10 años
test-pthread-create-secondary.c 4702deb424 tests: Skip `test-pthread-create-secondary' except on Linux-based systems. hace 11 años
test-pthread-create.c 7c86abd9ce Use `scm_with_guile' in `test-pthread-create'. hace 13 años
test-require-extension 8722d99a45 Use `-q' when running standalone tests. hace 16 años
test-round.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-scm-c-bind-keyword-arguments.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-scm-c-read.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-scm-spawn-thread.c 002aab40bc Fix loose typing in `test-scm-spawn-thread.c'. hace 13 años
test-scm-take-locale-symbol.c 53befeb700 Change Guile license to LGPLv3+ hace 15 años
test-scm-take-u8vector.c f538a0709a Add test case for `scm_take_u8vector ()'. hace 15 años
test-scm-to-latin1-string.c fe13364050 fix scm_to_latin1_stringn for substrings hace 13 años
test-scm-values.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-scm-with-guile.c 53befeb700 Change Guile license to LGPLv3+ hace 15 años
test-smob-mark.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-srfi-4.c 0c1f2b0e0d tests: Add #undef NDEBUG when using <assert.h>. hace 10 años
test-stack-overflow 1d8b325994 Compile some standalone tests to bytecode hace 10 años
test-system-cmds b518c6a0b3 tests: Use double quotes around shell arguments, for Windows. hace 11 años
test-unwind.c 556d35af88 tests: Don't rely on $TMPDIR and /tmp on Windows. hace 11 años
test-use-srfi.in 53befeb700 Change Guile license to LGPLv3+ hace 15 años
test-with-guile-module.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. hace 13 años

README

-*-text-*-

These tests use the standard automake TESTS mechanism. Tests should
be listed in TESTS in Makefile.am, and should exit with 0 on success,
non-zero on failure, and 77 if the result should be ignored. See the
automake info pages for more information.

If you want to use a scheme script, prefix it as follows:

#!/bin/sh
exec guile -s "$0" "$@"
!#

Makefile.am will arrange for all tests (scripts or executables) to be
run under uninstalled-env so that the PATH, LD_LIBRARY_PATH, and
GUILE_LOAD_PATH will be augmented appropriately.

The Makefile.am has an example of creating a shared library to be used
from a test scheme script as well.

You can also create standalone executables that include your own code,
are linked against libguile, and that run a given test script (or
scripts). One way to do this is to create the binary, make sure it
calls scm_shell (argc, argv) as its final action, and put this bit at
the top of your test script:

#!./my-test-binary -s
!#