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

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