klebgenomics / Kleborate

GNU General Public License v3.0
117 stars 49 forks source link

kleborate is failing tests on s390x #57

Open nileshpatra opened 3 years ago

nileshpatra commented 3 years ago

Hi,

First off, Thanks for your work on Kleborate! Actually, Kleborate does not pass its testsuite anymore on s390x and any other Big Endian architectures. The version 2.0.1 worked just fine, but something changed after that and both 2.0.4 and 2.1.0 do not work.

It has a few tests failing, owing to this symptom. Most of it is similar to:

======================================================================
FAIL: test_res_01 (test.test_res_alleles.TestResAlleles)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/test/test_res_alleles.py", line 41, in test_res_01
    self.assertEqual(results['Bla_acquired'], 'ABC-1')
AssertionError: '-' != 'ABC-1'
- -
+ ABC-1

======================================================================
FAIL: test_res_02 (test.test_res_alleles.TestResAlleles)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/test/test_res_alleles.py", line 49, in test_res_02
    self.assertEqual(results['Bla_acquired'], 'ABC-2')
AssertionError: '-' != 'ABC-2'
- -
+ ABC-2

Full log can be found here Please consider to fix this.