further adaptations

This commit is contained in:
Araq 2014-08-29 09:12:12 +02:00
commit c6034277fc
52 changed files with 87 additions and 87 deletions

View file

@ -33,7 +33,7 @@ proc replaceVars(session: var NimSession, text: string): string =
result = result.replace(moduleReplaceVar, session.modname)
result = result.replace(silentReplaceVar, silentReplaceText)
proc startNimrodSession(project, script: string, mode: TRunMode):
proc startNimSession(project, script: string, mode: TRunMode):
NimSession =
let (dir, name, ext) = project.splitFile
result.mode = mode
@ -114,7 +114,7 @@ proc doScenario(script: string, output: PStream, mode: TRunMode, verbose: bool):
if f.readLine(project):
var
s = startNimrodSession(script.parentDir / project.string, script, mode)
s = startNimSession(script.parentDir / project.string, script, mode)
tline = TaintedString("")
ln = 1

View file

@ -1,6 +1,6 @@
#
#
# Nimrod Tester
# Nim Tester
# (c) Copyright 2014 Andreas Rumpf
#
# See the file "copying.txt", included in this

View file

@ -18,7 +18,7 @@ type
actionRun = "run"
actionReject = "reject"
TResultEnum* = enum
reNimrodcCrash, # nim compiler seems to have crashed
reNimcCrash, # nim compiler seems to have crashed
reMsgsDiffer, # error messages differ
reFilesDiffer, # expected and given filenames differ
reLinesDiffer, # expected and given line numbers differ