aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-17 21:13:24 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-22 19:33:05 +0800
commita83fdd0046a8c86fa1f5260e841e55bc4085495c (patch)
treeb3efa2201ee8ef623f4d9b15745269d705040008 /cmd
parentb1a219b0ec489fcaeb667d46d6e668b078b9b388 (diff)
downloadgo-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.tar
go-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.tar.gz
go-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.tar.bz2
go-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.tar.lz
go-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.tar.xz
go-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.tar.zst
go-tangerine-a83fdd0046a8c86fa1f5260e841e55bc4085495c.zip
cmd/ethtest, tests: add support for RLP JSON tests
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ethtest/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/ethtest/main.go b/cmd/ethtest/main.go
index 61276b177..0d6286407 100644
--- a/cmd/ethtest/main.go
+++ b/cmd/ethtest/main.go
@@ -35,7 +35,7 @@ var (
testExtension = ".json"
defaultTest = "all"
defaultDir = "."
- allTests = []string{"BlockTests", "StateTests", "TransactionTests", "VMTests"}
+ allTests = []string{"BlockTests", "StateTests", "TransactionTests", "VMTests", "RLPTests"}
skipTests = []string{}
TestFlag = cli.StringFlag{
@@ -75,6 +75,8 @@ func runTestWithReader(test string, r io.Reader) error {
err = tests.RunTransactionTestsWithReader(r, skipTests)
case "vm", "vmtest", "vmtests":
err = tests.RunVmTestWithReader(r, skipTests)
+ case "rlp", "rlptest", "rlptests":
+ err = tests.RunRLPTestWithReader(r, skipTests)
default:
err = fmt.Errorf("Invalid test type specified: %v", test)
}