1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-07 18:30:25 +02:00
Commit graph

15 commits

Author SHA1 Message Date
Andy Wingo
9b5da400dd Deprecate vector-ref, vector-length, vector-set! on weak vectors
* libguile/vectors.c (scm_vector_length, scm_c_vector_length):
  (scm_c_vector_ref, scm_c_vector_set_x): Deprecate the use of these
  procedures on weak vectors.

* test-suite/tests/guardians.test:
* test-suite/tests/weaks.test: Adapt test suites.
2014-02-07 12:42:44 +01:00
Ludovic Courtès
fbb857a472 Merge branch 'master' into boehm-demers-weiser-gc
Conflicts:
	lib/Makefile.am
	libguile/Makefile.am
	libguile/frames.c
	libguile/gc-card.c
	libguile/gc-freelist.c
	libguile/gc-mark.c
	libguile/gc-segment.c
	libguile/gc_os_dep.c
	libguile/load.c
	libguile/macros.c
	libguile/objcodes.c
	libguile/programs.c
	libguile/strings.c
	libguile/vm.c
	m4/gnulib-cache.m4
	m4/gnulib-comp.m4
	m4/inline.m4
2009-08-18 00:06:45 +02:00
Neil Jerram
53befeb700 Change Guile license to LGPLv3+
(Not quite finished, the following will be done tomorrow.
   module/srfi/*.scm
   module/rnrs/*.scm
   module/scripts/*.scm
   testsuite/*.scm
   guile-readline/*
)
2009-06-17 00:22:09 +01:00
Ludovic Courtès
7acc33d7f0 Move `guardians.test' to its own module.
* test-suite/tests/guardians.test: Add `define-module' clause.
2009-03-08 21:56:06 +01:00
Ludovic Courtès
1eefa363bd Move `guardians.test' to its own module.
* test-suite/tests/guardians.test: Add `define-module' clause.
2009-02-28 16:59:05 +01:00
Ludovic Courtès
6a7489ace3 Increase chances that `guardians.test' can be successfully run.
* test-suite/tests/guardians.test: Document overall test sloppiness.
  ("g2-garbage saved"): Document failure.
  ("guarding independent objects")["guarding non-immediate", "guarding
  two non-immediates", "re-guarding non-immediates"]:
  Improve chances to remove references to the dying object left on the
  stack.
  ("guarding weakly referenced objects")["guarded weak vector element
  gets returned from guardian"]: Likewise.
  ("guarding weak containers")["element of guarded weak vector gets
  collected"]: Likewise.
  ("guarding objects more than once")["guarding twice in one guardian",
  "guarding twice in two guardians"]: Likewise.
2009-02-28 16:51:19 +01:00
Ludovic Courtes
e13f1cbdff Fixed `guardians.test' so that it does not use symbols.
* test-suite/tests/guardians.test: Use strings instead of symbols for
  `g3-garbage' et al.

git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-42
2008-09-10 20:28:03 +02:00
Kevin Ryde
6e7d5622ee merge from 1.8 branch 2006-04-16 23:37:40 +00:00
Marius Vollmer
2924541ba0 Adapted to new (original) semantics. test guardingobjects multiple
times.
2005-07-31 23:16:45 +00:00
Marius Vollmer
92205699d0 The FSF has a new address. 2005-05-23 19:57:22 +00:00
Dirk Herrmann
6d63297be2 * tests/guardians.test: Uses module (ice-9 weak-vector). 2003-06-01 11:13:04 +00:00
Dirk Herrmann
9247b5bca6 * tests/guardians.test: Added some more elaborate and
sophisticated tests for the guardian functionality.
2003-04-23 18:47:54 +00:00
Martin Grabmüller
96e30d2ab2 * tests/alist.test, tests/bit-operations.test,
tests/common-list.test, tests/environments.test, tests/eval.test,
	tests/gc.test, tests/hooks.test, tests/import.test,
	tests/interp.test, tests/list.test, tests/load.test,
	tests/numbers.test, tests/ports.test, tests/r4rs.test,
	tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
	copyright notice.
2001-07-19 20:30:37 +00:00
Dirk Herrmann
5c96bc39a4 * Make sure that tests return a boolean value. 2001-02-28 08:41:06 +00:00
Jim Blandy
2e109b651d * tests/guardians.test: New test file. 1999-07-19 18:44:12 +00:00