activated more tests, allow input in test spec

This commit is contained in:
Arne Döring 2018-11-15 01:57:02 +01:00 • committed by Araq
commit 9c2365d5c2
26 changed files with 223 additions and 124 deletions

View file

@ -48,6 +48,7 @@ type
TSpec* = object
action*: TTestAction
file*, cmd*: string
input*: string
outp*: string
line*, column*: int
tfile*: string
@ -144,6 +145,8 @@ proc parseSpec*(filename: string): TSpec =
of "output":
result.action = actionRun
result.outp = e.value
of "input":
result.input = e.value
of "outputsub":
result.action = actionRun
result.outp = e.value