@@ -72,9 +72,7 @@ import Hedgehog.Gen qualified as Gen
72
72
import Hedgehog.Range qualified as Range
73
73
import Prettyprinter (vsep )
74
74
import Test.Tasty (TestTree , testGroup )
75
- #ifdef __USING_HPC__
76
- import Test.Tasty.ExpectedFailure (ignoreTest )
77
- #endif
75
+ import Test.Tasty.Extras (ignoreTestIfHpcEnabled )
78
76
import Test.Tasty.Hedgehog (testPropertyNamed )
79
77
import Test.Tasty.HUnit (Assertion , assertBool , assertFailure , testCase , (@=?) , (@?=) )
80
78
import Test.Tasty.QuickCheck qualified as QC
@@ -502,7 +500,7 @@ test_TrackCostsRestricting =
502
500
503
501
test_TrackCostsRetaining :: TestTree
504
502
test_TrackCostsRetaining =
505
- #if MIN_VERSION_base(4,15,0) && !defined(__USING_HPC__)
503
+ #if MIN_VERSION_base(4,15,0)
506
504
test_TrackCostsWith " retaining" 10000 $ \ term -> do
507
505
let -- An 'ExBudgetMode' that retains all the individual budgets by sticking them into a
508
506
-- 'DList'.
@@ -1251,11 +1249,7 @@ test_definition =
1251
1249
, test_SwapEls
1252
1250
, test_IdBuiltinData
1253
1251
, test_TrackCostsRestricting
1254
- #ifdef __USING_HPC__
1255
- , ignoreTest test_TrackCostsRetaining
1256
- #else
1257
- , test_TrackCostsRetaining
1258
- #endif
1252
+ , ignoreTestIfHpcEnabled test_TrackCostsRetaining
1259
1253
, test_SerialiseDataImpossible
1260
1254
, test_fixId
1261
1255
, runTestNestedHere
0 commit comments