On Tue, Nov 19, 2019 at 12:12:56PM -0500, KARASIK via RT wrote:
Show quoted text> Hmm I'm fairly sure I isolated the code from "opaque/alpha" case ... but
> just in case, if you run
>
> perl -Iblib/arch -I. t/Image/Bar.t
>
> will it fail or pass on this test branch?
Yes, it fails.
Show quoted text> If it fails,could you sent the output that is relevant to the case (not all
> of it :)
>
Complete build log at
<
https://kojipkgs.fedoraproject.org//work/tasks/3957/39123957/build.log>.
Search for "%check". That's where the tests start. The "+"-prefixed lines are
commands executed by a shell. First is the a "perl test.pl" command, then the
"perl -Iblib/arch -I. t/Image/Bar.t" command. As you can see the test fails
exactly as I originally reported. Please note that stdin and stdout outputs
can be offset because mupliplexing the streams is in our infrastrucuture is
odd.
Here is the excerpt you asked for:
ok 1396 - bar patshift/opaque alpha, bpp=1
not ok 1397 - line patshift/opaque alpha, bpp=1
# Failed test 'line patshift/opaque alpha, bpp=1'
# at t/Image/Bar.t line 23.
# ffffffff80000001ffffffff (actual)
# ffffffff89090909ffffffff (expected)
ok 1398 - bar patshift/transparent, bpp=4
[...]
resample colors for 4
COLOR
resample colors for 4
COLOR
fg: 000000
bg: 00ffff
set px 1 1 24 = 000000
set px 2 1 24 = 000000
set px 3 1 24 = 000000
set px 5 1 24 = 000000
set px 6 1 24 = 0000ok 1403 - line patshift/transparent alpha, bpp=4
ok 1404 - bar patshift/opaque alpha, bpp=4
not ok 1405 - line patshift/opaque alpha, bpp=4
# Failed test 'line patshift/opaque alpha, bpp=4'
# at t/Image/Bar.t line 23.
# ffffffff80000001ffffffff (actual)
# ffffffff89090909ffffffff (expected)
ok 1406 - bar patshift/transparent, bpp=8
[...]
ok 1412 - bar patshift/opaque alpha, bpp=8
not ok 1413 - line patshift/opaque alpha, bpp=8
# Failed test 'line patshift/opaque alpha, bpp=8'
# at t/Image/Bar.t line 23.
# ffffffff80000001ffffffff (actual)
# ffffffff89090909ffffffff (expected)
ok 1414 - bar patshift/transparent, bpp=24
00
set px 8 1 24 = 000000
set px 9 1 24 = 000000
[...]
ok 1421 - line patshift/opaque alpha, bpp=24
1..1421
# Looks like you failed 3 tests of 1421.
1 1 24 = 000000
set px 13 1 24 = 000000
I an try to bisect a git history to identify the exact commit tha causes the
failure, but getting an interactive access to that machine is a time expensive
task for me.
-- Petr