diff options
Diffstat (limited to 'testament/specs.nim')
-rw-r--r-- | testament/specs.nim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testament/specs.nim b/testament/specs.nim index 96b02746b..11286ceab 100644 --- a/testament/specs.nim +++ b/testament/specs.nim @@ -7,13 +7,15 @@ # distribution, for details about the copyright. # -import parseutils, strutils, os, osproc, streams, parsecfg +import sequtils, parseutils, strutils, os, osproc, streams, parsecfg var compilerPrefix* = findExe("nim") let isTravis* = existsEnv("TRAVIS") let isAppVeyor* = existsEnv("APPVEYOR") +var skips*: seq[string] + type TTestAction* = enum actionRun = "run" @@ -245,3 +247,6 @@ proc parseSpec*(filename: string): TSpec = of cfgEof: break close(p) + + if skips.anyIt(it in result.file): + result.err = reDisabled |