https://bugzilla.redhat.com/show_bug.cgi?id=1803711
--- Comment #11 from Mauro Carvalho Chehab <mchehab(a)infradead.org> ---
Ok, with this small patch:
diff --git a/t/entry.t b/t/entry.t
index c9e99b87ab81..7192776685ad 100755
--- a/t/entry.t
+++ b/t/entry.t
@@ -677,6 +677,7 @@ eval { $e->destroy };
$e = $mw->Entry(-font => $fixed, -bd => 2, -relief =>
"raised")->pack;
$e->insert(end => "0123");
$e->update;
+diag sprintf "Font: $fixed, Geometry data: %s", $e->geometry;
is($e->index('@10'), 0, "index with raised relief");
with_fixed_font { is($e->index('@11'), 0) };
is($e->index('@12'), 1);
It can be seen the differences between a build on a machine with X11 properly
installed:
$ perl -It -MTkTest -e 'checked_test_harness('\''./xt'\'',
0,
'\''blib/lib'\'', '\''blib/arch'\'')'
t/entry.t
t/entry.t .. 193/351 # Font:
-adobe-courier-medium-r-normal--12-120-75-75-m-*-iso8859-1, Geometry data:
150x23+0+0
t/entry.t .. ok
All tests successful.
Files=1, Tests=351, 2 wallclock secs ( 0.04 usr 0.01 sys + 1.95 cusr 0.03
csys = 2.03 CPU)
Result: PASS
And a build with mock:
+ xvfb-run -a perl -It -MTkTest -e
'checked_test_harness('\''./xt'\'', 0,
'\''blib/lib'\'', '\''blib/arch'\'')'
t/entry.t
#
#
# Font: -adobe-courier-medium-r-normal--12-120-75-75-m-*-iso8859-1, Geometry
data: 170x25+0+0
#
#
# Failed test at t/entry.t line 684.
# got: '0'
# expected: '1'
# Failed test at t/entry.t line 693.
# got: '0'
# expected: '1'
# Failed test at t/entry.t line 746.
# got: '5'
# expected: '6'
# Failed test at t/entry.t line 1219.
# got: '4'
# expected: '5'
# Looks like you failed 4 tests of 351.
t/entry.t ..
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/351 subtests
(less 39 skipped subtests: 308 okay)
I suspect that some additional packages are required for the adobe-currier
font, libXft and fontconfig to be properly installed/initialized inside mock
chroot.
--
You are receiving this mail because:
You are on the CC list for the bug.