Commit Graph

170 Commits

Author SHA1 Message Date
Gav Wood
6122aedb90 Merge pull request #1695 from imapp-pl/pr/testeth
testeth: Handle command line options for user defined tests
2015-04-21 17:29:15 +02:00
Paweł Bylica
332fcaebb9 testeth: Handle command line options for user defined tests 2015-04-21 10:37:47 +02:00
CJentzsch
8f8eb35974 fixes 2015-04-20 23:17:19 +02:00
CJentzsch
b2adcf3bf3 Restructure test folders 2015-04-20 22:48:53 +02:00
CJentzsch
d399f077ef simplification 2015-04-17 22:44:26 +02:00
CJentzsch
22d16c048b 0x -> 0x0 for numbers 2015-04-17 18:41:27 +02:00
winsvega
6e97308f27 All fields Hex: style 2015-04-16 16:46:40 +03:00
winsvega
d175996b3a All Fields Hex
rebase + merge error fix
2015-04-16 16:46:40 +03:00
winsvega
721ee65195 All Fields As Hex: Secret Key 2015-04-16 16:46:40 +03:00
winsvega
b040e23463 All Fields Hex: block tests 2015-04-16 16:46:40 +03:00
winsvega
c867e185bf All Fields Hex: VMTests 2015-04-16 16:46:40 +03:00
winsvega
3e605abea4 AllFieldsHex: State Tests 2015-04-16 16:46:40 +03:00
winsvega
92269d4df7 All Fields Hex: block tests 2015-04-16 16:46:40 +03:00
winsvega
10245ce4b3 All Fields Hex: VMTests 2015-04-16 16:46:40 +03: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
e54952c8cf BlockTests: add expect section 2015-04-13 12:20:12 +03:00
Gav Wood
07940a644d Merge pull request #1401 from winsvega/expectedState
Expected state
2015-04-08 22:42:36 +02:00
Gav Wood
fff3784c01 Remove VMTRACE.
Better transaction logging.
Avoid bothering with obviously invalid transactions.
2015-04-08 02:42:51 +02:00
Wins Vega
ff5ce7bda3 Check State: windows build 2015-04-08 01:31:30 +04:00
winsvega
dd0cdddd94 Check State
style changes
2015-04-07 21:32:32 +03:00
winsvega
4774ccfb28 Check State
Unused Variable
2015-04-07 21:32:32 +03:00
winsvega
44405625f2 Check State
Style + Rebase
2015-04-07 21:32:32 +03:00
winsvega
c38c8bb567 Check State
style changes
2015-04-07 21:32:32 +03:00
winsvega
923e452846 Check State
Style Changes
2015-04-07 21:32:32 +03:00
winsvega
2e71a91323 Check State
State tests with expect section
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
a250749505 Typo "fix" fixed. 2015-04-05 22:13:24 +02: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
Gav Wood
ca740a924b Minor rename.
Report errors properly.
2015-03-20 16:47:54 +01:00
Paweł Bylica
3782a33e50 Prettify VM and State test outputs 2015-03-14 00:18:52 +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
Gav Wood
827b1e2b3d Merge pull request #1295 from CJentzsch/randomStateTests
Random state tests
2015-03-13 20:12:35 +01:00
CJentzsch
b5ed5d13d1 readd --filltest option and add dejavu issue 42 test 2015-03-12 16:53:00 +01:00
CJentzsch
24754c4693 Merge remote-tracking branch 'upstream/develop' into randomStateTests 2015-03-12 14:35:05 +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
cf5f86e384 create random state tests 2015-03-12 09:16:32 +01:00
CJentzsch
f0a216943f blockchain tests fixes 2015-03-10 17:51:08 +01:00
CJentzsch
983514a42a remove genesis state from state tests
Conflicts:
	test/state.cpp
2015-03-06 12:45:25 +01:00
CJentzsch
98a08c926a add memory tests 2015-03-06 12:45:24 +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
26ba1086b8 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:45 -05:00
winsvega
af6b44fb90 Transaction Tests
A few changes
2015-03-03 20:06:04 +03:00
winsvega
567c4cd942 Test Helper
style changes
2015-02-26 19:02:56 +03:00
winsvega
5d881b555d More Transaction Tests
Some tests to check YP statements
2015-02-26 18:51:06 +03:00
CJentzsch
5554861fb3 fix too-small-address-length bug in transaction 2015-02-23 08:29:56 +01:00
CJentzsch
968564f21d extra data fix 2015-02-16 11:04:05 +01:00
CJentzsch
e4eeb566ce Merge remote-tracking branch 'upstream/develop' into blockTests
Conflicts:
	test/transaction.cpp
2015-02-13 12:41:31 +01:00
CJentzsch
7abf1f6c93 switch to secretKey in fillers 2015-02-13 12:38:38 +01:00
winsvega
c09d91a2f0 New Tests
Transaction with RLP object and catching exceptions from importByteArray
2015-02-12 23:43:57 +03:00
CJentzsch
f0b2d0f30b check transactions 2015-02-11 16:36:00 +01:00
CJentzsch
87b0a10052 Merge remote-tracking branch 'upstream/develop' into blockTests
Conflicts:
	test/transaction.cpp
2015-02-11 11:19:44 +01:00
Gav Wood
9a792edb33 Test stuff into cpp from header.
Additional debug stuff in cmake.
2015-02-10 20:53:38 +01:00
winsvega
c09b7885e8 Test related
Constant in TestHelper.h
Exception in TestHelper.h
2015-02-10 13:07:31 +03:00
winsvega
d77b3a672c Bigint
bigint(1) << 256
2015-02-09 23:40:47 +03:00
winsvega
f853f4a937 Style Changes
New exception for values larger than 2**256
Auto format .json files
2015-02-07 14:23:17 +03:00
CJentzsch
330caf3f40 create block from transaction with genesis block as parent 2015-02-06 23:43:49 +01:00
winsvega
4d76086860 nonce value from 0 to "0" in fillers 2015-02-06 18:28:48 +03:00
winsvega
f7f26d0fbd state test conditions to filler files 2015-01-31 21:00:35 +03: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
Gav Wood
5f54782ed0 Cleanups and addition AZ info. 2015-01-20 11:33:33 -08: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
f591197692 Windows fix 2014-12-17 17:56:54 +01:00
Paweł Bylica
59fe1fdf92 Merge commit '1b8f9fdc3b44503890ed1bcb5da8bd5cb8dd83a5' into develop-evmcc
Conflicts:
	test/TestHelper.cpp
2014-12-15 15:11:35 +01:00
CJentzsch
7f9f847c27 Fix import state for state tests
Conflicts:
	test/TestHelper.cpp
2014-12-12 21:21:18 +01:00
Gav Wood
fe21a5c67e Style fix. 2014-12-12 20:49:28 +01:00
Paweł Bylica
49f995a890 Add "--jit" option to State tests 2014-12-12 11:54:44 +01:00
Paweł Bylica
8ada6f3cb9 Replace spaces with tabs 2014-12-11 20:46:05 +01:00
Paweł Bylica
c044e1d1e9 Report wrong account address in case of unexpected storege key 2014-12-11 19:33:49 +01:00
Paweł Bylica
5d22ebe447 Test unexpected storage entries 2014-12-11 19:32:42 +01:00
Paweł Bylica
3ba2d4195f Merge remote-tracking branch 'origin/vm' into develop-evmcc
Conflicts:
	libethereum/Executive.cpp
	libethereum/Executive.h
	libethereum/State.cpp
	libevm/VM.cpp
	libevm/VM.h
	libevm/VMFace.h
	test/createRandomTest.cpp
	test/vm.cpp
	windows/LibEthereum.vcxproj.filters
2014-12-10 23:42:01 +01:00
CJentzsch
9101b7073a state log tests 2014-12-05 19:26:32 +01:00
Paweł Bylica
20b6b30b99 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
	test/createRandomTest.cpp
2014-12-05 09:24:47 +01:00
Gav Wood
2f5b9151d5 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	test/vm.cpp
2014-12-02 20:09:00 +01:00
CJentzsch
fb7c3bb302 style
Conflicts:
	libevm/VM.h
2014-12-01 22:44:31 +01:00
CJentzsch
d952833c1b added logs to state tests 2014-12-01 22:41:16 +01:00
Paweł Bylica
a5d0496ea4 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
	test/vm.cpp
2014-11-26 20:20:52 +01:00
Gav Wood
d2ea1d7cc6 Merge pull request #533 from CJentzsch/stateTests
Specify user defined test
2014-11-24 17:03:43 +01:00
Christoph Jentzsch
70a1f73047 style 2014-11-21 07:42:41 +01:00
Christoph Jentzsch
e450bde113 style 2014-11-20 22:21:08 +01:00
Christoph Jentzsch
16be7563e1 Specify user defined test 2014-11-20 20:41:35 +01:00
Paweł Bylica
14366250c5 Merge branch 'develop' into develop-evmcc
Conflicts:
	test/vm.cpp
2014-11-20 17:15:43 +01:00
Christoph Jentzsch
dcc0361c7c Merge remote-tracking branch 'upstream/develop' into newTests
Conflicts:
	test/vm.cpp
2014-11-20 16:59:27 +01:00
Christoph Jentzsch
b1e26e28e3 Add Log tests 2014-11-19 14:30:42 +01:00
Paweł Bylica
7df5ec34c7 In VM tests, check only if an exception occurred if an exception expected (no post state and output checking) 2014-11-19 13:13:19 +01:00
Paweł Bylica
0eecd126f4 Merge branch 'develop' into develop-evmcc
Conflicts:
	windows/LibEthereum.vcxproj
2014-11-14 15:30:08 +01:00
Paweł Bylica
0e187175b8 Test unexpected storage entries 2014-11-14 11:44:51 +01:00
Christoph Jentzsch
4f589053a0 changed name of command line option to filltests 2014-11-11 22:28:43 +01:00
Christoph Jentzsch
508b7f14d8 Create state test with commandline flag 2014-11-11 22:25:21 +01:00
Christoph Jentzsch
9b14af5c15 build fix 2014-11-10 18:30:35 +01:00