Fix subcrate test compile (#8862)

* Fix test compile for light, node_filter, service in ethcore

* Fix ipfs, local-store, rpc, secret_store, updater subcrate test compile
This commit is contained in:
Wei Tang 2018-06-11 18:26:49 +08:00 committed by Marek Kotewicz
parent 10fc74eb81
commit 09ee6e1477
8 changed files with 10 additions and 0 deletions

View File

@ -38,6 +38,7 @@ memory-cache = { path = "../../util/memory_cache" }
error-chain = { version = "0.11", default-features = false } error-chain = { version = "0.11", default-features = false }
[dev-dependencies] [dev-dependencies]
ethcore = { path = "..", features = ["test-helpers"] }
kvdb-memorydb = { path = "../../util/kvdb-memorydb" } kvdb-memorydb = { path = "../../util/kvdb-memorydb" }
tempdir = "0.3" tempdir = "0.3"

View File

@ -19,6 +19,7 @@ ethabi-contract = "5.0"
lru-cache = "0.1" lru-cache = "0.1"
[dev-dependencies] [dev-dependencies]
ethcore = { path = "..", features = ["test-helpers"] }
kvdb-memorydb = { path = "../../util/kvdb-memorydb" } kvdb-memorydb = { path = "../../util/kvdb-memorydb" }
ethcore-io = { path = "../../util/io" } ethcore-io = { path = "../../util/io" }
tempdir = "0.3" tempdir = "0.3"

View File

@ -16,5 +16,6 @@ stop-guard = { path = "../../util/stop-guard" }
trace-time = { path = "../../util/trace-time" } trace-time = { path = "../../util/trace-time" }
[dev-dependencies] [dev-dependencies]
ethcore = { path = "..", features = ["test-helpers"] }
tempdir = "0.3" tempdir = "0.3"
kvdb-rocksdb = { path = "../../util/kvdb-rocksdb" } kvdb-rocksdb = { path = "../../util/kvdb-rocksdb" }

View File

@ -15,3 +15,6 @@ rlp = { path = "../util/rlp" }
cid = "0.2" cid = "0.2"
multihash = "0.7" multihash = "0.7"
unicase = "2.0" unicase = "2.0"
[dev-dependencies]
ethcore = { path = "../ethcore", features = ["test-helpers"] }

View File

@ -16,5 +16,6 @@ serde_derive = "1.0"
serde_json = "1.0" serde_json = "1.0"
[dev-dependencies] [dev-dependencies]
ethcore = { path = "../ethcore", features = ["test-helpers"] }
ethkey = { path = "../ethkey" } ethkey = { path = "../ethkey" }
kvdb-memorydb = { path = "../util/kvdb-memorydb" } kvdb-memorydb = { path = "../util/kvdb-memorydb" }

View File

@ -65,6 +65,7 @@ stats = { path = "../util/stats" }
vm = { path = "../ethcore/vm" } vm = { path = "../ethcore/vm" }
[dev-dependencies] [dev-dependencies]
ethcore = { path = "../ethcore", features = ["test-helpers"] }
ethcore-network = { path = "../util/network" } ethcore-network = { path = "../util/network" }
fake-fetch = { path = "../util/fake-fetch" } fake-fetch = { path = "../util/fake-fetch" }
kvdb-memorydb = { path = "../util/kvdb-memorydb" } kvdb-memorydb = { path = "../util/kvdb-memorydb" }

View File

@ -39,5 +39,6 @@ ethabi-derive = "5.0"
ethabi-contract = "5.0" ethabi-contract = "5.0"
[dev-dependencies] [dev-dependencies]
ethcore = { path = "../ethcore", features = ["test-helpers"] }
tempdir = "0.3" tempdir = "0.3"
kvdb-rocksdb = { path = "../util/kvdb-rocksdb" } kvdb-rocksdb = { path = "../util/kvdb-rocksdb" }

View File

@ -25,5 +25,6 @@ path = { path = "../util/path" }
rand = "0.4" rand = "0.4"
[dev-dependencies] [dev-dependencies]
ethcore = { path = "../ethcore", features = ["test-helpers"] }
tempdir = "0.3" tempdir = "0.3"
matches = "0.1" matches = "0.1"