@@ -1000,6 +1000,11 @@ let
1000
1000
( if disableOptimization then dontCheck else lib . id )
1001
1001
super . aeson-diff ;
1002
1002
1003
+ # Tests use `inspection-testing` which cannot work on `-O0`.
1004
+ ap-normalize =
1005
+ ( if disableOptimization then dontCheck else lib . id )
1006
+ super . ap-normalize ;
1007
+
1003
1008
# `criterion`'s test suite fails with a timeout if its dependent
1004
1009
# libraries (apparently `bytestring`) are compiled with `-O0`.
1005
1010
# Even increasing the timeout 5x did not help!
@@ -1042,6 +1047,11 @@ let
1042
1047
( if disableOptimization then dontCheck else lib . id )
1043
1048
super . weigh ;
1044
1049
1050
+ # Tests use `inspection-testing` which cannot work on `-O0`.
1051
+ generic-data =
1052
+ ( if disableOptimization then dontCheck else lib . id )
1053
+ super . generic-data ;
1054
+
1045
1055
# `HsOpenSSL` has a bug where assertions are only triggered on `-O0`.
1046
1056
# This breaks its test suite.
1047
1057
# https://github.com/vshabanov/HsOpenSSL/issues/44
@@ -1170,6 +1180,11 @@ let
1170
1180
# Currently fails with linker error, see `yesod-paginator` below.
1171
1181
erd = doJailbreak super . erd ;
1172
1182
1183
+ # Test timeout is too tight on `-O0`.
1184
+ Glob =
1185
+ ( if disableOptimization then dontCheck else lib . id )
1186
+ super . Glob ;
1187
+
1173
1188
# Tests fail with: doctests: <command line>: Dynamic loading not supported
1174
1189
headroom = dontCheck super . headroom ;
1175
1190
@@ -1445,6 +1460,12 @@ let
1445
1460
# Test suite tries to run `minisat` which is not on PATH
1446
1461
ersatz = dontCheck super . ersatz ;
1447
1462
1463
+ # Seems to time out on `-O0` (but does not print that timeout
1464
+ # is the failure reason).
1465
+ numeric-prelude =
1466
+ ( if disableOptimization then dontCheck else lib . id )
1467
+ super . numeric-prelude ;
1468
+
1448
1469
# doctests test suite fails with:
1449
1470
# /build/trifecta-2.1/src/Text/Trifecta/Util/It.hs:61: failure in expression `let keepIt a = Pure a'
1450
1471
# expected:
0 commit comments