Skip to content

Commit

Permalink
Faster test running by default
Browse files Browse the repository at this point in the history
  • Loading branch information
msooseth committed Jan 2, 2025
1 parent 037ff11 commit 9338d01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/EVM/Test/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runSolidityTestCustom testFile match timeout maxIter ffiAllowed rpcinfo projectT
internalError $ "Error compiling test file " <> show testFile <> " in directory "
<> show root <> " using project type " <> show projectType
Right bo@(BuildOutput contracts _) -> do
withSolvers Z3 1 1 timeout $ \solvers -> do
withSolvers Z3 3 1 timeout $ \solvers -> do
opts <- liftIO $ testOpts solvers root (Just bo) match maxIter ffiAllowed rpcinfo
unitTest opts contracts

Expand Down
4 changes: 2 additions & 2 deletions test/test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ prop :: Testable prop => ReaderT Env IO prop -> Property
prop a = ioProperty $ runEnv testEnv a

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

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

main :: IO ()
main = defaultMain tests
Expand Down

0 comments on commit 9338d01

Please sign in to comment.