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