[med-svn] [Git][med-team/python-parasail][master] There are not only SEGFAULTS but other errors

Andreas Tille gitlab at salsa.debian.org
Wed Dec 9 20:25:27 GMT 2020



Andreas Tille pushed to branch master at Debian Med / python-parasail


Commits:
0fac01bc by Andreas Tille at 2020-12-09T20:23:57+00:00
There are not only SEGFAULTS but other errors

- - - - -


1 changed file:

- debian/patches/exclude_critical_test_on_arm64.patch


Changes:

=====================================
debian/patches/exclude_critical_test_on_arm64.patch
=====================================
@@ -51,3 +51,29 @@ Description: attempt to track down Segfaults on amd64
          r = parasail.sw_trace("asdf", "asdf", 10, 1, parasail.blosum62)
          print(r.query)
          print(r.ref)
+--- a/tests/test_tables.py
++++ b/tests/test_tables.py
+@@ -1,6 +1,6 @@
+ import parasail
+ from unittest import TestCase,  main
+-
++import platform
+ 
+ class Tests(TestCase):
+ 
+@@ -105,9 +105,12 @@ class Tests(TestCase):
+         print(result)
+         print(result.saturated)
+         print(result.score)
+-        print(result.matches)
+-        print(result.similar)
+-        print(result.length)
++        if platform.uname().machine != 'aarch64':
++            print(result.matches)
++            print(result.similar)
++            print(result.length)
++        else:
++            print("On architecture aarch64 this test runs into: AttributeError: 'Result' object has no stats")
+ 
+         print(parasail.blosum62.name)
+         print(parasail.blosum62.size)



View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/commit/0fac01bc445ed0f3b9155b64b6fa838c351c93ec

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-parasail/-/commit/0fac01bc445ed0f3b9155b64b6fa838c351c93ec
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201209/ce1b4a16/attachment-0001.html>


More information about the debian-med-commit mailing list