Test 'valid/test-corpus' fails for 32-bit architectures

Radovan Birdic Radovan.Birdic@rt-rk.com
Sun May 21 20:28:00 GMT 2017


Hi,

Package libi8x fails on Debian for all 32-bit endian architectures during testing:

> make  check-TESTS
> PASS: exec/ops/test-deref
> PASS: exec/test-factorial
> PASS: exec/test-smoke
> FAIL: valid/test-corpus
> ========================================
>    libi8x 0.0.3: tests/test-suite.log
> ========================================
>
> # TOTAL: 4
> # PASS:  3
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: valid/test-corpus
> =======================
>
> corpus/i8c/0.0.4/32el/test_deref/test_deref/0015-0001[0x9]: Unhandled note
> corpus/i8c/0.0.4/32el/test_deref/test_deref/0011-0001[0x9]: Unhandled note
> corpus/i8c/0.0.4/32be/test_deref/test_deref/0015-0001[0x9]: Unhandled note
> corpus/i8c/0.0.4/32be/test_deref/test_deref/0011-0001[0x9]: Unhandled note
> valid/test-corpus.c:137: ftw_failcount == 0
> FAIL valid/test-corpus (exit status: 1)
>
> ============================================================================
> Testsuite summary for libi8x 0.0.3
> ============================================================================
> # TOTAL: 4
> # PASS:  3
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================

Full build log for mipsel:
https://buildd.debian.org/status/fetch.php?pkg=libi8x&arch=mipsel&ver=0.0.3-1&stamp=1493727519&raw=0

Binary files 'test_deref/0015-0001' and 'test_deref/0011-0001' from test folder 0.0.4 cause a problem.
Does it make sense to you to threat these tests like the same tests from 0.0.3 version?

I have created and attached a patch that handles these tests.
With this patch package builds successfully on my local mips, mipsel and i386 machines.

Could you please look at this?

Regards,
Radovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-32-bit-arches-test-fails.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/infinity/attachments/20170521/29af7763/attachment.bin>


More information about the Infinity mailing list