From 77dfb0d5762e62248e1a2f39869ca25d5a095c45 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Tue, 28 Nov 2023 22:38:49 -0700 Subject: [PATCH] import tests --- chronos.nimble | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chronos.nimble b/chronos.nimble index e435883..25ee796 100644 --- a/chronos.nimble +++ b/chronos.nimble @@ -67,6 +67,14 @@ task test_libbacktrace, "test with libbacktrace": for args in allArgs: run args, "tests/testall" +task test_profiler, "test with profiler instrumentation": + var allArgs = @[ + " -d:chronosFutureId -d:chronosProfiling", + ] + + for args in allArgs: + run args, "tests/testall" + task docs, "Generate API documentation": exec "mdbook build docs" exec nimc & " doc " & "--git.url:https://github.com/status-im/nim-chronos --git.commit:master --outdir:docs/book/api --project chronos"