From: Brian Warner Date: Fri, 19 Sep 2008 19:38:55 +0000 (-0700) Subject: test_cli: disable generate-keypair test on OS-X, pycryptopp still has a bug X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/bar.txt?a=commitdiff_plain;h=0799e09910bf504cc18ac404d346c72bc955ad31;p=tahoe-lafs%2Ftahoe-lafs.git test_cli: disable generate-keypair test on OS-X, pycryptopp still has a bug --- diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py index f6f20f73..21e1ea7d 100644 --- a/src/allmydata/test/test_cli.py +++ b/src/allmydata/test/test_cli.py @@ -515,6 +515,11 @@ class Admin(unittest.TestCase): return d def test_generate_keypair(self): + import sys + if sys.platform == "darwin": + # pycryptopp-0.5.7's ECDSA is broken on OS-X, it raises a C++ + # exception, which halts the whole process. So skip this test. + raise unittest.SkipTest("pycryptopp-0.5.7's ECDSA raises a C++ exception on OS-X") d = self.do_cli("admin", "generate-keypair") def _done( (stdout, stderr) ): lines = stdout.split("\n")