7 Commits

Author SHA1 Message Date
Matthew Roll
e97e631d8e port ethereum tests to individual files (issue #809) (#820)
* Add contract keyword arg to IntegrationTest._simple_cli_run

* Remove inline tests from test_eth

* Refactor IntegrationTest.test_eth_regressions to support multi-contract files
2018-03-19 09:24:04 -04:00
Mark Mossberg
fb79127bc2 Graceful exit when no states to run (#815)
* rm unnecessary return, change assert to graceful handle

* Add regression test

* Add regression test

* Correct logic

* Rm unnecessary check

This branch is unnecessary, if this condition is true, then ultimately
the executor will do nothing, and we'll simply return anyway.

* Raise NoAliveStates if no alive states to execute

* docstr update

* Update mult_tx_analysis to handle NoAliveStates

* Fancy

* Update test

* Codeclimate fmt

* fmt

* better readability

* add docstr
2018-03-16 17:48:36 -04:00
Mark Mossberg
eaa0e524b4 Fix off by 1 error in codecopy (#812)
* Fix off by 1 in codecopy

* Add regression test

* Improve formatting
2018-03-15 16:41:29 -04:00
Yan Ivnitskiy
394401e3f4 Fix ARMv7's ADD (#769)
* Fix armv7's ADD
2018-02-23 18:07:49 -05:00
Mark Mossberg
d0f69c755c Add ethereum regression tests (#763)
* Clean some unused variables

* Add basic infrastructure

* Add real eth regression tests

* Use check_call

* Suppress stdout

* Make 705 work

* Less error prone way of testing
2018-02-22 13:04:01 -08:00
Mark Mossberg
6b794fecaa eth int overflow: tests, mul support (#656)
* Move algorithm into ManticoreEVM

* Rm buggy unused line

* Initial eth testing setup

* Check for overflow in mul also

* clarifying comment

* Install solc for travis

* Add sudo

* x

* Rm travis_retry, since we rarely actually use it, and it's not available in this script for some reason

* Check for specific findings

* Fix test

* Clean up transaction firing logic

* Use less strict check, better for floating point
2017-12-21 12:54:24 -05:00
JP Smith
ca0bee2377 Rename test -> tests (#66)
* rename test -> tests

* re-add ignored tests
2017-03-13 14:06:36 -05:00