fix #14242 testament r tests/js/foo now works; testament now honors --targets (#16163)

* fix #14242 `testament r tests/js/foo` now works; testament now honors --targets

* fix shouldfail
This commit is contained in:
Timothee Cour 2020-11-28 10:33:36 -08:00 • committed by GitHub
commit 1d786c0a54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 30 deletions

View file

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