Skip to content

Commit 7763256

Browse files
authored
Merge pull request #626 from ethereum/faster-test
Faster test running by default
2 parents 743613c + 9338d01 commit 7763256

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
@@ -36,7 +36,7 @@ runSolidityTestCustom testFile match timeout maxIter ffiAllowed rpcinfo projectT
3636
internalError $ "Error compiling test file " <> show testFile <> " in directory "
3737
<> show root <> " using project type " <> show projectType
3838
Right bo@(BuildOutput contracts _) -> do
39-
withSolvers Z3 1 1 timeout $ \solvers -> do
39+
withSolvers Z3 3 1 timeout $ \solvers -> do
4040
opts <- liftIO $ testOpts solvers root (Just bo) match maxIter ffiAllowed rpcinfo
4141
unitTest opts contracts
4242

test/test.hs

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

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

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

114114
main :: IO ()
115115
main = defaultMain tests

0 commit comments

Comments
 (0)