diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-19 17:38:23 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-19 17:38:23 +0800 |
commit | 0743243dce05c38c1f4949e44467d20a22a1f743 (patch) | |
tree | fdb2b2dd419da47bb314f230957f79a9d01353d6 /tests/transaction_test.go | |
parent | a9659e6dcf1f1584e155825d4422eb005ff38c21 (diff) | |
download | dexon-0743243dce05c38c1f4949e44467d20a22a1f743.tar.gz dexon-0743243dce05c38c1f4949e44467d20a22a1f743.tar.zst dexon-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/transaction_test.go')
-rw-r--r-- | tests/transaction_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/transaction_test.go b/tests/transaction_test.go index 41a20a1bb..70aa65cdd 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -6,21 +6,21 @@ import ( ) func TestTransactions(t *testing.T) { - err := RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json")) + err := RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json"), TransSkipTests) if err != nil { t.Fatal(err) } } func TestWrongRLPTransactions(t *testing.T) { - err := RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json")) + err := RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json"), TransSkipTests) if err != nil { t.Fatal(err) } } func Test10MBtx(t *testing.T) { - err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json")) + err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json"), TransSkipTests) if err != nil { t.Fatal(err) } |