aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-17 21:13:24 +0800
committerFelix Lange <fjl@twurst.com>2015-07-17 21:13:24 +0800
commit5da82077d1bd556a562568fe25c55996d0cdfb1c (patch)
tree19b70124c9187412385da13a5f5b72a114509522 /cmd
parenta75b95b87612691a3e8f709e8c5739a2e7ac8b76 (diff)
downloaddexon-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')
-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)
}