activated more tests, allow input in test spec
This commit is contained in:
parent
e012eb1001
commit
9c2365d5c2
26 changed files with 223 additions and 124 deletions
|
|
@ -1323,6 +1323,12 @@ proc execCmdEx*(command: string, options: set[ProcessOption] = {
|
|||
## let (outp, errC) = execCmdEx("nim c -r mytestfile.nim")
|
||||
var p = startProcess(command, options=options + {poEvalCommand})
|
||||
var outp = outputStream(p)
|
||||
|
||||
# There is no way to provide input for the child process
|
||||
# anymore. Closing it will create EOF on stdin instead of eternal
|
||||
# blocking.
|
||||
close inputStream(p)
|
||||
|
||||
result = (TaintedString"", -1)
|
||||
var line = newStringOfCap(120).TaintedString
|
||||
while true:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue