fix #16330 tshould_not_work (#16342)

This commit is contained in:
Timothee Cour 2020-12-14 02:37:27 -08:00 • committed by GitHub
commit 555cfd1d59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
discard """
cmd: "testament/testament --directory:testament --colors:off --backendLogging:off --nim:../compiler/nim category shouldfail"
cmd: "testament/testament --directory:testament --colors:off --backendLogging:off --nim:$nim category shouldfail"
action: compile
nimout: '''
FAIL: tests/shouldfail/tccodecheck.nim c
@ -35,5 +35,3 @@ FAIL: tests/shouldfail/tvalgrind.nim c
Failure: reExitcodesDiffer
'''
"""
# xxx `--nim:../compiler/nim`, doesn't seem correct (and should also honor `testament --nim`)