ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.96k stars 2.17k forks source link

remove exit() from testeth where its possible #4667

Open winsvega opened 6 years ago

winsvega commented 6 years ago

exit() appear to be not really safe with the memory stack.

so this issue is to track its removal from the testeth (by replacing with return).

the exit from --singletetst could be replace with return if instead going into every test case testeth would go to a custom test suite when is set.

pirapira commented 6 years ago

Is it possible to tweak TestHelper to detect --singletest option?

winsvega commented 6 years ago

it could be done with test::Options