Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Tests fail #28

@larsmans

Description

@larsmans

I get the following test failures on Ubuntu w/ PCL 1.6, NumPy 1.7.1, Python 2.7.5. Tests run with nosetests tests/ after doing make clean all in the source directory.

======================================================================
FAIL: testSegment (test.TestSegmentCylinder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 157, in testSegment
    self.assertEqual(len(indices), SEGCYLIN)
AssertionError: 11462 != 11461

======================================================================
FAIL: testFilterNeg (test.TestSegmenterNormal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 242, in testFilterNeg
    self._tneg(c)
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 224, in _tneg
    self.assertEqual(c.size, 1013)
AssertionError: 1015 != 1013

======================================================================
FAIL: testFilterPos (test.TestSegmenterNormal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 234, in testFilterPos
    self._tpos(c)
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 218, in _tpos
    self.assertEqual(c.size, 22747)
AssertionError: 22745 != 22747

======================================================================
FAIL: testFilterPosNeg (test.TestSegmenterNormal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 249, in testFilterPosNeg
    self._tpos(c)
  File "/home/larsb/src/patty/python-pcl/tests/test.py", line 218, in _tpos
    self.assertEqual(c.size, 22747)
AssertionError: 22745 != 22747

Finally, after reporting the number of failures, nosetests segfaults. Any idea what this could be?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions