Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662048 - media-libs/fontconfig-2.13.0-r4 fails tests due to pregenerated test/out.expected
Summary: media-libs/fontconfig-2.13.0-r4 fails tests due to pregenerated test/out.expe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-07-24 20:46 UTC by Mart Raudsepp
Modified: 2018-07-25 08:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2018-07-24 20:46:30 UTC
make[4]: Entering directory '/tmp/portage/media-libs/fontconfig-2.13.0-r4/work/fontconfig-2.13.0-.arm64/test'
PASS: test-bz89617
PASS: test-bz131804
PASS: test-bz96676
FAIL: run-test.sh
============================================================================
Testsuite summary for fontconfig 2.13.0
============================================================================
# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0


FAIL: run-test
==============

*** Test failed: Basic check
*** output is in 'out', expected output in 'out.expected'
FAIL run-test.sh (exit status: 1)


# cat ../../fontconfig-2.13.0/test/out.expected
Fixed:pixelsize=16
Fixed:pixelsize=6
=
Fixed:pixelsize=16
Fixed:pixelsize=6
=
Fixed:pixelsize=16
Fixed:pixelsize=6

# cat out 
Misc Fixed:pixelsize=6
Sony Fixed:pixelsize=16
=
Misc Fixed:pixelsize=6
Sony Fixed:pixelsize=16
=
Misc Fixed:pixelsize=6
Sony Fixed:pixelsize=16



It's supposed to take the FREETYPE_PCF_LONG_FAMILY_NAMES case from tests/Makefile.am for me, so copy "out.expected-long-family-names" to "out.expected", and then it'd pass.
But the tarball ships with a pregenerated tests/out.expected and the build rules don't copy it over. Tests would pass if that $S/tests/out.expected would be rm'ed in src_prepare.
Please fix.
Comment 1 Larry the Git Cow gentoo-dev 2018-07-25 08:54:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68898ab56aabf1574804f4dc8e88715f2d4fff21

commit 68898ab56aabf1574804f4dc8e88715f2d4fff21
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-07-25 08:54:22 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-07-25 08:54:22 +0000

    media-libs/fontconfig: Fixed test suite.
    
    Closes: https://bugs.gentoo.org/662048
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/fontconfig/fontconfig-2.13.0-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Mart Raudsepp gentoo-dev 2018-07-25 08:57:31 UTC
Is this something still a problem in upstream "make distcheck" worth reporting to them?