summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-12-14 02:37:27 -0800
committerGitHub <noreply@github.com>2020-12-14 11:37:27 +0100
commit555cfd1d59e773e92a7158b7c3b5908017f1ddac (patch)
treeb1d2f68ca33c9db1dca632bd999bf9e444a819ef /tests
parent4850f9b5969d52980177400a75af890f72d579d0 (diff)
downloadNim-555cfd1d59e773e92a7158b7c3b5908017f1ddac.tar.gz
fix #16330 tshould_not_work (#16342)
Diffstat (limited to 'tests')
-rw-r--r--tests/testament/tshould_not_work.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/testament/tshould_not_work.nim b/tests/testament/tshould_not_work.nim
index a7a877fe8..a0b4d6a36 100644
--- a/tests/testament/tshould_not_work.nim
+++ b/tests/testament/tshould_not_work.nim
@@ -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`)