SHA256
1
0
forked from pool/guile
guile/guile-threads-test.patch
Petr Gajdos a00c267dd6 Accepting request 115143 from home:k0da:ppc
- mark this threads test as unresolved since it may produce false 
  negatives, depending on the behavior/timing of the garbage 
  collector.

OBS-URL: https://build.opensuse.org/request/show/115143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=50
2012-04-24 14:30:10 +00:00

18 lines
576 B
Diff

Index: guile-2.0.5/test-suite/tests/threads.test
===================================================================
--- guile-2.0.5.orig/test-suite/tests/threads.test
+++ guile-2.0.5/test-suite/tests/threads.test
@@ -414,8 +414,10 @@
(gc) (gc)
(let ((m (g)))
- (and (mutex? m)
- (eq? (mutex-owner m) (current-thread)))))))
+ (or
+ (and (mutex? m)
+ (eq? (mutex-owner m) (current-thread)))
+ (throw 'unresolved))))))
;;
;; mutex lock levels