From 7fc266bd9e25a75100c20f9e707ce1bdd0aa32fd Mon Sep 17 00:00:00 2001 From: Vindaar Date: Mon, 1 Jul 2024 19:47:12 +0200 Subject: [PATCH] [nimble] run tests with farm hash for devel --- datamancer.nimble | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/datamancer.nimble b/datamancer.nimble index 790a199..7e8c3f0 100644 --- a/datamancer.nimble +++ b/datamancer.nimble @@ -21,6 +21,16 @@ task test, "Run standard tests": exec "nim c -r tests/testsFormula.nim" exec "nim c -r tests/testParse.nim" + # preview farm hash + if (NimMajor, NimMinor) >= (2, 1): + exec "nim c -r -d:nimPreviewHashFarm tests/testDf.nim" + exec "nim c -r -d:nimPreviewHashFarm tests/tests.nim" + exec "nim c -r -d:nimPreviewHashFarm tests/test_issue20.nim" + exec "nim c -r -d:nimPreviewHashFarm tests/test_issue28.nim" + exec "nim c -r -d:nimPreviewHashFarm tests/testsFormula.nim" + exec "nim c -r -d:nimPreviewHashFarm tests/testParse.nim" + + task testJs, "Run test for JS": exec "nim js -r tests/testdf_js_simple.nim"