aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-07 02:20:54 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-07 02:20:54 +0800
commit1f26a1b86319f9468395e0772b5ae8f02cce8ec8 (patch)
tree3aa5255e7d82f4161b26bc60425fa0b026516007 /tests
parentaa884c052ddf7c5e8f673972b34681982de1cd52 (diff)
parent054947def77bc2352f90f79206146c93dd5422d0 (diff)
downloaddexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.gz
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.bz2
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.lz
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.xz
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.zst
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.zip
Merge pull request #859 from Gustav-Simonsson/ethash_reloaded
Ethash reloaded
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test.go14
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index a46751f00..2cf2da75c 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -13,42 +13,37 @@ import (
// TODO: refactor test setup & execution to better align with vm and tx tests
func TestBcValidBlockTests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
runBlockTestsInFile("files/BlockTests/bcValidBlockTest.json", []string{}, t)
}
func TestBcUncleTests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
+ t.Skip("Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged.")
runBlockTestsInFile("files/BlockTests/bcUncleTest.json", []string{}, t)
}
func TestBcUncleHeaderValidityTests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
+ t.Skip("Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged.")
runBlockTestsInFile("files/BlockTests/bcUncleHeaderValiditiy.json", []string{}, t)
}
func TestBcInvalidHeaderTests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
runBlockTestsInFile("files/BlockTests/bcInvalidHeaderTest.json", []string{}, t)
}
func TestBcInvalidRLPTests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
runBlockTestsInFile("files/BlockTests/bcInvalidRLPTest.json", []string{}, t)
}
func TestBcJSAPITests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
runBlockTestsInFile("files/BlockTests/bcJS_API_Test.json", []string{}, t)
}
func TestBcRPCAPITests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
+ t.Skip("Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged.")
runBlockTestsInFile("files/BlockTests/bcRPC_API_Test.json", []string{}, t)
}
func TestBcForkBlockTests(t *testing.T) {
- t.Skip("Skipped in lieu of performance fixes.")
runBlockTestsInFile("files/BlockTests/bcForkBlockTest.json", []string{}, t)
}
@@ -71,7 +66,6 @@ func runBlockTestsInFile(filepath string, snafus []string, t *testing.T) {
}
func runBlockTest(name string, test *BlockTest, t *testing.T) {
- t.Log("Running test: ", name)
cfg := testEthConfig()
ethereum, err := eth.New(cfg)
if err != nil {
@@ -100,7 +94,7 @@ func runBlockTest(name string, test *BlockTest, t *testing.T) {
if err = test.ValidatePostState(statedb); err != nil {
t.Fatal("post state validation failed: %v", err)
}
- t.Log("Test passed: ", name)
+ t.Log("Test passed: ", name)
}
func testEthConfig() *eth.Config {