diff options
Diffstat (limited to 'tests/testament/specs.nim')
-rw-r--r-- | tests/testament/specs.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testament/specs.nim b/tests/testament/specs.nim index 99640f22c..dcca8a66e 100644 --- a/tests/testament/specs.nim +++ b/tests/testament/specs.nim @@ -44,6 +44,8 @@ type file*, cmd*: string outp*: string line*, column*: int + tfile*: string + tline*, tcolumn*: int exitCode*: int msg*: string ccodeCheck*: string @@ -116,6 +118,9 @@ proc parseSpec*(filename: string): TSpec = of "file": result.file = e.value of "line": discard parseInt(e.value, result.line) of "column": discard parseInt(e.value, result.column) + of "tfile": result.tfile = e.value + of "tline": discard parseInt(e.value, result.tline) + of "tcolumn": discard parseInt(e.value, result.tcolumn) of "output": result.action = actionRun result.outp = e.value |