testament: add nimoutFull: bool spec (#17867)

* testament: add `nimoutFull: bool` spec
* PRTEMP
* works
* cleanup
* add test for #12741
* PRTEMP failing test
* remove unrelated changes
* changelog
This commit is contained in:
Timothee Cour 2021-04-27 02:11:28 -07:00 • committed by GitHub
commit a236002e54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 43 additions and 9 deletions

View file

@ -88,6 +88,7 @@ type
targets*: set[TTarget]
matrix*: seq[string]
nimout*: string
nimoutFull*: bool # whether nimout is all compiler output or a subset
parseErrors*: string # when the spec definition is invalid, this is not empty.
unjoinable*: bool
unbatchable*: bool
@ -297,6 +298,8 @@ proc parseSpec*(filename: string): TSpec =
result.action = actionReject
of "nimout":
result.nimout = e.value
of "nimoutfull":
result.nimoutFull = parseCfgBool(e.value)
of "batchable":
result.unbatchable = not parseCfgBool(e.value)
of "joinable":