test wrapper: remove test reward and temp skip Bruncles

This commit is contained in:
Gustav Simonsson 2015-07-29 13:02:18 +02:00
parent 7c196ee19f
commit 39e8e52d83

View file

@ -17,18 +17,10 @@
package tests package tests
import ( import (
"math/big"
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/ethereum/go-ethereum/core"
) )
func init() {
// XXX remove me when block tests have been updated
core.BlockReward = big.NewInt(1.5e+18)
}
func TestBcValidBlockTests(t *testing.T) { func TestBcValidBlockTests(t *testing.T) {
err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests) err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests)
if err != nil { if err != nil {
@ -37,6 +29,7 @@ func TestBcValidBlockTests(t *testing.T) {
} }
func TestBcUncleTests(t *testing.T) { func TestBcUncleTests(t *testing.T) {
t.Skip() // TODO: unskip once Christoph has regenerated it.
err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"), BlockSkipTests) err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"), BlockSkipTests)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)