Commit Graph

56 Commits

Author SHA1 Message Date
Gav Wood
c600607eae Merge pull request #1829 from imapp-pl/pr/fix_singletest_option
testeth: fix --singletest option
2015-05-13 00:55:03 +03:00
Gav Wood
ae14cb9647 Merge pull request #1808 from imapp-pl/pr/evmjit
Smart VM
2015-05-12 12:10:39 +03:00
Paweł Bylica
f7109717ed testeth: fix --singletest option 2015-05-08 11:00:53 +02:00
Paweł Bylica
b9a722223a SmartVM: initial implementation 2015-05-06 13:18:52 +02:00
winsvega
ce40f285f3 Solidity: cryptographic ecrecover test 2015-05-05 18:15:26 +03:00
winsvega
d2457abb98 Specifing concrete test when filling testsuite 2015-05-05 16:46:01 +03:00
winsvega
5d35f71350 BlockWeight: toCompactHex
refactoring
2015-04-24 16:03:14 +03:00
winsvega
bd08a2bbe2 BlockWeight: tests refactoring 2015-04-24 16:03:14 +03:00
CJentzsch
b2adcf3bf3 Restructure test folders 2015-04-20 22:48:53 +02:00
winsvega
bfa1e9b7b9 AllFieldsHex: State Tests 2015-04-16 16:46:40 +03:00
Gav Wood
efdd3790a0 Various fixes for mining. 2015-04-14 12:56:58 +02:00
winsvega
923e452846 Check State
Style Changes
2015-04-07 21:32:32 +03:00
winsvega
adba4fb9a1 Check State
Incomplete State Support
2015-04-07 21:32:32 +03:00
winsvega
b0c8babf0e Check State
Refactoring
2015-04-07 21:32:32 +03:00
winsvega
bfc4d2eceb Expect State Check
state and vmtests
2015-04-07 21:32:31 +03:00
winsvega
a14cada9dd State Test
Expected state check when filling test
2015-04-07 21:32:31 +03:00
Gav Wood
0dc70c63a9 Move hash to a hidden function, and provide a datapath to it so avoid
unneeded SHA3s.
2015-04-05 21:08:22 +02:00
Paweł Bylica
7fb437d0da Merge remote-tracking branch 'upstream/develop' into evmjit 2015-03-31 11:44:00 +02:00
Paweł Bylica
f07089ffa3 Test execution stats improvements
--stats can have optional values:
  --stats=out prints all test timings to standard output,
  --stats=<filename> prints all test timings to a file in tab-separated format.

Stats are now kept in vector to allow duplicated values.
2015-03-25 12:13:44 +01:00
Marek Kotewicz
94e4f410e9 ClientBase tests 2015-03-25 10:59:46 +01:00
Paweł Bylica
31db4fbde8 Stats for testeth
Simple listener support added to testeth. Stats class implements the Listener interface and collects tests execution times. Try options: --stats or --stats=full.

Closes ethereum/cpp-ethereum#1285
2015-03-14 00:18:52 +01:00
Paweł Bylica
e18c7b99cb testeth: optional VM tracing (--vmtrace), command line options refactoring.
Closes ethereum/cpp-ethereum#1280
2015-03-12 12:01:12 +01:00
CJentzsch
f0a216943f blockchain tests fixes 2015-03-10 17:51:08 +01:00
Lefteris Karapetsas
d586a88f3c style fixes in TestHelper.h 2015-03-09 13:06:16 +01:00
Lefteris Karapetsas
3efbe46a49 Improving ETH_TEST() exceptions
- Properly printing fail check/require message same way as BOOST
  implementation does

- Also add a Test Pass Checkpoint call to be sure the last checkpoint is
  reported properly

- Catch any sort of exception in the no throw
2015-03-09 12:27:30 +01:00
Lefteris Karapetsas
e2c01948f4 Style fixes and better exception message format 2015-03-06 14:40:46 +01:00
Lefteris Karapetsas
79bbe1e5d8 Move ETH_TEST() Macros to TestHelper.h
- Also use them in Solidity Parser
2015-03-06 14:37:20 +01:00
CJentzsch
983514a42a remove genesis state from state tests
Conflicts:
	test/state.cpp
2015-03-06 12:45:25 +01:00
jhuntley
e229b5d291 Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away. 2015-03-04 11:18:32 -05:00
jhuntley
5ae585f7cf asio.h and windows.h build comments as per request. 2015-03-04 11:17:46 -05:00
jhuntley
b6b80b0200 Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859

Make sure boost/asio.hpp is included before windows.h.
2015-03-04 11:17:46 -05:00
winsvega
b5693332fb Transaction Tests
missing TestHelper.h file
2015-03-03 20:12:17 +03:00
CJentzsch
3fae0daed9 remove unnecessary function 2015-02-16 12:23:08 +01:00
CJentzsch
f0b2d0f30b check transactions 2015-02-11 16:36:00 +01:00
CJentzsch
0779f81e38 start with test defined genesis block 2015-02-10 08:35:18 +01:00
CJentzsch
330caf3f40 create block from transaction with genesis block as parent 2015-02-06 23:43:49 +01:00
winsvega
ec85da431a style changes 2015-01-23 23:03:29 +03:00
winsvega
34249753e8 Merge remote-tracking branch 'ethereum/develop' into develop 2015-01-23 15:28:04 +03:00
winsvega
91ccc1b7ab Transaction Tests
transaction tests

Transaction Test Work In Progress

transaction test work in progress

work in progress. check for transaction is valid

Transaction Tests Work In Progress

compiler error fix
2015-01-22 12:04:58 +03:00
CJentzsch
108388c440 fix callcreates imoport 2015-01-13 15:47:36 +01:00
CJentzsch
203005e2b7 add blockhash test fo vm tests 2015-01-09 10:58:32 +01:00
Paweł Bylica
49f995a890 Add "--jit" option to State tests 2014-12-12 11:54:44 +01:00
CJentzsch
9101b7073a state log tests 2014-12-05 19:26:32 +01:00
CJentzsch
d952833c1b added logs to state tests 2014-12-01 22:41:16 +01:00
Christoph Jentzsch
b1e26e28e3 Add Log tests 2014-11-19 14:30:42 +01:00
Christoph Jentzsch
9b14af5c15 build fix 2014-11-10 18:30:35 +01:00
Christoph Jentzsch
3c45877e2a added generic userDefinedTest function 2014-11-10 17:37:55 +01:00
Christoph Jentzsch
dbcce8b7b9 Clean up state tests 2014-11-07 14:10:00 +01:00
Christoph Jentzsch
139668dea4 style 2014-11-05 21:55:10 +01:00
Christoph Jentzsch
c931e3ceec style 2014-11-03 17:53:29 +01:00