Re: RFS: libinfluxdb-http-perl 0.04 (new package)

gregor herrmann <[email protected]>
Newsgroups gmane.linux.debian.devel.perl
Message-ID <[email protected]>
On Sun, 01 Oct 2023 14:45:08 -0400, Gabriel Filion wrote:

> I have a local branch where I started to look at enabling autopkgtest, which
> mostly just adds test-only dependencies to the control file.. However, when
> reading the source code of the file t/tests.pl I can see that it's expecting
> to contact a running InfluxDB instance.

Some random thoughts and observations:

- autopkgtest-pkg-perl typically runs three tests; even if we can't run
  the smoke test (but more on that below), having the others enabled
  would be nice
- I noticed that the tests are also not run during build (as `make
  test' won't run t/test.pl) which is also not so nice
- reading t/test.pl it looks like an influxdbd will be started by
  the test script …

After playing a bit getting them to run during build was not
difficult in th end :)

Now for the autopkgtest's smoke test …
*scratches head*
*tries something with smoke-setup*

Oh, this works :)
(rename t/test.pl to test.pl, then it gets picked up)

Alright, pushed to an "enabletests" branch.


Side note: renaming ./t/test.pl to ./test.pl (upstream or with a
quilt patch) would probably make both the manual invocation in
d/rules and the smoke-setup trick obsolet. But they are also neither
hard to understand nor to maintain.

> So I'm wondering if getting libinfluxdb-http-perl into the archive without
> autopkgtest would be an option. If I can get some help it would still be
> possible to enable those tests later.

With my commits it seems to work, but if there are any concerns about
starting an influxdb instance during build or autopkgtests we can
also skip it. But maybe let's try and see first :)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmUZyYdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgb1NQ/+Kj72O7YbeCxyhPrJwuW1Cvc9ST1ujw0LHEikLb/73JS/cOLd1s9Vo+lv
bk0YeEwc/a49Nu9e8/aiN+vnrH/R+TGxEkcmHJjPJECXQ79d3X6fo0jqZvvizbCb
HNTO0wkq+IHblubl733ZDnQsZhnKstECeoGiw29KVH9fUKElFLfhKhqUGyaTOhM2
dRa6wEQHegCWCnaXYrucaiFMEjhxaKRXOH19rw1mjTdx17F74mCjYaMbK8z1JKaB
5DDcynNymDkKpgpN/O0c+YqNgrVN4czOhbx+AiGmtS3G+feSHaBgR6S4pALkY44P
EdCLJhhBmXtUvro+9Vtnf3dACu2uy9dOja6iRU1uisgLvlQviR9GTgd73W5mUmFH
BwELpKOC2TvQP9mrzIyHVBtCiAJ03iE7fzFDDnkfQ6z6igAYkiKrsVwMqzBU0WHZ
zLEaXawResdvN7eHSO1cOOgbEoK8ZzIUJjhqtd8fFxNp9S9a4HBdwkkwsYgTrHEK
HoW3LqtfjapFR7bgPYlC04kntJg3nRj+HPvJPL5x7lFkrK1mgJ2+R/XFKU6knmz3
fgtC+I73gUEEqRRQLN3LcoBSduj+HFQJlIqkv6Co0z9Ym6WyI4XKc3NuUSlBuW4y
bbcM5xX8GiZ3hW9CpT5H2R4bhUNSnYmXvmxO7zrXON+eA4N8lMU=
=6LdD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.