Commit Graph

183 Commits

Author SHA1 Message Date
Paweł Bylica
530b19f6c6 Change instruction scheduler
Try different instruction scheduler in LLVM, other crashes sometimes.
Also parse command line options properly for random tests.
2015-04-10 14:47:43 +02:00
winsvega
44405625f2 Check State
Style + Rebase
2015-04-07 21:32:32 +03:00
winsvega
fd1cccaf89 Check State
vmArithmeticTestFiller, memory test fix
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
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
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
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
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
a013420397 add input limit tests 2015-03-09 16:44:23 +01:00
CJentzsch
298919844b blockchain tests
Conflicts:
	test/block.cpp
2015-03-06 12:46:23 +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
d311a82444 Test Cases Changes
userDefinedFile test now goes with --test option for all cases
2015-03-03 20:12:10 +03:00
CJentzsch
aa1ec0cb72 add --all flag for time consuming tests 2015-02-25 14:18:55 +01:00
CJentzsch
92419943d3 style - auto 2015-02-13 11:30:59 +01:00
CJentzsch
cdb7565707 use auto for steady clock and chrono::milliseconds 2015-02-13 10:27:38 +01:00
CJentzsch
261c1e2a3f performance test 2015-02-13 09:00:51 +01:00
CJentzsch
4250af041d included vmInpulLimit Tests, updated vmSystemOperationTests 2015-01-14 22:35:33 +01:00
Gav Wood
e2efcfb8a6 Merge pull request #796 from CJentzsch/randomTestEfficiency
Random test efficiency
2015-01-14 10:52:00 +00:00
CJentzsch
a00d05e2bb replace BOOST_REQUIRE with assert, because it is used outside the boost test framework 2015-01-13 18:00:00 +01:00
CJentzsch
108388c440 fix callcreates imoport 2015-01-13 15:47:36 +01:00
arkpar
b85ae53f63 fixed warnings for msvc build 2015-01-13 11:18:08 +01:00
CJentzsch
203005e2b7 add blockhash test fo vm tests 2015-01-09 10:58:32 +01:00
Gav Wood
be5989f134 Implemented 256-long history for PREVHASH, though still optional. 2014-12-24 11:36:08 +01:00
Paweł Bylica
14a8cb34e3 Remove unnecessary changes 2014-12-19 14:38:03 +01:00
Paweł Bylica
35d8b94e73 Merge branch 'develop' into develop-evmcc
Conflicts:
	CMakeLists.txt
	alethzero/CMakeLists.txt
	eth/CMakeLists.txt
	exp/CMakeLists.txt
	libethereum/CMakeLists.txt
	neth/CMakeLists.txt
	test/CMakeLists.txt
	test/TestHelper.cpp
	windows/Eth.vcxproj
	windows/Ethereum.sln
	windows/LibEthereum.vcxproj
	windows/LibEthereum.vcxproj.filters
	windows/TestEthereum.vcxproj
	windows/TestEthereum.vcxproj.filters
	windows/bootstrap.sh
2014-12-18 19:08:04 +01:00
wanderer
9e7fcbb7bd append JSON objects to log 2014-12-16 14:28:28 -05:00
wanderer
35aa48567f using json_spirit 2014-12-16 14:28:28 -05:00
wanderer
ab5953b555 changed output stacktrace format to json 2014-12-16 14:28:28 -05:00
Paweł Bylica
59fe1fdf92 Merge commit '1b8f9fdc3b44503890ed1bcb5da8bd5cb8dd83a5' into develop-evmcc
Conflicts:
	test/TestHelper.cpp
2014-12-15 15:11:35 +01:00
CJentzsch
ba3d2b43ae Added recursive create test + lesser output for safe VM exceptions 2014-12-12 22:16:51 +01:00
Gav Wood
6b44029adc Beginnings of cleaning up the Executive/State code. 2014-12-12 15:53:57 +01:00
Paweł Bylica
49f995a890 Add "--jit" option to State tests 2014-12-12 11:54:44 +01:00
Paweł Bylica
0d7f0a01fd Merge remote-tracking branch 'origin/vm' into develop-evmcc 2014-12-12 09:51:49 +01:00
Paweł Bylica
6b8bc1669e Merge remote-tracking branch 'upstream/develop' into vm
Conflicts:
	libethereum/Executive.cpp
	libethereum/Executive.h
	libethereum/State.cpp
2014-12-11 20:39:48 +01:00
Gav Wood
1d879a9bb4 Remove extraneous old stuff for PoC-7.
Fix gas remaining issue.
2014-12-11 20:07:07 +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
Paweł Bylica
c1ffbbe797 VMFactory - a new way of creating VMs 2014-12-10 17:41:53 +01:00
Paweł Bylica
eafe303e08 Merge branch 'develop' into vm 2014-12-08 11:48:26 +01:00
CJentzsch
9101b7073a state log tests 2014-12-05 19:26:32 +01:00
Paweł Bylica
bb6fcfe3f9 Use safe pointers in Executive 2014-12-05 17:00:29 +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
CJentzsch
b7601aee9f fix stackoverflow in calldataload, codecopy, extcodecopy + some tests 2014-12-04 17:55:04 +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
Gav Wood
8d0a664740 PV46. Minor protocol alterations. 2014-12-02 17:13:17 +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