diff options
author | Andrey Grozin <grozin@gentoo.org> | 2014-01-11 11:09:50 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2014-01-11 11:09:50 +0000 |
commit | 6beef649838c29f6a0c5164fb2056ff141d3532f (patch) | |
tree | 9eb61232db41fdb1e8d6f68b24a9459b9a29a105 | |
parent | Backport the python-any-r1 conversion from x11 overlay. (diff) | |
download | gentoo-2-6beef649838c29f6a0c5164fb2056ff141d3532f.tar.gz gentoo-2-6beef649838c29f6a0c5164fb2056ff141d3532f.tar.bz2 gentoo-2-6beef649838c29f6a0c5164fb2056ff141d3532f.zip |
Patching tests which fail on some systems: bug #486552, thanks to Danis S. <ssoqboss@gmail.com>; bug #468482, thanks to Eckard Brauer <ecki@intershop.de> and Juergen Rose <rose@rz.uni-potsdam.de>
(Portage version: 2.2.8/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
-rw-r--r-- | dev-lisp/sbcl/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/bsd-sockets-test.patch | 22 | ||||
-rw-r--r-- | dev-lisp/sbcl/files/concurrency-test.patch | 16 | ||||
-rw-r--r-- | dev-lisp/sbcl/sbcl-1.1.14.ebuild | 8 |
4 files changed, 52 insertions, 4 deletions
diff --git a/dev-lisp/sbcl/ChangeLog b/dev-lisp/sbcl/ChangeLog index f4321de0fc94..0945d62a7b55 100644 --- a/dev-lisp/sbcl/ChangeLog +++ b/dev-lisp/sbcl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lisp/sbcl -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.198 2013/12/12 10:06:13 nimiux Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/ChangeLog,v 1.199 2014/01/11 11:09:50 grozin Exp $ + + 11 Jan 2014; Andrey Grozin <grozin@gentoo.org> sbcl-1.1.14.ebuild, + +files/bsd-sockets-test.patch, +files/concurrency-test.patch: + Patching tests which fail on some systems: bug #486552, thanks to Danis S. + <ssoqboss@gmail.com>; bug #468482, thanks to Eckard Brauer + <ecki@intershop.de> and Juergen Rose <rose@rz.uni-potsdam.de> 12 Dec 2013; Chema Alonso <nimiux@gentoo.org> sbcl-1.1.12.ebuild: Revoke stable for amd64 wrt bug #485632 diff --git a/dev-lisp/sbcl/files/bsd-sockets-test.patch b/dev-lisp/sbcl/files/bsd-sockets-test.patch new file mode 100644 index 000000000000..d08fd8610b89 --- /dev/null +++ b/dev-lisp/sbcl/files/bsd-sockets-test.patch @@ -0,0 +1,22 @@ +diff -r -U1 sbcl-1.1.14.orig/contrib/sb-bsd-sockets/tests.lisp sbcl-1.1.14/contrib/sb-bsd-sockets/tests.lisp +--- sbcl-1.1.14.orig/contrib/sb-bsd-sockets/tests.lisp 2013-11-30 21:28:17.000000000 +0700 ++++ sbcl-1.1.14/contrib/sb-bsd-sockets/tests.lisp 2014-01-11 20:48:22.762700792 +0700 +@@ -31,10 +31,10 @@ + ;;; for unknown protocols... +-#-(and freebsd sb-thread) +-(deftest get-protocol-by-name/error +- (handler-case (get-protocol-by-name "nonexistent-protocol") +- (unknown-protocol () +- t) +- (:no-error () +- nil)) +- t) ++;#-(and freebsd sb-thread) ++;(deftest get-protocol-by-name/error ++; (handler-case (get-protocol-by-name "nonexistent-protocol") ++; (unknown-protocol () ++; t) ++; (:no-error () ++; nil)) ++; t) + diff --git a/dev-lisp/sbcl/files/concurrency-test.patch b/dev-lisp/sbcl/files/concurrency-test.patch new file mode 100644 index 000000000000..2c97488cc3d7 --- /dev/null +++ b/dev-lisp/sbcl/files/concurrency-test.patch @@ -0,0 +1,16 @@ +diff -r -U1 sbcl-1.1.12.orig/contrib/sb-concurrency/tests/test-frlock.lisp sbcl-1.1.12/contrib/sb-concurrency/tests/test-frlock.lisp +--- sbcl-1.1.12.orig/contrib/sb-concurrency/tests/test-frlock.lisp 2013-09-30 20:15:42.000000000 +0700 ++++ sbcl-1.1.12/contrib/sb-concurrency/tests/test-frlock.lisp 2013-10-14 20:43:05.586366791 +0700 +@@ -19,5 +19,5 @@ + +-(defun test-frlocks (&key (reader-count 100) (read-count 1000000) ++(defun test-frlocks (&key (reader-count 50) (read-count 500000) + (outer-read-pause 0) (inner-read-pause 0) +- (writer-count 10) (write-count 10000) ++ (writer-count 10) (write-count 5000) + (outer-write-pause 0.0001) (inner-write-pause 0)) +@@ -84,3 +84,3 @@ + (handler-case +- (sb-ext:with-timeout 60 (test-frlocks)) ++ (sb-ext:with-timeout 240 (test-frlocks)) + (sb-ext:timeout (c) diff --git a/dev-lisp/sbcl/sbcl-1.1.14.ebuild b/dev-lisp/sbcl/sbcl-1.1.14.ebuild index 0912ced3865d..0788761f1e8c 100644 --- a/dev-lisp/sbcl/sbcl-1.1.14.ebuild +++ b/dev-lisp/sbcl/sbcl-1.1.14.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.14.ebuild,v 1.1 2013/12/09 18:56:31 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.14.ebuild,v 1.2 2014/01/11 11:09:50 grozin Exp $ EAPI=5 inherit multilib eutils flag-o-matic pax-utils @@ -80,6 +80,10 @@ src_unpack() { src_prepare() { epatch "${FILESDIR}"/gentoo-fix_install_man.patch epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch + # bug #468482 + epatch "${FILESDIR}"/concurrency-test.patch + # bug #486552 + epatch "${FILESDIR}"/bsd-sockets-test.patch # To make the hardened compiler NOT compile with -fPIE -pie if gcc-specs-pie ; then |