Ludovic Courtès 7c86abd9ce Use `scm_with_guile' in `test-pthread-create'. 13 rokov pred
..
.gitignore 0b7f2eb8bf Start rewriting SRFI-1 in Scheme. 14 rokov pred
Makefile.am 4a23562339 Add pthread-related tests. 13 rokov pred
README 0b6d8fdc28 allow building against uninstalled guile; move some things to meta/ 16 rokov pred
test-asmobs 5b98517a65 Fix test environment issue with ltdl from Libtool 2.2.6b. 15 rokov pred
test-asmobs-lib.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. 13 rokov pred
test-bad-identifiers 8722d99a45 Use `-q' when running standalone tests. 16 rokov pred
test-conversion.c 93003b16b0 Assorted `syntax-check' fixes. 14 rokov pred
test-extensions 5b98517a65 Fix test environment issue with ltdl from Libtool 2.2.6b. 15 rokov pred
test-extensions-lib.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. 13 rokov pred
test-fast-slot-ref.in 53befeb700 Change Guile license to LGPLv3+ 15 rokov pred
test-ffi 2ee073587a Rename `make-foreign-function' to `pointer->procedure'. 14 rokov pred
test-ffi-lib.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. 13 rokov pred
test-guile-snarf 95c1cfb550 fix guile-snarf 14 rokov pred
test-list.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. 13 rokov pred
test-loose-ends.c 440ae51035 Fill code coverage holes in continuations.c and keywords.c 15 rokov pred
test-mb-regexp f80ed1be36 add multibyte regexp test 14 rokov pred
test-num2integral.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. 13 rokov pred
test-pthread-create-secondary.c 4a23562339 Add pthread-related tests. 13 rokov pred
test-pthread-create.c 7c86abd9ce Use `scm_with_guile' in `test-pthread-create'. 13 rokov pred
test-require-extension 8722d99a45 Use `-q' when running standalone tests. 16 rokov pred
test-round.c d6cf96974e Use `#ifdef HAVE_...', not `#if'. 14 rokov pred
test-scm-c-read.c 53befeb700 Change Guile license to LGPLv3+ 15 rokov pred
test-scm-spawn-thread.c 4a23562339 Add pthread-related tests. 13 rokov pred
test-scm-take-locale-symbol.c 53befeb700 Change Guile license to LGPLv3+ 15 rokov pred
test-scm-take-u8vector.c f538a0709a Add test case for `scm_take_u8vector ()'. 15 rokov pred
test-scm-with-guile.c 53befeb700 Change Guile license to LGPLv3+ 15 rokov pred
test-system-cmds 8722d99a45 Use `-q' when running standalone tests. 16 rokov pred
test-unwind.c 93003b16b0 Assorted `syntax-check' fixes. 14 rokov pred
test-use-srfi.in 53befeb700 Change Guile license to LGPLv3+ 15 rokov pred
test-with-guile-module.c eb0ffdd819 Fix `#ifdef HAVE_CONFIG_H' stanza in some stand-alone tests. 13 rokov pred

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
!#