Commit Graph

91 Commits

Author SHA1 Message Date
Gav Wood
fff3784c01 Remove VMTRACE.
Better transaction logging.
Avoid bothering with obviously invalid transactions.
2015-04-08 02:42:51 +02: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