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
This commit is contained in:
Petr Gajdos 2012-04-24 14:30:10 +00:00 committed by Git OBS Bridge
parent cd9a57d633
commit a00c267dd6
3 changed files with 26 additions and 0 deletions

17
guile-threads-test.patch Normal file
View File

@ -0,0 +1,17 @@
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 23 17:16:38 UTC 2012 - dvaleev@suse.com
- mark this threads test as unresolved since it may produce false
negatives, depending on the behavior/timing of the garbage
collector.
-------------------------------------------------------------------
Tue Jan 31 15:10:31 UTC 2012 - pgajdos@suse.com

View File

@ -44,6 +44,7 @@ Patch2: %{name}-1.6.10-mktemp.patch
# Fix the wrong FSF address in a few headers.
Patch3: %{name}-fix_fsf_add.patch
Patch4: %{name}-turn-off-gc-test.patch
Patch5: %{name}-threads-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: fileutils sh-utils
PreReq: %install_info_prereq
@ -109,6 +110,7 @@ linked in as a library when building extensible programs.
%patch2
%patch3
%patch4 -p1
%patch5 -p1
# force rebuild with non-broken makeinfo
#rm -f doc/*/*.info