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

@ -576,6 +576,9 @@ proc isJoinableSpec(spec: TSpec): bool =
spec.exitCode == 0 and
spec.input.len == 0 and
spec.nimout.len == 0 and
spec.nimoutFull == false and
# so that tests can have `nimoutFull: true` with `nimout.len == 0` with
# the meaning that they expect empty output.
spec.matrix.len == 0 and
spec.outputCheck != ocSubstr and
spec.ccodeCheck.len == 0 and