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

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