Quoting Matthias Geiger (2025-08-03 14:38:59)
> On Sun, 03 Aug 2025 09:53:00 +0200 Jonas Smedegaard <[email protected]> wrote:
> > I have tried to avoid benchmarking tests to get rid of the dependency
> > on criterion, but then another no-panic test mysteriously (to me) fails.
> > 
> > I have pushed my changes to https://salsa.debian.org/debian/rust-ahash
> > and would appreciate if someone more clueful than me could try make
> > sense of why no-panic test fails.
> >
> IMO benchmark shouldn't be run anyway in Debian as they are a metric for 
> upstream, but I disgress.

Yes, I agree.

> The reason they still run is that the [bench]
> section is still present in Cargo.toml, you need to actively disable it 
> (i.e. patch it out 
> [0]).

I admit that I this time chose an unusual more lightweight approach, but
believe to have succeeded in disabling them. With a more expansive patch
that removes the entries, and also removes the test files (because they
are places below tests/ not bench/ so gets autodetected as tests too),
I get the same error related to no-panic.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to