Michael Gran 0e9ccaf47c In test-extensions test, must export library fuctions when built as DLL před 1 rokem
..
.gitignore ffb95239aa scm_i_utf8_string_hash: compute u8 chars not bytes před 1 rokem
Makefile.am ffb95239aa scm_i_utf8_string_hash: compute u8 chars not bytes před 1 rokem
README 0b6d8fdc28 allow building against uninstalled guile; move some things to meta/ před 15 roky
test-asmobs 5b98517a65 Fix test environment issue with ltdl from Libtool 2.2.6b. před 15 roky
test-asmobs-lib.c 1234bb1850 Update license notices in all C files před 6 roky
test-bad-identifiers 8722d99a45 Use `-q' when running standalone tests. před 16 roky
test-close-on-exec 130463be2a When fork unavailable, skip standalone tests that require it před 2 roky
test-command-line-encoding 0d80eb23e2 in command line encoding test don't presume extant UTF-8 locale před 3 roky
test-command-line-encoding2 5de0053178 Don't fail when locale env. vars specify a dot-less locale name. před 12 roky
test-conversion.c 16879cabed Replace uses of scm_t_int8, scm_t_uintmax, etc with stdint types před 6 roky
test-extensions 5b98517a65 Fix test environment issue with ltdl from Libtool 2.2.6b. před 15 roky
test-extensions-lib.c 0e9ccaf47c In test-extensions test, must export library fuctions when built as DLL před 1 rokem
test-fast-slot-ref.in 53befeb700 Change Guile license to LGPLv3+ před 15 roky
test-ffi 93b8ab2994 for dynamic-link tests, mingw needs to link to msvcrt před 3 roky
test-ffi-lib.c 16879cabed Replace uses of scm_t_int8, scm_t_uintmax, etc with stdint types před 6 roky
test-foreign-object-c.c 1234bb1850 Update license notices in all C files před 6 roky
test-foreign-object-scm 93b8ab2994 for dynamic-link tests, mingw needs to link to msvcrt před 3 roky
test-guild-compile efb37b954e skip compile test when pause not available před 3 roky
test-guile-snarf 25dc93dd57 Avoid non-portable `tail' argument in `test-guile-snarf'. před 12 roky
test-hashing.c ffb95239aa scm_i_utf8_string_hash: compute u8 chars not bytes před 1 rokem
test-import-order 7ad0737de9 out-of-tree build fix před 13 roky
test-import-order-a.scm ad4bd7c2c0 fix define-module ordering před 13 roky
test-import-order-b.scm ad4bd7c2c0 fix define-module ordering před 13 roky
test-import-order-c.scm ad4bd7c2c0 fix define-module ordering před 13 roky
test-import-order-d.scm ad4bd7c2c0 fix define-module ordering před 13 roky
test-language 72d4abda1d tests: Use shell constructs that /bin/sh on Solaris 10 can understand. před 11 roky
test-language.el 13ff681c33 Add tests for `--language'. před 11 roky
test-language.js 13ff681c33 Add tests for `--language'. před 11 roky
test-list.c 1234bb1850 Update license notices in all C files před 6 roky
test-loose-ends.c 1234bb1850 Update license notices in all C files před 6 roky
test-mb-regexp f80ed1be36 add multibyte regexp test před 13 roky
test-num2integral.c 1234bb1850 Update license notices in all C files před 6 roky
test-out-of-memory 702cdb35db Fix out-of-memory test for top-level inlining před 5 roky
test-pthread-create-secondary.c 1234bb1850 Update license notices in all C files před 6 roky
test-pthread-create.c 1234bb1850 Update license notices in all C files před 6 roky
test-require-extension 8722d99a45 Use `-q' when running standalone tests. před 16 roky
test-round.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-c-bind-keyword-arguments.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-c-read.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-spawn-thread.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-take-locale-symbol.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-take-u8vector.c 16879cabed Replace uses of scm_t_int8, scm_t_uintmax, etc with stdint types před 6 roky
test-scm-to-latin1-string.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-values.c 1234bb1850 Update license notices in all C files před 6 roky
test-scm-with-guile.c 1234bb1850 Update license notices in all C files před 6 roky
test-signal-fork 130463be2a When fork unavailable, skip standalone tests that require it před 2 roky
test-smob-mark-race.c 1234bb1850 Update license notices in all C files před 6 roky
test-smob-mark.c 1234bb1850 Update license notices in all C files před 6 roky
test-srfi-4.c 16879cabed Replace uses of scm_t_int8, scm_t_uintmax, etc with stdint types před 6 roky
test-stack-overflow 7ac3d17cea On Hurd, skip tests that require working setrlimits for memory před 7 roky
test-system-cmds b518c6a0b3 tests: Use double quotes around shell arguments, for Windows. před 11 roky
test-unwind.c 9b357bace3 Presume ISO C90 headers are always available před 2 roky
test-use-srfi.in 53befeb700 Change Guile license to LGPLv3+ před 15 roky
test-with-guile-module.c 1234bb1850 Update license notices in all C files před 6 roky

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