From 19395fb4e590d3e5aae08a8ca44d59a00675728b Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 22 Feb 2014 20:31:21 +0100 Subject: [PATCH] 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/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 reacted after 0.0019 seconds (write) +## Watcher reacted after 0.0019 seconds (unlink) +## Traceback (most recent call last): +## File "test__core_stat.py", line 54, in +## 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. 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 -- 2.44.0