https://bugzilla.redhat.com/show_bug.cgi?id=1967544
--- Comment #3 from Petr Pisar <ppisar(a)redhat.com> ---
It can be reduced to:
$ SDL_VIDEODRIVER=dummy perl -Iblib/{lib,arch} -e 'use SDL; $r =
SDL::init(0x00000020); $e = SDL::get_error(); print qq{retval = <$r>, error =
<$e>\n}'
INFO: sdl12-compat, built on Jun 9 2021 at 00:00:00, talking to SDL2 2.0.14
INFO: FIXME: there is never a parachute in SDL2, should we catch segfaults
ourselves? (SDL_Init:1622)
INFO: FIXME: support SDL_INIT_EVENTTHREAD where it makes sense?
(SDL_InitSubSystem:1594)
retval = <0>, error = <>
SDL::init() does not fail. But it prints a warning to an error output and that
is caught by the tests in t/lib/SDL/TestTool.pm:init():
($stdout, $stderr ) = capture { SDL::init($init) };
if ( $stderr ne '' ) {
warn 'Init ' . $inits{$init} . ' failed with SDL error: ' .
SDL::get_error() . "\nand stderr $stderr\n";
}
return !( $stderr ne '' );
In other words the tests check that there is not error output, but sdl12-compat
logs there unimplemented features.
--
You are receiving this mail because:
You are on the CC list for the bug.