Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed May 14, 2020
1 parent 96c8087 commit 6d37566
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testament/testament.nim
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ proc nimcacheDir(filename, options: string, target: TTarget): string =
proc prepareTestArgs(cmdTemplate, filename, options, nimcache: string,
target: TTarget, extraOptions = ""): seq[string] =
var options = target.defaultOptions & " " & options
if nimcache.len > 0: options.add " --nimCache:" & nimcache.quoteShell
# improve pending https://github.com/nim-lang/Nim/issues/14343
if nimcache.len > 0: options.add " " & ("--nimCache:" & nimcache).quoteShell
options.add " " & extraOptions
result = parseCmdLine(cmdTemplate % ["target", targetToCmd[target],
"options", options, "file", filename.quoteShell,
Expand Down

0 comments on commit 6d37566

Please sign in to comment.