Missing dep8 tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipxe (Ubuntu) |
New
|
Wishlist
|
Unassigned |
Bug Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
As of March 29, 2017, this source package did not contain dep8 tests in
the current development release of Ubuntu, named Zesty. This was
determined by running `pull-lp-source ipxe zesty` and then
checking for the existence of 'debian/tests/' and
'debian/
Test automation is essential to higher levels of quality and confidence
in updates to packages. dep8 tests [1] specify how automatic testing can
be integrated into packages and then run by package maintainers before
new uploads.
This defect is to report the absence of these tests and to report the
opportunity as a potential item for development by both new and
experienced contributors.
[1] http://
affects ubuntu/ipxe
status new
importance wishlist
tag needs-dep8
- ---
Joshua Powers
Ubuntu Server
Canonical Ltd
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJ
Eo3iA6EEvFlXF56
X4MhpAwvCrC+
YTGyPnWiteHpNnv
4FlWC/G28lk8eYs
9FIPBlrThjdgY8t
u3+jkByj1evp1Ai
X15t+O7hmEIbB/
W8zSTJFgDblYLMX
9uoQKbIzBhmVRD5
W+jmO9ToqpoSEUy
GKcg3o+
=x8+F
-----END PGP SIGNATURE-----
I'm not spotting an upstream testsuite, however they do have CI set up:
https:/ /github. com/ipxe/ ipxe/actions/ runs/3457091667 /workflow
This basically just runs valgrind, but only for x86, and does only build checks for arm. These seem worth replicating on our end as dep8 tests.
The codebase does appear to include unit tests, but I couldn't discern how these get invoked; guessing 'make everything' runs them but am not sure. This could use some experimentation; if they can be run as part of autopkgtest, that may be useful.
https:/ /github. com/ipxe/ ipxe/tree/ master/ src/tests
Given that bootloaders are very low level, usage testing is probably not feasible. OTOH the package seems not to have too many bugs filed against it, so usage testing may not be very high bang for the buck anyway.