Nim/tests/testament/tshouldfail.nim
Andreas Rumpf 82d5e773e3
make testament a tool we ship with Nim; fixes #12084 (#12088)
* make testament a tool we ship with Nim; fixes #12084
* moved config to fit
* adapt testament tests to use the testament binary
2019-08-30 15:43:07 +02:00

31 lines
898 B
Nim

discard """
cmd: "testament/testament --directory:testament --colors:off --backendLogging:off --nim:../compiler/nim category shouldfail"
action: compile
nimout: '''
FAIL: tests/shouldfail/tccodecheck.nim C
Failure: reCodegenFailure
Expected:
baz
FAIL: tests/shouldfail/tcolumn.nim C
Failure: reLinesDiffer
FAIL: tests/shouldfail/terrormsg.nim C
Failure: reMsgsDiffer
FAIL: tests/shouldfail/texitcode1.nim C
Failure: reExitcodesDiffer
FAIL: tests/shouldfail/tfile.nim C
Failure: reFilesDiffer
FAIL: tests/shouldfail/tline.nim C
Failure: reLinesDiffer
FAIL: tests/shouldfail/tmaxcodesize.nim C
Failure: reCodegenFailure
max allowed size: 1
FAIL: tests/shouldfail/tnimout.nim C
Failure: reMsgsDiffer
FAIL: tests/shouldfail/toutput.nim C
Failure: reOutputsDiffer
FAIL: tests/shouldfail/toutputsub.nim C
Failure: reOutputsDiffer
FAIL: tests/shouldfail/tsortoutput.nim C
Failure: reOutputsDiffer
'''
"""