summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2014-01-11 11:10:10 +0000
committerAndrey Grozin <grozin@gentoo.org>2014-01-11 11:10:10 +0000
commit37b52917588048f249b6c56e7301c87e9dbfd216 (patch)
treec16997e83a5d535783a4d1cf799152a38a43bab2 /dev-lisp/sbcl/files
parentBackport the python-any-r1 conversion from x11 overlay. (diff)
downloadhistorical-37b52917588048f249b6c56e7301c87e9dbfd216.tar.gz
historical-37b52917588048f249b6c56e7301c87e9dbfd216.tar.bz2
historical-37b52917588048f249b6c56e7301c87e9dbfd216.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>
Package-Manager: portage-2.2.8/cvs/Linux i686 Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'dev-lisp/sbcl/files')
-rw-r--r--dev-lisp/sbcl/files/bsd-sockets-test.patch22
-rw-r--r--dev-lisp/sbcl/files/concurrency-test.patch16
2 files changed, 38 insertions, 0 deletions
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)