aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-10-16 16:47:12 +0800
committerFelix Lange <fjl@twurst.com>2014-10-17 23:23:28 +0800
commitcbd785cfe8801c240bbaaa6f21ebf3ab7045e4a3 (patch)
tree48cdf93d9753b14816c961966c56e419969854fb /tests/vm
parent0165c1833017963a280f135a5733974a9fc3ec0b (diff)
downloadgo-tangerine-cbd785cfe8801c240bbaaa6f21ebf3ab7045e4a3.tar.gz
go-tangerine-cbd785cfe8801c240bbaaa6f21ebf3ab7045e4a3.tar.zst
go-tangerine-cbd785cfe8801c240bbaaa6f21ebf3ab7045e4a3.zip
ethvm, tests/*: use log level constants
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/gh_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go
index 5de5b6433..0e0c6aa49 100644
--- a/tests/vm/gh_test.go
+++ b/tests/vm/gh_test.go
@@ -4,6 +4,7 @@ import (
"bytes"
"testing"
+ "github.com/ethereum/eth-go/ethlog"
"github.com/ethereum/eth-go/ethstate"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/tests/helper"
@@ -87,6 +88,9 @@ func RunVmTest(url string, t *testing.T) {
}
// I've created a new function for each tests so it's easier to identify where the problem lies if any of them fail.
+func TestVMSha3(t *testing.T) {
+ helper.Logger.SetLogLevel(ethlog.Silence)
+ defer helper.Logger.SetLogLevel(ethlog.DebugLevel)
func TestVMArithmetic(t *testing.T) {
const url = "https://raw.githubusercontent.com/ethereum/tests/develop/vmtests/vmArithmeticTest.json"