author | John Beck <John.Beck@Oracle.COM> |
Tue, 22 Dec 2015 07:57:25 -0800 | |
changeset 5229 | b7b91ddbbdce |
parent 3749 | 4b214a886766 |
permissions | -rw-r--r-- |
3749
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
1 |
This patch was written in-house, but ported from Python 2.7; it is unclear |
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
2 |
from the version history why these lines were dropped in version 3. The |
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
3 |
patch has not yet been submitted upstream, but submission is planned. |
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
4 |
|
5229
b7b91ddbbdce
22456127 Upgrade Python 3.4 line to 3.4.4
John Beck <John.Beck@Oracle.COM>
parents:
3749
diff
changeset
|
5 |
--- Python-3.4.4rc1/Lib/test/test_gdb.py.~1~ 2015-12-09 08:10:27.280590637 -0800 |
b7b91ddbbdce
22456127 Upgrade Python 3.4 line to 3.4.4
John Beck <John.Beck@Oracle.COM>
parents:
3749
diff
changeset
|
6 |
+++ Python-3.4.4rc1/Lib/test/test_gdb.py 2015-12-09 08:12:41.389980386 -0800 |
b7b91ddbbdce
22456127 Upgrade Python 3.4 line to 3.4.4
John Beck <John.Beck@Oracle.COM>
parents:
3749
diff
changeset
|
7 |
@@ -49,6 +49,8 @@ |
b7b91ddbbdce
22456127 Upgrade Python 3.4 line to 3.4.4
John Beck <John.Beck@Oracle.COM>
parents:
3749
diff
changeset
|
8 |
"embedding. Saw %s.%s:\n%s" |
b7b91ddbbdce
22456127 Upgrade Python 3.4 line to 3.4.4
John Beck <John.Beck@Oracle.COM>
parents:
3749
diff
changeset
|
9 |
% (gdb_major_version, gdb_minor_version, |
b7b91ddbbdce
22456127 Upgrade Python 3.4 line to 3.4.4
John Beck <John.Beck@Oracle.COM>
parents:
3749
diff
changeset
|
10 |
gdb_version)) |
3749
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
11 |
+if sys.platform.startswith("sunos"): |
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
12 |
+ raise unittest.SkipTest("test doesn't work very well on Solaris") |
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
13 |
|
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
14 |
if not sysconfig.is_python_build(): |
4b214a886766
20494432 skip Python test_gdb for version 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
15 |
raise unittest.SkipTest("test_gdb only works on source builds at the moment.") |