added 'sortoutput' option to make output deterministic for threading tests
This commit is contained in:
parent
030eac86c0
commit
f12a0820e0
2 changed files with 13 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ type
|
|||
msg*: string
|
||||
ccodeCheck*: string
|
||||
err*: TResultEnum
|
||||
substr*: bool
|
||||
substr*, sortoutput*: bool
|
||||
targets*: set[TTarget]
|
||||
|
||||
const
|
||||
|
|
@ -113,6 +113,8 @@ proc parseSpec*(filename: string): TSpec =
|
|||
result.action = actionRun
|
||||
result.outp = e.value
|
||||
result.substr = true
|
||||
of "sortoutput":
|
||||
result.sortoutput = parseCfgBool(e.value)
|
||||
of "exitcode":
|
||||
discard parseInt(e.value, result.exitCode)
|
||||
of "msg":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue