1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00
Commit graph

19 commits

Author SHA1 Message Date
Andy Wingo
609edba7ea disable autocompilation in the test suite
* check-guile.in: Disable autocompilation while working in the test
  suite, for now at least. We'll enable it again later.
2009-08-20 18:52:38 +02:00
Andy Wingo
23ccb831ff rely on getrlimit to DTRT, don't make stack calibration file
* 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.
2009-03-27 15:51:16 -07:00
Andy Wingo
0b6d8fdc28 allow building against uninstalled guile; move some things to meta/
* 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.
2009-03-27 14:03:03 -07:00
Neil Jerram
d8b6e19181 Avoid Stack overflow' errors when running make check'
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.
2008-10-17 22:05:54 +01:00
Thien-Thi Nguyen
829fdfbc6d (top_srcdir): Use `top_srcdir_absolute' AC_SUBST var. 2002-03-04 22:53:34 +00:00
Thien-Thi Nguyen
931022f87b Update usage comment; nfc. 2002-02-26 10:16:57 +00:00
Thien-Thi Nguyen
22087438a8 (top_builddir): Use AC_SUBST var `top_builddir_absolute'.
(guile): Look for pre-inst-guile in $top_builddir.
2002-02-26 10:12:06 +00:00
Thien-Thi Nguyen
ae84ee626e (TEST_SUITE_DIR): Fix bug: Use `top_srcdir'.
(GUILE_LOAD_PATH): No longer include $top_srcdir.
2002-02-05 10:32:35 +00:00
Thien-Thi Nguyen
e15fa93d74 (top_builddir): Fix bug: Use cwd. 2002-02-05 10:09:39 +00:00
Thien-Thi Nguyen
ba833f4a2f (srcdir): Delete var.
(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.
2002-02-05 09:21:54 +00:00
Marius Vollmer
fb39eb4933 * check-guile.in: Replaced ln -s' by @LN_S@' to supports
build systems which do not have symbolic links.
2001-11-02 00:05:45 +00:00
Marius Vollmer
f91fc9cdd3 Do not include ".libs" in LTDL_LIBRARY_PATH, libltdl provides it
itself.
2001-08-26 21:51:32 +00:00
Michael Livshin
1db81cb09a * check-guile.in: fix to be runnable when srcdir!=builddir. 2001-05-28 12:23:41 +00:00
Thien-Thi Nguyen
0e70d77b81 For SRFI testing, set and export env var `LTDL_LIBRARY_PATH'. 2001-05-11 09:42:11 +00:00
Thien-Thi Nguyen
c52b482324 Fix sh standard conformance bug: Replace "test -e"
with "test -f".  Thanks to Alexander Klimov.
2001-03-25 18:40:28 +00:00
Gary Houston
66301f9ab8 * check-guile.in: 16 documentation tests were failing if "make
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.
2001-03-19 22:46:21 +00:00
Gary Houston
fb11ef91dc * check-guile.in: rename $parent to $srcdir. if it's equal to "."
set it to `pwd`.
2001-03-19 12:38:40 +00:00
Gary Houston
51cfd7da2c * check-guile.in: use @srcdir@ instead of @test_suite_dir@. use
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.
2001-03-18 23:17:32 +00:00
Dirk Herrmann
8992c8a2ef * Forgot to add the file check-guile.in with the latest commit. 2001-01-26 13:47:53 +00:00