aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 17:38:23 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 17:38:23 +0800
commit0743243dce05c38c1f4949e44467d20a22a1f743 (patch)
treefdb2b2dd419da47bb314f230957f79a9d01353d6 /tests/block_test.go
parenta9659e6dcf1f1584e155825d4422eb005ff38c21 (diff)
downloadgo-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.tar
go-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.tar.gz
go-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.tar.bz2
go-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.tar.lz
go-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.tar.xz
go-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.tar.zst
go-tangerine-0743243dce05c38c1f4949e44467d20a22a1f743.zip
Add --skip option to CLI
Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test`
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index 9d21ba28d..bdf983786 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -6,67 +6,67 @@ import (
)
func TestBcValidBlockTests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcValidBlockTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcUncleTests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
- err = RunBlockTest(filepath.Join(blockTestDir, "bcBruncleTest.json"))
+ err = RunBlockTest(filepath.Join(blockTestDir, "bcBruncleTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcUncleHeaderValidityTests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleHeaderValiditiy.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcUncleHeaderValiditiy.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcInvalidHeaderTests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcInvalidHeaderTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcInvalidHeaderTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcInvalidRLPTests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcInvalidRLPTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcInvalidRLPTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcRPCAPITests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcRPC_API_Test.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcRPC_API_Test.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcForkBlockTests(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcForkBlockTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcForkBlockTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcTotalDifficulty(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcTotalDifficultyTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcTotalDifficultyTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}
}
func TestBcWallet(t *testing.T) {
- err := RunBlockTest(filepath.Join(blockTestDir, "bcWalletTest.json"))
+ err := RunBlockTest(filepath.Join(blockTestDir, "bcWalletTest.json"), BlockSkipTests)
if err != nil {
t.Fatal(err)
}