From 437643124dd7eddca0b081bc047d0edd78b5cdc6 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 14 Aug 2024 10:48:35 +0200 Subject: [PATCH] oops wrong version --- config.nims | 2 -- tests/build.nims | 8 ++++---- tests/test.nimble | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/config.nims b/config.nims index 15e1770..153d288 100644 --- a/config.nims +++ b/config.nims @@ -1,8 +1,6 @@ switch("define", "libp2p_pki_schemes=secp256k1") -include "build.nims" - # begin Nimble config (version 2) --noNimblePath when withDir(thisDir(), system.fileExists("nimble.paths")): diff --git a/tests/build.nims b/tests/build.nims index 8c422bc..cd1f7ff 100644 --- a/tests/build.nims +++ b/tests/build.nims @@ -1,13 +1,13 @@ import std / [os, strutils, sequtils] task testAll, "Run DHT tests": - exec "nim c -r testAll.nim" - rmFile "./testAll" + exec "nim c -r test.nim" + rmFile "./test" task test, "Run DHT tests": # compile with trace logging to make sure it doesn't crash - exec "nim c -d:testsAll -d:chronicles_enabled=on -d:chronicles_log_level=TRACE testAll.nim" - rmFile "./testAll" + exec "nim c -d:testsAll -d:chronicles_enabled=on -d:chronicles_log_level=TRACE test.nim" + rmFile "./test" exec "nim c -r -d:testsAll --verbosity:0 testAllParallel.nim" rmFile "./testAllParallel" diff --git a/tests/test.nimble b/tests/test.nimble index a88bfa1..74c26b4 100644 --- a/tests/test.nimble +++ b/tests/test.nimble @@ -6,6 +6,6 @@ description = "Tests for Codex DHT" license = "MIT" # Dependencies -requires "asynctest >= 0.5.3 & < 0.6.0" +requires "asynctest >= 0.5.2 & < 0.6.0" include "build.nims"