added 'koch testinstall' command; more installer related bugfixes
This commit is contained in:
parent
0ea65a824d
commit
76c8d6164b
7 changed files with 78 additions and 17 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue