20494432 skip Python test_gdb for version 3.4
authorJohn Beck <John.Beck@Oracle.COM>
Fri, 06 Feb 2015 16:50:21 -0800
changeset 3749 4b214a886766
parent 3747 d2f2bcf116e8
child 3750 60902b5c3237
20494432 skip Python test_gdb for version 3.4
components/python/python34/patches/22-disable-test_gdb.patch
components/python/python34/test/results-64.master
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/python34/patches/22-disable-test_gdb.patch	Fri Feb 06 16:50:21 2015 -0800
@@ -0,0 +1,15 @@
+This patch was written in-house, but ported from Python 2.7; it is unclear
+from the version history why these lines were dropped in version 3.  The
+patch has not yet been submitted upstream, but submission is planned.
+
+--- Python-3.4.2/Lib/test/test_gdb.py.~1~	2014-10-08 01:18:13.000000000 -0700
++++ Python-3.4.2/Lib/test/test_gdb.py	2015-02-06 16:00:58.802170301 -0800
+@@ -34,6 +34,8 @@
+ if gdb_major_version < 7:
+     raise unittest.SkipTest("gdb versions before 7.0 didn't support python embedding"
+                             " Saw:\n" + gdb_version.decode('ascii', 'replace'))
++if sys.platform.startswith("sunos"):
++    raise unittest.SkipTest("test doesn't work very well on Solaris")
+ 
+ if not sysconfig.is_python_build():
+     raise unittest.SkipTest("test_gdb only works on source builds at the moment.")
--- a/components/python/python34/test/results-64.master	Fri Feb 06 15:43:34 2015 -0800
+++ b/components/python/python34/test/results-64.master	Fri Feb 06 16:50:21 2015 -0800
@@ -1,12 +1,12 @@
 360 tests OK.
-9 tests failed:
-    test_cmd_line_script test_ctypes test_dtrace test_gdb test_import
+8 tests failed:
+    test_cmd_line_script test_ctypes test_dtrace test_import
     test_readline test_site test_socket test_time
 2 tests altered the execution environment:
     test___all__ test_warnings
-19 tests skipped:
-    test_curses test_epoll test_kqueue test_msilib test_ossaudiodev
-    test_pep277 test_smtpnet test_socketserver test_startfile
-    test_timeout test_tk test_ttk_guionly test_unicode_file
-    test_urllib2net test_urllibnet test_winreg test_winsound
-    test_xmlrpc_net test_zipfile64
+20 tests skipped:
+    test_curses test_epoll test_gdb test_kqueue test_msilib
+    test_ossaudiodev test_pep277 test_smtpnet test_socketserver
+    test_startfile test_timeout test_tk test_ttk_guionly
+    test_unicode_file test_urllib2net test_urllibnet test_winreg
+    test_winsound test_xmlrpc_net test_zipfile64