mirror of https://github.com/vacp2p/nim-libp2p.git
add coverage to disabled metrics (#545)
This commit is contained in:
parent
aeb18c4e41
commit
a54e1cc699
|
@ -18,7 +18,7 @@ requires "nim >= 1.2.0",
|
|||
|
||||
proc runTest(filename: string, verify: bool = true, sign: bool = true,
|
||||
moreoptions: string = "") =
|
||||
var excstr = "nim c --opt:speed -d:debug --verbosity:0 --hints:off"
|
||||
var excstr = "nim c --opt:speed -d:debug -d:libp2p_agents_metrics -d:libp2p_protobuf_metrics --verbosity:0 --hints:off"
|
||||
excstr.add(" --warning[CaseTransition]:off --warning[ObservableStores]:off --warning[LockLevel]:off")
|
||||
excstr.add(" -d:libp2p_pubsub_sign=" & $sign)
|
||||
excstr.add(" -d:libp2p_pubsub_verify=" & $verify)
|
||||
|
|
Loading…
Reference in New Issue