Bug#946422: silx: autopkgtest regression: pocl error
Andreas Beckmann
anbe at debian.org
Wed Dec 18 01:29:57 GMT 2019
I've minimized it to
=====8<=====
import unittest
def suite():
from silx.io import test as test_io
from silx.opencl import test as test_ocl
test_suite = unittest.TestSuite()
test_suite.addTest(test_ocl.suite())
return test_suite
if __name__ == '__main__':
runner = unittest.TextTestRunner()
if not runner.run(suite()).wasSuccessful():
print("Test suite failed")
else:
print("Test suite succeeded")
=====>8=====
If I disable the useless silx.io import (or move it below silx.opencl),
the pocl lt_dlopen() error disappers and I get a test failure instead:
FAIL: test_medfilt (silx.opencl.test.test_medfilt.TestMedianFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/silx/opencl/test/test_medfilt.py", line
115, in test_medfilt
self.assertEqual(r.error, 0, 'Results are correct')
AssertionError: 3.4028235e+38 != 0 : Results are correct
So importing silx.io loads something that clashes with pocl (if loaded
afterwards)
Andreas
More information about the debian-science-maintainers
mailing list