[packages/python-gevent] disable system_libev - a test fails
jajcus
jajcus at pld-linux.org
Sat Feb 22 20:32:09 CET 2014
commit 19395fb4e590d3e5aae08a8ca44d59a00675728b
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Feb 22 20:31:21 2014 +0100
disable system_libev - a test fails
test__core_stat.py fails on 32-bit builders when building with
system_libev. This seems serious enough.
known_failures-pld.txt | 12 ++++++++++++
python-gevent.spec | 7 +++++--
2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/python-gevent.spec b/python-gevent.spec
index ccf52d3..af0d961 100644
--- a/python-gevent.spec
+++ b/python-gevent.spec
@@ -1,11 +1,14 @@
# TODO:
-# - investigate some of the failing tests
+# - test__core_stat.py fails on 32-bit builds with system libev
+# investigate/fix that and enable system libev
+#
+# - investigate some other failing tests
# (now excluded via known_failures-pld.txt)
# Conditional build:
%bcond_without tests # do not run tests
-%bcond_without system_libev # build with system libev (more tests will fail)
+%bcond_with system_libev # build with system libev (more tests will fail)
%bcond_without system_c_ares # build with system c_ares
%define module gevent
diff --git a/known_failures-pld.txt b/known_failures-pld.txt
index 4d174b4..3461aa4 100644
--- a/known_failures-pld.txt
+++ b/known_failures-pld.txt
@@ -15,6 +15,18 @@
######################################################
# Tests which fail when building with system libev
+# test__core_stat.py fails on 32-bit builders when using system
+# libev
+#
+## Watcher <stat at 0x86b078c> reacted after 0.0019 seconds (write)
+## Watcher <stat at 0x86b078c> reacted after 0.0019 seconds (unlink)
+## Traceback (most recent call last):
+## File "test__core_stat.py", line 54, in <module>
+## assert watcher.attr is None, watcher.attr
+## AssertionError: posix.stat_result(st_mode=2001, st_ino=0L, st_dev=581509237251768320L, st_nlink=1000, st_uid=0, st_gid=0, st_size=5983298792366014472L, st_atime=1393095309, st_mtime=0, st_ctime=-1)
+#* * * -u test__core_stat.py
+
+
# When building with system libev the 'fileno()' method of the
# loop object is not implemented. It seems to be used only be the
# test code, though.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-gevent.git/commitdiff/19395fb4e590d3e5aae08a8ca44d59a00675728b
More information about the pld-cvs-commit
mailing list