Adds comments to output, can help debug failure logs.

This commit is contained in:
Grzegorz Adam Hankiewicz
2013-06-07 21:43:27 +02:00
parent 0d333fdcb4
commit 27ebd3ce2e

View File

@@ -134,6 +134,7 @@ proc doScenario(script: string, output: PStream, mode: TRunMode): bool =
if line.strip.len == 0: continue
if line.startsWith("#"):
output.writeln line
continue
elif line.startsWith(">"):
s.doCommand(line.substr(1).strip)