From 00440b6effcdfd1b75bfcca1b65d80a3ca298606 Mon Sep 17 00:00:00 2001 From: Jordan Hrycaj Date: Wed, 28 Jul 2021 11:25:08 +0100 Subject: [PATCH] Use caps for log-levels in tests why; Using nimble installed chronicles (as documented in the readme) fails to compile unless the log-level "info" is spelled "INFO". --- websock.nimble | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/websock.nimble b/websock.nimble index 706f70c..2d5ec50 100644 --- a/websock.nimble +++ b/websock.nimble @@ -28,17 +28,17 @@ task test, "run tests": # dont't need to run it, only want to test if it is compileable exec "nim c -c --verbosity:0 --hints:off -d:chronicles_log_level=TRACE -d:chronicles_sinks:json ./tests/testcommon" - exec "nim --hints:off c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testcommon.nim" + exec "nim --hints:off c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=INFO ./tests/testcommon.nim" rmFile "./tests/testcommon" - exec "nim --hints:off c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim" + exec "nim --hints:off c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=INFO ./tests/testwebsockets.nim" rmFile "./tests/testwebsockets" - exec "nim --hints:off -d:secure c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim" + exec "nim --hints:off -d:secure c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=INFO ./tests/testwebsockets.nim" rmFile "./tests/testwebsockets" - exec "nim --hints:off -d:accepts c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim" + exec "nim --hints:off -d:accepts c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=INFO ./tests/testwebsockets.nim" rmFile "./tests/testwebsockets" - exec "nim --hints:off -d:secure -d:accepts c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=info ./tests/testwebsockets.nim" + exec "nim --hints:off -d:secure -d:accepts c -r --opt:speed -d:debug --verbosity:0 --hints:off -d:chronicles_log_level=INFO ./tests/testwebsockets.nim" rmFile "./tests/testwebsockets"