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

@ -0,0 +1,15 @@
discard """
targets: "c"
nimout: '''
msg1
msg2
'''
action: compile
nimoutFull: true
"""
# should fail because `msg3` is not in nimout and `nimoutFill: true` was given
static:
echo "msg1"
echo "msg2"
echo "msg3"