Comment 23 for bug 1891682

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Alexander P,

for sane-aiscane getting promoted into the Main part of Ubuntu, its Debian/Ubuntu package needs unit tests run during package build (usually triggered by one of "make test" or "make check").

Currently "make test" builds a battery of test programs but does not start any of them.

We need that either there are unit tests triggered by "make test" or "make check" or a so-called autopkgtest which the build server runs after installing sane-airscan on a well-defined virtual machine.

My thought here is to make some or all of your test programs being run as unit tests, meaning that "make test" does not only build them but also runs them, one after the other and exits with non-zero status if one fails.

For that we need tests whose results are

- Independent of the presence or absence of supported scanner devices

- Independent of the presence or absence of the internet and of any content in the internet

This is required as the tests will run on isolated virtual machines on the build servers for Debian and Ubuntu.

Could you tell which tests of yours are fulfilling these conditions (so that we can explicitly call them during package build), or better, make "make test" run all of your tests which fulfill these conditions (skipping the ones which need devices or something in the internet).