File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import std/[os, sequtils]
1313from std/ strutils import startsWith, endsWith
1414from std/ strformat import `&`
1515
16+ -- mm:arc # TODO : check if still needs to be below imports on Nim > 1.6.12
17+
1618const IgnorePathPrefixes = [" ." ]
1719
1820func isIgnored (path: string ): bool =
@@ -27,12 +29,13 @@ iterator modules(dir: string = getCurrentDir()): string =
2729
2830# ########### Tasks
2931task test, " Test everything" :
32+ -- warning: " BareExcept:off"
3033 -- hints: off
3134 var failedUnits: seq [string ]
3235
3336 for path in modules ():
3437 echo & " Testing { path} : "
35- try : exec (& " nim --hints:off r \" { path} \" " )
38+ try : selfExec (& " -f --warning[BareExcept]:off --hints:off r \" { path} \" " )
3639 except OSError :
3740 failedUnits.add (path)
3841 if failedUnits.len > 0 :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments