koch now uses nim.exe
This commit is contained in:
parent
a68f17a9f7
commit
0f4567d59e
6 changed files with 51 additions and 42 deletions
|
|
@ -87,7 +87,7 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
|
|||
else:
|
||||
# posix relies on crappy LD_LIBRARY_PATH (ugh!):
|
||||
var libpath = getenv"LD_LIBRARY_PATH".string
|
||||
if peg"\i '/nimrod' (!'/')* '/lib'" notin libpath:
|
||||
if peg"\i '/nim' (!'/')* '/lib'" notin libpath:
|
||||
echo "[Warning] insufficient LD_LIBRARY_PATH"
|
||||
var serverDll = DynlibFormat % "server"
|
||||
safeCopyFile("tests/dll" / serverDll, "lib" / serverDll)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
import parseutils, strutils, os, osproc, streams, parsecfg
|
||||
|
||||
const
|
||||
cmdTemplate* = r"nimrod $target --hints:on $options $file"
|
||||
cmdTemplate* = r"nim $target --hints:on $options $file"
|
||||
|
||||
type
|
||||
TTestAction* = enum
|
||||
|
|
@ -18,7 +18,7 @@ type
|
|||
actionRun = "run"
|
||||
actionReject = "reject"
|
||||
TResultEnum* = enum
|
||||
reNimrodcCrash, # nimrod compiler seems to have crashed
|
||||
reNimrodcCrash, # nim compiler seems to have crashed
|
||||
reMsgsDiffer, # error messages differ
|
||||
reFilesDiffer, # expected and given filenames differ
|
||||
reLinesDiffer, # expected and given line numbers differ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue