d/tests: Add basic autopkgtests
The modemmanager
package is not currently running any DEP-8 integration tests. Due to a dependency on "specialized" modem hardware, it is hard to execute fully end-to-end tests for this package in an automated manner.
But we can probably still do better than not running any tests at all. For example, we can test that the installed mmcli
binary does not crash. That ModemManager.service
can be properly launched via DBus, or that certain utils, like mmsmspdu
can properly use libmm-glib.so
, to execute their functionality (such as decoding of an SMS PDU).
I came up with some basic autopkgtests, which we should be able to execute in SalsaCI and DebCI (i.e. LXC containers).