Bug#1024782: Doesn't run tests as part of of the build
Hi Sebastien,
Quoting Sebastien Bacher (2022-11-24 20:41:37)
> Package: libcamera
> Version: 0.0.1-4
>
> I'm working on getting libcamera promoted to main in Ubuntu, one of the
> requirements is to have tests (build and autopkgtest). The package
> currently override the dh_auto_test target to ignore those, it seems an
> old change and isn't really documented and I'm wondering if the rational
> still stands? Having tests as part of the build (and as autopkgtests)
> would also benefit Debian.
>
> I'm attaching a trivial patch to enable the tests as part of the build.
> Doing that on Ubuntu is leading to 3 failures (seems to be due to the
> env, it fails on the builders or in a pbuilder env but not in a lxc
> container) so that's an issue to sort out before uploading.
I expect it was related to this
https://patchwork.libcamera.org/patch/9330/
--
Kieran
> I've reported the issue upstream on
> https://bugs.libcamera.org/show_bug.cgi?id=173 as a start point. I will
> update the report once there is a fix (or maybe skip those 3 tests to
> start?)
>
> Cheers,
>
Reply to: