@@ -72,9 +72,7 @@ import Hedgehog.Gen qualified as Gen
7272import Hedgehog.Range qualified as Range
7373import Prettyprinter (vsep )
7474import Test.Tasty (TestTree , testGroup )
75- #ifdef __USING_HPC__
76- import Test.Tasty.ExpectedFailure (ignoreTest )
77- #endif
75+ import Test.Tasty.Extras (ignoreTestIfHpcEnabled )
7876import Test.Tasty.Hedgehog (testPropertyNamed )
7977import Test.Tasty.HUnit (Assertion , assertBool , assertFailure , testCase , (@=?) , (@?=) )
8078import Test.Tasty.QuickCheck qualified as QC
@@ -502,7 +500,7 @@ test_TrackCostsRestricting =
502500
503501test_TrackCostsRetaining :: TestTree
504502test_TrackCostsRetaining =
505- #if MIN_VERSION_base(4,15,0) && !defined(__USING_HPC__)
503+ #if MIN_VERSION_base(4,15,0)
506504 test_TrackCostsWith " retaining" 10000 $ \ term -> do
507505 let -- An 'ExBudgetMode' that retains all the individual budgets by sticking them into a
508506 -- 'DList'.
@@ -1251,11 +1249,7 @@ test_definition =
12511249 , test_SwapEls
12521250 , test_IdBuiltinData
12531251 , test_TrackCostsRestricting
1254- #ifdef __USING_HPC__
1255- , ignoreTest test_TrackCostsRetaining
1256- #else
1257- , test_TrackCostsRetaining
1258- #endif
1252+ , ignoreTestIfHpcEnabled test_TrackCostsRetaining
12591253 , test_SerialiseDataImpossible
12601254 , test_fixId
12611255 , runTestNestedHere
0 commit comments