mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
329 stars 171 forks source link

unit test failed on debian 11 + gcc-10 #723

Open xkszltl opened 2 years ago

xkszltl commented 2 years ago

libgdiplus 6.0.5 Was fine when tested on CentOS 7 + gcc-9 and Ubuntu 18.04 + gcc-8

++ make check -j
Making check in src
make[1]: Entering directory '/tmp/scratch/libgdiplus/src'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/tmp/scratch/libgdiplus/src'
Making check in tests
make[1]: Entering directory '/tmp/scratch/libgdiplus/tests'
make  check-TESTS
make[2]: Entering directory '/tmp/scratch/libgdiplus/tests'
make[3]: Entering directory '/tmp/scratch/libgdiplus/tests'
PASS: testbits
PASS: testadjustablearrowcap
PASS: testbrush
PASS: testicocodec
PASS: testlineargradientbrush
PASS: testemfcodec
PASS: testpen
PASS: testhatchbrush
PASS: testmatrix
PASS: testimageattributes
PASS: testcustomlinecap
PASS: testgifcodec
PASS: testpathgradientbrush
PASS: testgpimage
PASS: teststringformat
PASS: testjpegcodec
PASS: testclip
PASS: testbmpcodec
PASS: testcodecs
PASS: testmetafile
PASS: testreversepath
PASS: testwmfcodec
PASS: testsolidbrush
PASS: testpng
PASS: testpngcodec
PASS: testbitmap
PASS: testregion
../test-driver: line 109: 161249 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: testtext
../test-driver: line 109: 160896 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: testfont
PASS: testgraphicspath
PASS: testgraphics
PASS: testtiffcodec
PASS: testgraphicsfill
PASS: testtexturebrush
PASS: testgeneral
PASS: testgraphicsdraw
============================================================================
Testsuite summary for libgdiplus 6.0.5
============================================================================
# TOTAL: 36
# PASS:  34
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://github.com/mono/mono/issues/new
============================================================================
make[3]: *** [Makefile:1233: test-suite.log] Error 1
make[3]: Leaving directory '/tmp/scratch/libgdiplus/tests'
make[2]: *** [Makefile:1341: check-TESTS] Error 2
make[2]: Leaving directory '/tmp/scratch/libgdiplus/tests'
make[1]: *** [Makefile:1659: check-am] Error 2
make[1]: Leaving directory '/tmp/scratch/libgdiplus/tests'
make: *** [Makefile:485: check-recursive] Error 1
xkszltl commented 2 years ago

Same result when using gcc-8 on Debian 11, so it could be due to other non-compiler reasons.