Bug#1139439: dh-elpa: integration tests

Xiyue Deng <[email protected]> Wed, 08 Jul 2026 14:21:40 -0700
Newsgroups gmane.linux.debian.devel.emacsen
Message-ID <874ii9dvob.fsf__45005.9109645494$1783545806$gmane$org@debian-hx90.lan>
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Xiyue Deng <[email protected]> writes:

> Hi Sean,
>
> Sean Whitton <[email protected]> writes:
>
>> Hello,
>>
>> If David would like to review and merge this I won't object.  At the
>> present time however I'm sceptical as to whether integration tests of
>> this form will help us all that much with dh_elpa bugs.
>
> Please allow me to try to show the usefulness of the tests using the
> filtering change as an example. With the proposed integration tests, we
> can be sure that the change that removes the built-in addon filtering is
> actually working by looking at the diff of the output files that the
> built-in addons are showing up in generated files after the change, e.g.
> "elpa-cl-lib (>=3D 0.1)". And it also helps us notice potential
> regressions caused by future changes if we see them getting removed
> accidentally.

As something more concrete: this commit[1] shows the diff after dh-elpa
2.2.0 release, and you can be sure that dh-elpa stops filtering built-in
addon info correctly.

[1] https://salsa.debian.org/emacsen-team/dh-elpa/-/commit/2fd65da7adc51e6b=
aba14b507380a6dc096b4f53

=2D-=20
Regards,
Xiyue Deng

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEiKQfd6o81mjI+LWALell7WOCXJMFAmpOv2QSHG1hbnBoaXpA
Z21haWwuY29tAAoJEC3pZe1jglyTDE4QAIOFT2yhWXu4c0DDcIH3AFbOKPn67seL
FWzrUMlfx38WFMf2pHRm3HPOYGpBfGgTsVSiw5KV55pEa+s1TUgPrQnp9WyZGK7Z
R9mQBVAsvGGGyWZ0y8BL/VXXvUxj1IJ45O60IKHYdhJ3b/3jeFEiiiLPCysP073a
BL7H0OK7OrSyOamcYpNXuQmiMkvqlcV4v5Xc4FfryHvbV/hcXqPLVK8BAxVKmcwn
WOYs7z9J7PXeWay0Ht1CgXKuoCBo0qtbUH5Rl2HtIjBEUyLv6rUv2HpfXyauMb2C
5Yp+aEokQzgawYuM5xl1NJ7AStnvl7iFAqI+HbVUC20a4M3SKDqwu0XKYhXgbQ9f
i99vT0zKfRoAuRn3fF7mELreI3uvMQiF/eZfPUrXScsU8utq+chSpraA3vrWRmjJ
+w6po/T5jafjZ0Q5IfWr/iiKde74kZ0mGJozVi/ujlugm1pMl/Gqxw1BpaMgl5m8
GSEvKcQhwcoCvt4d4JHTBxULuJsdPL02okxk1Ry4JxXSSN5QcDGaYymkGAk5ByMf
61+wAZUqkK/9/j/kI0ZX8hfWXhI2dZIcwpKBZgPaC/MClhaiON0miL8GdLq0bYrB
fbVZUwg5+4eFCqUBEBFqxpvWj1MtSH7dHCGvnkx9yfMoLXJ1qBU+u4RYedpejKa6
iD8Orgptza+Q
=7ZJJ
-----END PGP SIGNATURE-----
--=-=-=--