[Debian-on-mobile-maintainers] Bug#1001808: osk-sdl: autopkgtest step "Testing key script with 'physical' key input" fails but is ignored

Simon McVittie smcv at debian.org
Thu Dec 16 18:14:38 GMT 2021


Source: osk-sdl
Version: 0.66-2
Severity: normal
Tags: bookworm sid

debian/tests/test-functional in osk-sdl consists of two test steps:

> OSK_SDL_EXE_PATH=/usr/bin/osk-sdl OSK_SDL_CONF_PATH=./osk.conf xvfb-run --auto-servernum --server-args="-ac -screen 0 480x800x24" ./test/test_functional.sh test_keyscript_no_keyboard_phys
> OSK_SDL_EXE_PATH=/usr/bin/osk-sdl OSK_SDL_CONF_PATH=./osk.conf xvfb-run --auto-servernum --server-args="-ac -screen 0 480x800x24" ./test/test_functional.sh test_keyscript_mouse_toggle_osk

This shell script does not have a "set -e", so if the first test step
fails, that failure is ignored.

In fact it *does* fail on ci.debian.net, apparently consistently:

> ** Testing key script with 'physical' key input
> ERROR: Unexpected result!
> 	got:
> 	expected:       postmarketOS

The second step usually succeeds:

> ** Testing osk toggle button and 'mouse' key input
> Success!

although SDL 2.0.18 seems to have triggered a regression which I'll file
as a separate bug.

    smcv



More information about the Debian-on-mobile-maintainers mailing list