ityfuzz icon indicating copy to clipboard operation
ityfuzz copied to clipboard

how to set a time limit when testing a smart contract?

Open nicedinner2 opened this issue 1 year ago • 1 comments

When I test a contract using the command "ityfuzz evm -t './build/*'", the program keeps running indefinitely. How can I set a time limit or stop the program from running? I look forward to your answer. Thank you.

nicedinner2 avatar Jan 28 '24 16:01 nicedinner2

You can do something like this:

mac:

gtimeout 10s ityfuzz  evm -t './build/*'

linux:

timeout 10s ityfuzz  evm -t './build/*'

shouc avatar Jan 30 '24 01:01 shouc