File tree 2 files changed +4
-3
lines changed
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]
13
13
from std/ strutils import startsWith, endsWith
14
14
from std/ strformat import `&`
15
15
16
+ -- mm:arc # TODO : check if still needs to be below imports on Nim > 1.6.12
17
+
16
18
const IgnorePathPrefixes = [" ." ]
17
19
18
20
func isIgnored (path: string ): bool =
@@ -27,12 +29,13 @@ iterator modules(dir: string = getCurrentDir()): string =
27
29
28
30
# ########### Tasks
29
31
task test, " Test everything" :
32
+ -- warning: " BareExcept:off"
30
33
-- hints: off
31
34
var failedUnits: seq [string ]
32
35
33
36
for path in modules ():
34
37
echo & " Testing { path} : "
35
- try : exec (& " nim --hints:off r \" { path} \" " )
38
+ try : selfExec (& " -f --warning[BareExcept]:off --hints:off r \" { path} \" " )
36
39
except OSError :
37
40
failedUnits.add (path)
38
41
if failedUnits.len > 0 :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments