mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-04 02:54:05 +01:00
Always set _test_utils
when building lightning for some tests
This ensures that we hit additional assertions which are intended to always be run in tests.
This commit is contained in:
parent
98417a16df
commit
f3a6ca4adc
3 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,7 @@ libfuzzer_fuzz = ["libfuzzer-sys"]
|
||||||
stdin_fuzz = []
|
stdin_fuzz = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lightning = { path = "../lightning", features = ["regex", "hashbrown"] }
|
lightning = { path = "../lightning", features = ["regex", "hashbrown", "_test_utils"] }
|
||||||
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" }
|
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" }
|
||||||
bitcoin = { version = "0.29.0", features = ["secp-lowmemory"] }
|
bitcoin = { version = "0.29.0", features = ["secp-lowmemory"] }
|
||||||
hex = "0.3"
|
hex = "0.3"
|
||||||
|
|
|
@ -27,4 +27,5 @@ serde_json = { version = "1.0", optional = true }
|
||||||
chunked_transfer = { version = "1.4", optional = true }
|
chunked_transfer = { version = "1.4", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
lightning = { version = "0.0.113", path = "../lightning", features = ["_test_utils"] }
|
||||||
tokio = { version = "~1.14", features = [ "macros", "rt" ] }
|
tokio = { version = "~1.14", features = [ "macros", "rt" ] }
|
||||||
|
|
|
@ -21,3 +21,4 @@ tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "~1.14", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
|
tokio = { version = "~1.14", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
|
||||||
|
lightning = { version = "0.0.113", path = "../lightning", features = ["_test_utils"] }
|
||||||
|
|
Loading…
Add table
Reference in a new issue