patch-tests_testament_tester_nim 1.0 KB

123456789101112131415161718192021222324252627282930
  1. $OpenBSD: patch-tests_testament_tester_nim,v 1.3 2017/01/09 10:32:33 juanfra Exp $
  2. "compiler/nodejs" breaks the tests:
  3. "tester.nim(15, 22) Error: cannot open 'compiler/nodejs'
  4. nim cc --taintMode:on tests/testament/tester
  5. FAILURE
  6. Error 1 in . (Makefile:42 'do-test')"
  7. --- tests/testament/tester.nim.orig Sun Jan 8 21:33:43 2017
  8. +++ tests/testament/tester.nim Mon Jan 9 02:33:36 2017
  9. @@ -12,7 +12,7 @@
  10. import
  11. parseutils, strutils, pegs, os, osproc, streams, parsecfg, json,
  12. marshal, backend, parseopt, specs, htmlgen, browsers, terminal,
  13. - algorithm, compiler/nodejs, re, times, sets
  14. + algorithm, re, times, sets
  15. const
  16. resultsFile = "testresults.html"
  17. @@ -326,7 +326,7 @@ proc testSpec(r: var TResults, test: TTest) =
  18. r.addResult(test, expected.outp, "executable not found", reExeNotFound)
  19. return
  20. - let nodejs = if isJsTarget: findNodeJs() else: ""
  21. + let nodejs = if isJsTarget: "" else: ""
  22. if isJsTarget and nodejs == "":
  23. r.addResult(test, expected.outp, "nodejs binary not in PATH",
  24. reExeNotFound)