diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-11 06:27:30 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-12 00:43:22 +0800 |
commit | 9cacec70f9af77aaf9bf7f48b90f16ebc6d36298 (patch) | |
tree | bdea8f53f8058294dc7f0659c317e553b5d4c65b /tests/state_test.go | |
parent | 32395ddb891f3a32bc1295296a0887ed9479eeb0 (diff) | |
download | go-tangerine-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.gz go-tangerine-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.zst go-tangerine-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.zip |
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
Diffstat (limited to 'tests/state_test.go')
-rw-r--r-- | tests/state_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/state_test.go b/tests/state_test.go index eb1900e1b..7090b0541 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -27,14 +27,13 @@ import ( func init() { if os.Getenv("JITVM") == "true" { vm.ForceJit = true - } else { - vm.DisableJit = true + vm.EnableJit = true } } func BenchmarkStateCall1024(b *testing.B) { fn := filepath.Join(stateTestDir, "stCallCreateCallCodeTest.json") - if err := BenchVmTest(fn, bconf{"Call1024BalanceTooLow", true, false}, b); err != nil { + if err := BenchVmTest(fn, bconf{"Call1024BalanceTooLow", true, os.Getenv("JITVM") == "true"}, b); err != nil { b.Error(err) } } |