addes osinfo_* modules
This commit is contained in:
parent
1536415146
commit
a2d78c562c
5 changed files with 437 additions and 9 deletions
|
|
@ -14,15 +14,15 @@ tinout.nim;7;for a 'var' type a variable needs to be passed
|
|||
tinvalidnewseq.nim;10;type mismatch: got (array[0..6, string], int)
|
||||
tinvwhen.nim;6;invalid indentation
|
||||
titer4.nim;2;iterator within for loop context expected
|
||||
tnamspc.nim;5;Error: undeclared identifier: 'global'
|
||||
tnamspc.nim;5;undeclared identifier: 'global'
|
||||
tnoop.nim;6;expression 'a()' cannot be called
|
||||
tnot.nim;9;type mismatch
|
||||
topaque.nim;11;undeclared field: 'buffer'
|
||||
topena1.nim;4;invalid type
|
||||
toverl.nim;6;attempt to redefine 'TNone'
|
||||
trawstr.nim;5;closing " expected
|
||||
trecinca.nim;3;recursive dependency: 'tests/trecincb.nim'
|
||||
trecincb.nim;4;recursive dependency: 'tests/trecincb.nim'
|
||||
trecinca.nim;3;recursive dependency: 'tests/reject/trecincb.nim'
|
||||
trecincb.nim;4;recursive dependency: 'tests/reject/trecincb.nim'
|
||||
treciter.nim;4;recursive dependency: 'myrec'
|
||||
trectype.nim;20;internal error: cannot generate C type for: PA
|
||||
trefs.nim;15;type mismatch
|
||||
|
|
|
|||
|
Can't render this file because it contains an unexpected character in line 23 and column 23.
|
|
|
@ -29,9 +29,7 @@ type
|
|||
data: string
|
||||
|
||||
proc myExec(cmd: string): string =
|
||||
#echo("Executing: " & cmd)
|
||||
result = osproc.execProcess(cmd)
|
||||
#echo("Received: " & result)
|
||||
|
||||
var
|
||||
pegLineError = peg"{[^(]*} '(' {\d+} ', ' \d+ ') Error:' \s* {.*}"
|
||||
|
|
@ -155,7 +153,6 @@ proc compile(r: var TResults, pattern, options: string) =
|
|||
var t = extractFilename(test)
|
||||
inc(r.total)
|
||||
var given = callCompiler(test, options)
|
||||
echo given.msg, "##", given.err
|
||||
r.addResult(t, "", given.msg, not given.err)
|
||||
if not given.err: inc(r.passed)
|
||||
|
||||
|
|
@ -187,7 +184,7 @@ for i in 1.. paramCount():
|
|||
add(options, " ")
|
||||
add(options, paramStr(i))
|
||||
|
||||
#reject(rejectRes, "tests/reject", options)
|
||||
reject(rejectRes, "tests/reject", options)
|
||||
#compile(compileRes, "tests/accept/compile/t*.nim", options)
|
||||
compile(compileRes, "examples/*.nim", options)
|
||||
#compile(compileRes, "examples/gtk/*.nim", options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue