Source: gamera
Version: 3.3.2-1
Severity: important
gamera FTBFS on s390x[0] and sparc64[1]:
| +
PYTHONPATH=/build/buildd-gamera_3.3.2-1-s390x-06wZB9/gamera-3.3.2/build/lib.linux-s390x-2.7
python2.7 debian/run-tests.py
| /usr/lib/pymodules/python2.7/py/_code/_assertionold.py:3: DeprecationWarning:
The compiler package is deprecated and removed in Python 3.x.
| from compiler import parse, ast, pycodegen
| ============================= test session starts
==============================
| platform linux2 -- Python 2.7.2 -- pytest-1.3.4
| test path 1: /build/buildd-gamera_3.3.2-1-s390x-06wZB9/gamera-3.3.2/tests
|
| test_classifier.py ..
| test_color.py .
| test_features.py ...............
| test_floatpoint.py ..
| test_graph.py
..............F.......F.F.F..........F..........F..F......F.......F.F.....F..F....FF..F......F....FF................F..F............F......F......F.F...F.......F.F..F..F.F.F....................F.............F............F..F......F..........F......F.........................F...F..
| test_graph_colorize.py .
| test_image.py .....
| test_image_info.py .
| test_kdtree.py ....
| test_load_image.py ......
| test_mlcc.py ..
| test_nested_list.py .
| test_plugins.py
........................................................................................................................................................................................................................................
| test_rect.py .
| test_rle.py .
| test_save_image.py .
| test_voronoi.py ...
| test_xml.py ..........
|
| =================================== FAILURES
===================================
| _______________________ TestGraph.test_small_4__test_dfs
_______________________
|
| self = <test_graph.TestGraph instance at 0x80fb0848>
|
| def _t(self):
| > return t(flag)
|
| test_graph.py:1074:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| flag = 4
|
| def _test_dfs(flag = gamera.graph.FREE):
| a = [1001,1005,1006,1003,1007,1002,10019,1004]
| b = [1001,1005,1006,1003,1007,1002]
| correct_dfs = {
| gamera.graph.UNDIRECTED: a,
| gamera.graph.DIRECTED: b,
| gamera.graph.CYCLIC: a,
| gamera.graph.BLOB: a,
| gamera.graph.MULTI_CONNECTED: a,
| gamera.graph.SELF_CONNECTED: a,
| gamera.graph.FREE: b,
| gamera.graph.TREE: a,
| gamera.graph.FLAG_DAG: b,
| }
| result_dfs = []
| g = gamera.graph.Graph(flag)
| g.add_edge(1004,10019)
| g.add_edge(10019,1001)
| g.add_edge(1001,1005)
| g.add_edge(1005,1002)
| g.add_edge(1005,1006)
| g.add_edge(1002,1006)
| g.add_edge(1006,1003)
| g.add_edge(1002,1003)
| g.add_edge(1007,1003)
| g.add_edge(1003,1007)
| for n in g.DFS(1001):
| #print n
| result_dfs.append(n())
| if correct_dfs.has_key(flag):
| > assert correct_dfs[flag] == result_dfs
| E assert [1001, 1005, 1006, 1003, 1007, 1002, ...] == [1001, 1005,
1006, 1003, 1007, 1002]
|
| test_graph.py:203: AssertionError
[snip - more failed tests]
| ==================== 40 failed, 529 passed in 13.34 seconds
====================
[0] http://buildd.debian-ports.org/status/fetch.php?pkg=gamera&arch=s390x&ver=3.3.2-1&stamp=1316845433
[1] http://buildd.debian-ports.org/status/fetch.php?pkg=gamera&arch=sparc64&ver=3.3.2-1&stamp=1316820764
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]