1This patch disable GC-sensitive tests. This is particularly useful when
2compiling with `-O0' (as is done with coverage analysis) since there may
3be many false references held on the stack, leading to the failure of
4such tests.
5
6--- a/test-suite/tests/gc.test
7+++ b/test-suite/tests/gc.test
8@@ -67,6 +67,7 @@
9
10 (with-test-prefix "gc"
11 (pass-if "Unused modules are removed"
12+ (throw 'unresolved)
13 (let* ((guard (make-guardian))
14 (total 1000))
15
16--- a/test-suite/tests/threads.test
17+++ b/test-suite/tests/threads.test
18@@ -366,6 +366,7 @@
19 (not (mutex-owner m))))
20
21 (pass-if "mutex with owner not retained (bug #27450)"
22+ (throw 'unresolved)
23 (let ((g (make-guardian)))
24 (g (let ((m (make-mutex))) (lock-mutex m) m))
25