andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

tests do not pass on armv7h when building package #49

Open solsticedhiver opened 3 years ago

solsticedhiver commented 3 years ago

Trying to build the package now, leads to this error on rpi3 (b+)

30-config-sysroot.t ........... ok     
40-ui-cb-download-progress.t .. 1/11 #   Failed test at 40-ui-cb-download-progress.c line 24.
'          got: '(1/1) qux (86081899209949184)
'     expected: '(1/1) qux (0)
#   Failed test at 40-ui-cb-download-progress.c line 30.
'          got: '(2/2) bar (86117358459944960)
'     expected: '(2/2) bar (0)
#   Failed test at 40-ui-cb-download-progress.c line 42.
'          got: '(2/3) bar (86117667697590272)
'     expected: '(2/3) bar (0)
#   Failed test at 40-ui-cb-download-progress.c line 48.
'          got: '(3/3) foo (86117839496282115)
'     expected: '(3/3) foo (3)
#   Failed test at 40-ui-cb-download-progress.c line 60.
'          got: '(2/2) foo (86118183093665795)
'     expected: '(2/2) foo (3)
#   Failed test at 40-ui-cb-download-progress.c line 66.
'          got: '(1/2) bar (86118354892357635)
'     expected: '(1/2) bar (3)
#   Failed test at 40-ui-cb-download-progress.c line 72.
#          got: 'foo is up to date
'1/1) bar (86118526691049475)
#     expected: 'foo is up to date
'1/1) bar (3)
#   Failed test at 40-ui-cb-download-progress.c line 78.
'          got: '(1/1) bar (86118801568956416)
'     expected: '(1/1) bar (0)
40-ui-cb-download-progress.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 8/11 subtests 
99-pu_list_shift.t ............ ok   

Test Summary Report
-------------------
40-ui-cb-download-progress.t (Wstat: 256 Tests: 11 Failed: 8)
  Failed tests:  1-2, 4-5, 7-10
  Non-zero exit status: 1
Files=15, Tests=363,  0 wallclock secs ( 0.31 usr  0.02 sys +  0.29 cusr  0.23 csys =  0.85 CPU)
Result: FAIL
make[1]: *** [Makefile:33: check] Error 1
make[1]: Leaving directory '/home/cassini/asp/pacutils/trunk/src/pacutils/t'
make: *** [Makefile:10: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...