From: Mark H Weaver <mhw@netris.org>
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Python: disable test_wait_result() as it fails on some setups
Date: Mon, 07 Apr 2014 02:17:35 -0400 [thread overview]
Message-ID: <87r459slxc.fsf@yeeloong.lan> (raw)
In-Reply-To: <1396820010-19125-1-git-send-email-tipecaml@gmail.com> (Cyril Roelandt's message of "Sun, 6 Apr 2014 23:33:30 +0200")
Cyril Roelandt <tipecaml@gmail.com> writes:
> * gnu/packages/patches/python-fix-tests.patch: disable a failing test.
> ---
> gnu/packages/patches/python-fix-tests.patch | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/gnu/packages/patches/python-fix-tests.patch b/gnu/packages/patches/python-fix-tests.patch
> index fecebda..eed4f36 100644
> --- a/gnu/packages/patches/python-fix-tests.patch
> +++ b/gnu/packages/patches/python-fix-tests.patch
> @@ -64,3 +64,13 @@ http://bugs.python.org/issue20868 .
> @unittest.skipUnless(support.is_resource_enabled('network'),
> 'network is not enabled')
> def test_idna(self):
> +--- Lib/test/test_multiprocessing.py 2014-04-06 23:12:27.575235000 +0200
> ++++ Lib/test/test_multiprocessing.py 2014-04-06 23:13:04.827235000 +0200
> +@@ -1016,6 +1016,7 @@
> + if pid is not None:
> + os.kill(pid, signal.SIGINT)
> +
> ++ @unittest.skipIf(True, "This fails for unknown reasons on Guix")
> + def test_wait_result(self):
> + if isinstance(self, ProcessesMixin) and sys.platform != 'win32':
> + pid = os.getpid()
This fixes the build on x86_64 for me, but there are still test failures
on MIPS:
--8<---------------cut here---------------start------------->8---
======================================================================
FAIL: test_issue_8959_a (ctypes.test.test_callbacks.SampleCallbacksTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python-3.3.3.drv-0/Python-3.3.3/Lib/ctypes/test/test_callbacks.py", line 191, in test_issue_8959_a
self.assertEqual(array[:], [1, 5, 7, 33, 99])
AssertionError: Lists differ: [33, 7, 99, 1, 5] != [1, 5, 7, 33, 99]
First differing element 0:
33
1
- [33, 7, 99, 1, 5]
+ [1, 5, 7, 33, 99]
======================================================================
FAIL: test_qsort (ctypes.test.test_libc.LibTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python-3.3.3.drv-0/Python-3.3.3/Lib/ctypes/test/test_libc.py", line 30, in test_qsort
self.assertEqual(chars.raw, b" ,,aaaadmmmnpppsss\x00")
AssertionError: b'mmaappss dna ,,maps\x00' != b' ,,aaaadmmmnpppsss\x00'
----------------------------------------------------------------------
Ran 346 tests in 4.092s
FAILED (failures=2, skipped=1)
Makefile:881: recipe for target 'test' failed
make: *** [test] Error 1
phase `check' failed after 661 seconds
--8<---------------cut here---------------end--------------->8---
I suppose that these are genuine bugs in the ctypes module for MIPS.
Mark
next prev parent reply other threads:[~2014-04-07 6:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 23:07 0.6 is around the corner! Ludovic Courtès
2014-04-01 18:50 ` Mark H Weaver
2014-04-01 19:20 ` Mark H Weaver
2014-04-01 20:02 ` Ludovic Courtès
2014-04-01 19:25 ` Ludovic Courtès
2014-04-02 19:43 ` Mark H Weaver
2014-04-03 16:32 ` Python 3 test failures Ludovic Courtès
2014-04-03 17:11 ` Mark H Weaver
2014-04-03 19:51 ` Ludovic Courtès
2014-04-06 19:41 ` 0.6 is around the corner! Ludovic Courtès
2014-04-06 21:33 ` [PATCH] gnu: Python: disable test_wait_result() as it fails on some setups Cyril Roelandt
2014-04-07 6:17 ` Mark H Weaver [this message]
2014-04-07 22:13 ` [PATCH] gnu: Python: disable failing tests on MIPS64 Cyril Roelandt
2014-04-08 0:10 ` Mark H Weaver
2014-04-08 3:50 ` Mark H Weaver
2014-04-09 0:40 ` Nikita Karetnikov
2014-04-09 2:51 ` Cyril Roelandt
2014-04-09 16:04 ` Nikita Karetnikov
2014-04-07 7:41 ` [PATCH] gnu: Python: disable test_wait_result() as it fails on some setups Ludovic Courtès
2014-04-07 21:45 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r459slxc.fsf@yeeloong.lan \
--to=mhw@netris.org \
--cc=guix-devel@gnu.org \
--cc=tipecaml@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.