nima / python-dmidecode

Python DMI-Decode
39 stars 27 forks source link

Enable alignment workaround for 32-bit ARM arch #24

Closed vt-alt closed 3 years ago

vt-alt commented 4 years ago

Or unit test fails with:

 * Testing type 12...PASS
 * Testing type 19...make[1]: *** [Makefile:4: test] Bus error

make[1]: Leaving directory '/usr/src/RPM/BUILD/python-modules-dmidecode-3.12.2/unit-tests' make: *** [Makefile:104: unit] Error 2

Signed-off-by: Vitaly Chikunov vt@altlinux.org

codecov[bot] commented 4 years ago

Codecov Report

Merging #24 into master will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   70.85%   70.85%           
=======================================
  Files          10       10           
  Lines        3215     3215           
=======================================
  Hits         2278     2278           
  Misses        937      937           
lian-bo commented 3 years ago

Hi, Vitalio Thank you for the fix. I have no arm(32) machine to test, but this change looks good to me according to your patch log. And it won't affect the compilation of other architectures.