mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-27 00:51:39 +00:00
added 'koch testinstall' command; more installer related bugfixes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
discard """
|
||||
file: "tasynceverror.nim"
|
||||
exitcode: 1
|
||||
outputsub: "Error: unhandled exception: Connection reset by peer"
|
||||
outputsub: "Error: unhandled exception: "
|
||||
"""
|
||||
|
||||
# error message is actually different on OSX
|
||||
import
|
||||
asyncdispatch,
|
||||
asyncnet,
|
||||
|
||||
@@ -155,7 +155,11 @@ proc parseSpec*(filename: string): TSpec =
|
||||
result.nimout = e.value
|
||||
of "disabled":
|
||||
if parseCfgBool(e.value): result.err = reIgnored
|
||||
of "cmd": result.cmd = e.value
|
||||
of "cmd":
|
||||
if e.value.startsWith("nim "):
|
||||
result.cmd = "compiler" / e.value
|
||||
else:
|
||||
result.cmd = e.value
|
||||
of "ccodecheck": result.ccodeCheck = e.value
|
||||
of "target", "targets":
|
||||
for v in e.value.normalize.split:
|
||||
|
||||
@@ -284,6 +284,7 @@ proc testSpec(r: var TResults, test: TTest) =
|
||||
return
|
||||
|
||||
let tname = test.name.addFileExt(".nim")
|
||||
#echo "TESTING ", tname
|
||||
inc(r.total)
|
||||
var expected: TSpec
|
||||
if test.action != actionRunNoSpec:
|
||||
|
||||
Reference in New Issue
Block a user