aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:27:44 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:27:44 +0800
commitbaea8e87e5dfdcfb7b2fdcef48fa6038d60a6f9c (patch)
treefd9084c77e97df8ec4b46ca616023e812d8e246d /tests/init.go
parent01ec4dbb1251751b8bbf62ddb3b3a02dc50d29fc (diff)
downloaddexon-baea8e87e5dfdcfb7b2fdcef48fa6038d60a6f9c.tar.gz
dexon-baea8e87e5dfdcfb7b2fdcef48fa6038d60a6f9c.tar.zst
dexon-baea8e87e5dfdcfb7b2fdcef48fa6038d60a6f9c.zip
Rebase cleanup
Diffstat (limited to 'tests/init.go')
-rw-r--r--tests/init.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/init.go b/tests/init.go
index 326387341..9fe98a0d1 100644
--- a/tests/init.go
+++ b/tests/init.go
@@ -8,8 +8,6 @@ import (
"net/http"
"os"
"path/filepath"
-
- // "github.com/ethereum/go-ethereum/logger/glog"
)
var (
@@ -25,33 +23,6 @@ var (
VmSkipTests = []string{}
)
-// type TestRunner interface {
-// // LoadTest()
-// RunTest() error
-// }
-
-// func RunTests(bt map[string]TestRunner, skipTests []string) error {
-// // map skipped tests to boolean set
-// skipTest := make(map[string]bool, len(skipTests))
-// for _, name := range skipTests {
-// skipTest[name] = true
-// }
-
-// for name, test := range bt {
-// // if the test should be skipped, return
-// if skipTest[name] {
-// glog.Infoln("Skipping block test", name)
-// return nil
-// }
-// // test the block
-// if err := test.RunTest(); err != nil {
-// return err
-// }
-// glog.Infoln("Block test passed: ", name)
-// }
-// return nil
-// }
-
func readJson(reader io.Reader, value interface{}) error {
data, err := ioutil.ReadAll(reader)
if err != nil {