[Pkg-rust-maintainers] Bug#1039887: debcargo: make Test-Command configurable
Emanuele Rocca
ema at debian.org
Thu Jun 29 09:57:06 BST 2023
Package: debcargo
Version: 2.6.0-2
Severity: wishlist
Hi,
I'd like to have the option to use a custom Test-Command instead of
/usr/share/cargo/bin/cargo-auto-test for the generated autopkgtests.
The use case I have in mind is shipping a wrapper script under
debian/tests/ that does some initial work to set up the test environment
and *then* calls cargo-auto-test. Here's a practical example:
https://salsa.debian.org/rust-team/debcargo-conf/-/commit/d8d2afe
One way to do this would be a PackageOverride configuration option
called 'test_command' or similar.
Thanks,
ema
More information about the Pkg-rust-maintainers
mailing list