Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
7bc1f487
Commit
7bc1f487
authored
May 06, 2015
by
Gustav Simonsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unskip now working tests, remove debug print
parent
2808409f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
blocktest.go
cmd/geth/blocktest.go
+0
-1
block_test.go
tests/block_test.go
+0
-3
No files found.
cmd/geth/blocktest.go
View file @
7bc1f487
...
@@ -113,7 +113,6 @@ func runOneBlockTest(ctx *cli.Context, test *tests.BlockTest) (*eth.Ethereum, er
...
@@ -113,7 +113,6 @@ func runOneBlockTest(ctx *cli.Context, test *tests.BlockTest) (*eth.Ethereum, er
return
ethereum
,
fmt
.
Errorf
(
"Block Test load error: %v"
,
err
)
return
ethereum
,
fmt
.
Errorf
(
"Block Test load error: %v"
,
err
)
}
}
fmt
.
Println
(
"chain loaded"
)
if
err
:=
test
.
ValidatePostState
(
statedb
);
err
!=
nil
{
if
err
:=
test
.
ValidatePostState
(
statedb
);
err
!=
nil
{
return
ethereum
,
fmt
.
Errorf
(
"post state validation failed: %v"
,
err
)
return
ethereum
,
fmt
.
Errorf
(
"post state validation failed: %v"
,
err
)
}
}
...
...
tests/block_test.go
View file @
7bc1f487
...
@@ -17,12 +17,10 @@ func TestBcValidBlockTests(t *testing.T) {
...
@@ -17,12 +17,10 @@ func TestBcValidBlockTests(t *testing.T) {
}
}
func
TestBcUncleTests
(
t
*
testing
.
T
)
{
func
TestBcUncleTests
(
t
*
testing
.
T
)
{
t
.
Skip
(
"Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged."
)
runBlockTestsInFile
(
"files/BlockTests/bcUncleTest.json"
,
[]
string
{},
t
)
runBlockTestsInFile
(
"files/BlockTests/bcUncleTest.json"
,
[]
string
{},
t
)
}
}
func
TestBcUncleHeaderValidityTests
(
t
*
testing
.
T
)
{
func
TestBcUncleHeaderValidityTests
(
t
*
testing
.
T
)
{
t
.
Skip
(
"Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged."
)
runBlockTestsInFile
(
"files/BlockTests/bcUncleHeaderValiditiy.json"
,
[]
string
{},
t
)
runBlockTestsInFile
(
"files/BlockTests/bcUncleHeaderValiditiy.json"
,
[]
string
{},
t
)
}
}
...
@@ -39,7 +37,6 @@ func TestBcJSAPITests(t *testing.T) {
...
@@ -39,7 +37,6 @@ func TestBcJSAPITests(t *testing.T) {
}
}
func
TestBcRPCAPITests
(
t
*
testing
.
T
)
{
func
TestBcRPCAPITests
(
t
*
testing
.
T
)
{
t
.
Skip
(
"Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged."
)
runBlockTestsInFile
(
"files/BlockTests/bcRPC_API_Test.json"
,
[]
string
{},
t
)
runBlockTestsInFile
(
"files/BlockTests/bcRPC_API_Test.json"
,
[]
string
{},
t
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment