summaryrefslogtreecommitdiff
path: root/check-guile.in
Commit message (Collapse)AuthorAgeFilesLines
* move (test-suite lib) to lower dir; cleans up uninstalled paths.Andy Wingo2012-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * check-guile.in: * test-suite/Makefile.am: * test-suite/test-suite/lib.scm: * benchmark-guile.in: * benchmark-suite/Makefile.am: * benchmark-suite/benchmark-suite/lib.scm: Lower the lib modules in the source tree. This lets us remove top_srcdir and top_builddir from the uninstalled paths. * test-suite/tests/asm-to-bytecode.test: * test-suite/tests/brainfuck.test: * test-suite/tests/compiler.test: * test-suite/tests/ftw.test: * test-suite/tests/gc.test: * test-suite/tests/match.test: * test-suite/tests/rnrs-libraries.test: * test-suite/tests/rnrs-test-a.scm: * test-suite/tests/sxml.match.test: Adapt to not expect that module names be prefixed with "test-suite".
* autocompile -> auto-compileAndy Wingo2011-02-131-1/+1
| | | | | | | | | | | | | | | | | | | * NEWS: * check-guile.in: * doc/guile.1: * doc/ref/scheme-scripts.texi: * libguile/init.c: * libguile/load.c: * libguile/load.h: * libguile/script.c: * module/Makefile.am: * module/ice-9/boot-9.scm: * module/scripts/compile.scm: * module/system/base/compile.scm: * test-suite/Makefile.am: * test-suite/tests/popen.test: Change "autocompile" to "auto-compile" or "auto_compile", as appropriate, in variable names, function names, command line arguments, and the documentation.
* fix check-guile.in for default vm changeAndy Wingo2010-09-281-0/+1
| | | | | * check-guile.in: Make the --debug fix in the source file, not the generated file. Grr.
* Fix hanging of popen.testNeil Jerram2010-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "open-output-pipe":"no duplicate" test has been hanging, on and off, and not completely reliably, for a few years. It's now doing so fairly reliably for me, and investigation shows that - the child shell process is in a tight loop (99% CPU) - the parent Guile process is stuck calling waitpid(). The problem is that the child hasn't got the SIGPIPE that the test intends, and so is continuing to echo "closed" forever; and Guile is waiting for it to terminate, forever. I haven't fully debugged the SIGPIPE problem, but it sounds very like what Chet Ramey describes here: http://old.nabble.com/Re%3A-SIGPIPE-not-properly-reset-with-%27trap---PIPE%27-p20985595.html. (And my version of bash is 3.2.39.) So, a fix should be to use something other than shell to implement the child; and it appears that this works. * check-guile.in (TEST_SUITE_DIR): Export. * test-suite/tests/popen-child.scm: New script file. * test-suite/tests/popen.test ("open-output-pipe", "no duplicate"): Use Guile for the child process, instead of shell.
* disable autocompilation in the test suiteAndy Wingo2009-08-201-1/+1
| | | | | * check-guile.in: Disable autocompilation while working in the test suite, for now at least. We'll enable it again later.
* rely on getrlimit to DTRT, don't make stack calibration fileAndy Wingo2009-03-271-1/+0
| | | | | | | | | | | | | | * libguile/measure-hwm.scm: Remove. * .gitignore: Update for removal. * test-suite/standalone/test-fast-slot-ref.in: * test-suite/standalone/test-use-srfi.in: * am/guilec: * check-guile.in: Revert back to normal guile invocation. * libguile/Makefile.am: Don't make a stack calibration file, as the getrlimit-based limit setting should work fine.
* allow building against uninstalled guile; move some things to meta/Andy Wingo2009-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Add more info about building against an uninstalled Guile. * meta/: New directory. The proximate cause of its creation is that I want to be able to build external packages against uninstalled Guile, and to do that I need guile-tools in the PATH, but I don't want $top_builddir/libtool in the path. But it seems like a good reorganization, for things that are /about/ Guile: pkg-config files, m4 files, guile-config... then we also include uninstalled info: the environment, the pre-inst-guile script, etc. * meta/guile-1.8-uninstalled.pc.in: New pkg-config template. pkg-config prefers -uninstalled pkg-config files, if they are in its path. * meta/Makefile.am: * meta/ChangeLog-2008: * meta/gdb-uninstalled-guile.in: * meta/guile-1.8.pc.in: * meta/guile-config.in: * meta/guile.m4: * meta/guile-tools.in: Moved to meta/. * meta/guile.in: This is the new name of pre-inst-guile.in. * meta/uninstalled-env.in: And this, pre-inst-guile-env.in. * Makefile.am: * am/guilec: * am/pre-inst-guile: * check-guile.in: * configure.in: * doc/ref/Makefile.am: * gc-benchmarks/run-benchmark.scm: * test-suite/standalone/Makefile.am: * test-suite/standalone/README: * testsuite/Makefile.am: Adapt to meta/ change.
* Avoid `Stack overflow' errors when running `make check'Neil Jerram2008-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For explanation, see comments and text in the new file libguile/measure-hwm.scm. * .gitignore: Add libguile/stack-limit-calibration.scm. * check-guile.in: Load libguile/stack-limit-calibration.scm. * configure.in: Add AC_CONFIG_FILES to generate test-use-srfi from test-use-srfi.in. * libguile/Makefile.am (TESTS, TESTS_ENVIRONMENT, stack-limit-calibration.scm): New targets, so that `make check' calibrates the stack limit before running the Guile test suite. * libguile/measure-hwm.scm: New file, calibrates stack limit for `make check'. * libguile/stackchk.c (scm_sys_get_stack_size): New primitive. * libguile/stackchk.h (scm_sys_get_stack_size): New primitive (declaration). * test-suite/standalone/test-use-srfi: Renamed test-use-srfi.in, so that ./configure can fill in variables in it. * test-suite/standalone/test-use-srfi.in: Load libguile/stack-limit-calibration.scm.
* (top_srcdir): Use `top_srcdir_absolute' AC_SUBST var.Thien-Thi Nguyen2002-03-041-2/+1
|
* Update usage comment; nfc.Thien-Thi Nguyen2002-02-261-2/+2
|
* (top_builddir): Use AC_SUBST var `top_builddir_absolute'.Thien-Thi Nguyen2002-02-261-5/+3
| | | | (guile): Look for pre-inst-guile in $top_builddir.
* (TEST_SUITE_DIR): Fix bug: Use `top_srcdir'.Thien-Thi Nguyen2002-02-051-4/+3
| | | | (GUILE_LOAD_PATH): No longer include $top_srcdir.
* (top_builddir): Fix bug: Use cwd.Thien-Thi Nguyen2002-02-051-1/+1
|
* (srcdir): Delete var.Thien-Thi Nguyen2002-02-051-9/+16
| | | | | | | | (top_builddir, top_srcdir, guile_opts): New vars. Use "set -e". No longer set LTDL_LIBRARY_PATH. Use ${top_srcdir}/pre-inst-guile instead of libguile/guile.
* * check-guile.in: Replaced `ln -s' by `@LN_S@' to supportsMarius Vollmer2001-11-021-1/+1
| | | | build systems which do not have symbolic links.
* Do not include ".libs" in LTDL_LIBRARY_PATH, libltdl provides itMarius Vollmer2001-08-261-1/+1
| | | | itself.
* * check-guile.in: fix to be runnable when srcdir!=builddir.Michael Livshin2001-05-281-1/+1
|
* For SRFI testing, set and export env var `LTDL_LIBRARY_PATH'.Thien-Thi Nguyen2001-05-111-0/+3
|
* Fix sh standard conformance bug: Replace "test -e"Thien-Thi Nguyen2001-03-251-1/+1
| | | | with "test -f". Thanks to Alexander Klimov.
* * check-guile.in: 16 documentation tests were failing if "makeGary Houston2001-03-191-18/+12
| | | | | | | | | | | | | | | | check" was run before Guile had been installed with the current --prefix. made various changes to the script so that it runs without a cd to the test-suite directory. For the -i option, don't point GUILE_LOAD_PATH to the current directory, but let it use it's own scheme library. * tests/r4rs.test: use test-file-name to locate r4rs.test, not data-file-name. * guile-test: define tmp-dir, the location where r4rs.test will create it's temporary files. (data-file-name): use tmp-dir. this must be under build-dir, not src-dir.
* * check-guile.in: rename $parent to $srcdir. if it's equal to "."Gary Houston2001-03-191-4/+7
| | | | set it to `pwd`.
* * check-guile.in: use @srcdir@ instead of @test_suite_dir@. useGary Houston2001-03-181-4/+6
| | | | | | | | | | | | the current directory (build dir) not srcdir to find guile executable. otherwise "make check" doesn't work with a separate build directory. create the test log in $build_dir/check-guile.log instead of in srcdir/test-suite directory. * configure.in: don't define or substitute test_suite_dir. * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the first line.
* * Forgot to add the file check-guile.in with the latest commit.Dirk Herrmann2001-01-261-0/+43