Package: lilypond / 2.19.83-1~exp1

0007-Mark-Unused-modules-are-removed-gc-test-as-unresolve.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 6e4faf6b47d5385ea26a62791d96d352be4a1bbb Mon Sep 17 00:00:00 2001
From: Rob Browning <rlb@defaultvalue.org>
Date: Tue, 6 Mar 2012 21:05:04 -0600
Subject: Mark "Unused modules are removed" gc test as unresolved.

As per discussion with upstream, mark this test as unresolved since it
may produce false negatives, depending on the behavior/timing of the
garbage collector.

Closes: #653939
---
 test-suite/tests/gc.test | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/guile18/test-suite/tests/gc.test
+++ b/guile18/test-suite/tests/gc.test
@@ -76,5 +76,7 @@
 
 	     (gc)
 	     (gc) ;; twice: have to kill the weak vectors.
-	     (= last-count (cdr (assoc "eval-closure" (gc-live-object-stats)))))
+	     (if (= last-count (cdr (assoc "eval-closure" (gc-live-object-stats))))
+                 #t
+                 (throw 'unresolved)))
 	   ))