diff options
author | Felix Lange <fjl@twurst.com> | 2015-07-17 21:13:24 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-07-17 21:13:24 +0800 |
commit | 5da82077d1bd556a562568fe25c55996d0cdfb1c (patch) | |
tree | 19b70124c9187412385da13a5f5b72a114509522 /cmd/ethtest | |
parent | a75b95b87612691a3e8f709e8c5739a2e7ac8b76 (diff) | |
download | dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.tar dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.tar.gz dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.tar.bz2 dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.tar.lz dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.tar.xz dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.tar.zst dexon-5da82077d1bd556a562568fe25c55996d0cdfb1c.zip |
cmd/ethtest, tests: add support for RLP JSON tests
Diffstat (limited to 'cmd/ethtest')
-rw-r--r-- | cmd/ethtest/main.go | 4 |
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) } |