From a54e1cc699f036f3a8eeff33c3d9f893b8a284e9 Mon Sep 17 00:00:00 2001 From: Giovanni Petrantoni <7008900+sinkingsugar@users.noreply.github.com> Date: Mon, 15 Mar 2021 21:36:57 +0900 Subject: [PATCH] add coverage to disabled metrics (#545) --- libp2p.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p.nimble b/libp2p.nimble index 12d0b7509..a2ca432bf 100644 --- a/libp2p.nimble +++ b/libp2p.nimble @@ -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)