Skip to content

Commit 9338d01

Browse files
committed
Faster test running by default
1 parent 037ff11 commit 9338d01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/EVM/Test/Utils.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runSolidityTestCustom testFile match timeout maxIter ffiAllowed rpcinfo projectT
3535
internalError $ "Error compiling test file " <> show testFile <> " in directory "
3636
<> show root <> " using project type " <> show projectType
3737
Right bo@(BuildOutput contracts _) -> do
38-
withSolvers Z3 1 1 timeout $ \solvers -> do
38+
withSolvers Z3 3 1 timeout $ \solvers -> do
3939
opts <- liftIO $ testOpts solvers root (Just bo) match maxIter ffiAllowed rpcinfo
4040
unitTest opts contracts
4141

test/test.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ prop :: Testable prop => ReaderT Env IO prop -> Property
104104
prop a = ioProperty $ runEnv testEnv a
105105

106106
withDefaultSolver :: App m => (SolverGroup -> m a) -> m a
107-
withDefaultSolver = withSolvers Z3 1 1 Nothing
107+
withDefaultSolver = withSolvers Z3 3 1 Nothing
108108

109109
withCVC5Solver :: App m => (SolverGroup -> m a) -> m a
110-
withCVC5Solver = withSolvers CVC5 1 1 Nothing
110+
withCVC5Solver = withSolvers CVC5 3 1 Nothing
111111

112112
main :: IO ()
113113
main = defaultMain tests

0 commit comments

Comments
 (0)