mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
fastcrw: compile tests in debug mode (#560122)
This commit is contained in:
@@ -36,6 +36,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
cargoTestFlags = [ "--no-fail-fast" ];
|
||||
|
||||
# Optimizing test binaries with fat LTO takes over 100 minutes on Hydra,
|
||||
# while the tests themselves finish in about two minutes.
|
||||
checkType = "debug";
|
||||
|
||||
checkFlags = [
|
||||
# Dial a blackhole address to assert the error is a connect-phase timeout;
|
||||
# the sandbox has no route at all, so it fails fast as "network unreachable".
|
||||
|
||||
Reference in New Issue
Block a user