haskellPackages.statistics: disable test cases broken with QC-2.13.4

QuickCheck's generator for floating point numbers started churning out
strange numbers more frequently, causing tests that can be broken by
the imprecisions of floating point arithmetic fail reliably.

Let's disable them until the situation is resolved upstream.
This commit is contained in:
sternenseemann 2023-06-09 12:28:05 +02:00
parent a413349481
commit 33814e224f

View file

@ -194,6 +194,14 @@ self: super: {
aeson_2_1_2_1
;
# Disable tests failing on odd floating point numbers generated by QuickCheck 2.14.3
# https://github.com/haskell/statistics/issues/205
statistics = overrideCabal (drv: {
testFlags = [
"-p" "! (/Pearson correlation/ || /t_qr/ || /Tests for: FDistribution.1-CDF is correct/)"
];
}) super.statistics;
# There are numerical tests on random data, that may fail occasionally
lapack = dontCheck super.lapack;