+2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
+
+ * tests/environments.test: For tests that rely on garbage
+ collection, conservative scanning can be a problem. Add a comment
+ for these tests and make them turn out unresolved if things don't
+ work as expected.
+
2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
* tests/environments.test: Finished and cleaned up the tests for
(environment-observe-weak env func)
(gc)
(environment-define env 'a 1)
- (eqv? (func) 0))))
+ (if (not (eqv? (func) 0))
+ (throw 'unresolved) ; note: conservative scanning
+ #t))))
(with-test-prefix "erroneous observers"
(environment-observe-weak env func)
(gc)
(environment-define env 'a 1)
- (eqv? (func) 0))))
+ (if (not (eqv? (func) 0))
+ (throw 'unresolved) ; note: conservative scanning
+ #t))))
(with-test-prefix "erroneous observers"