vmt / udis86

Disassembler Library for x86 and x86-64
http://udis86.sourceforge.net
BSD 2-Clause "Simplified" License
1.02k stars 298 forks source link

Bug] broken tests #143

Open werdahias opened 1 year ago

werdahias commented 1 year ago

During my work on an official debian package I found those test failures:

make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make  check-local
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
Generating operand tests.
test-libcheck: passed
test-sym-resolver: passed.
MODE64: Coverage = 203 / 203 (100%)
MODE32: Coverage = 202 / 202 (100%)
MODE16: Coverage = 202 / 202 (100%)
DIFFTEST ./asm/16/disp.asm: PASS
DIFFTEST ./asm/16/test16.asm: ***FAIL*** (./_results/asm/16/test16.asm.diff.log)
DIFFTEST ./_results/asm/16/oprtest.asm: ***FAIL*** (./_results/asm/16/oprtest.asm.diff.log)
DIFFTEST ./asm/32/att.asm: PASS
DIFFTEST ./asm/32/corner.asm: PASS
DIFFTEST ./asm/32/disp.asm: PASS
DIFFTEST ./asm/32/invalid_seg.asm: PASS
DIFFTEST ./asm/32/obscure.asm: PASS
DIFFTEST ./asm/32/reljmp.asm: PASS
DIFFTEST ./asm/32/sext.asm: PASS
DIFFTEST ./asm/32/test32.asm: ***FAIL*** (./_results/asm/32/test32.asm.diff.log)
DIFFTEST ./_results/asm/32/oprtest.asm: ***FAIL*** (./_results/asm/32/oprtest.asm.diff.log)
DIFFTEST ./asm/64/amd/invalid.asm: PASS
DIFFTEST ./asm/64/intel/invalid.asm: PASS
DIFFTEST ./asm/64/branch.asm: PASS
DIFFTEST ./asm/64/disp.asm: PASS
DIFFTEST ./asm/64/reljmp.asm: PASS
DIFFTEST ./asm/64/sext.asm: PASS
DIFFTEST ./asm/64/test64.asm: ***FAIL*** (./_results/asm/64/test64.asm.diff.log)
DIFFTEST ./_results/asm/64/oprtest.asm: ***FAIL*** (./_results/asm/64/oprtest.asm.diff.log)
make[3]: *** [Makefile:701: difftest] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:551: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[1]: *** [Makefile:483: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:19: binary] Error 25

I guess I can skip those for now.

Build enviroment: