fixes #3290
This commit is contained in:
parent
f2d6edd861
commit
1e5926458c
1 changed files with 3 additions and 2 deletions
5
koch.nim
5
koch.nim
|
|
@ -336,10 +336,11 @@ template `|`(a, b): expr = (if a.len > 0: a else: b)
|
||||||
proc tests(args: string) =
|
proc tests(args: string) =
|
||||||
# we compile the tester with taintMode:on to have a basic
|
# we compile the tester with taintMode:on to have a basic
|
||||||
# taint mode test :-)
|
# taint mode test :-)
|
||||||
exec "nim cc --taintMode:on tests/testament/tester"
|
let nimexe = findNim()
|
||||||
|
exec nimexe & " cc --taintMode:on tests/testament/tester"
|
||||||
# Since tests take a long time (on my machine), and we want to defy Murhpys
|
# Since tests take a long time (on my machine), and we want to defy Murhpys
|
||||||
# law - lets make sure the compiler really is freshly compiled!
|
# law - lets make sure the compiler really is freshly compiled!
|
||||||
exec "nim c --lib:lib -d:release --opt:speed compiler/nim.nim"
|
exec nimexe & " c --lib:lib -d:release --opt:speed compiler/nim.nim"
|
||||||
let tester = quoteShell(getCurrentDir() / "tests/testament/tester".exe)
|
let tester = quoteShell(getCurrentDir() / "tests/testament/tester".exe)
|
||||||
let success = tryExec tester & " " & (args|"all")
|
let success = tryExec tester & " " & (args|"all")
|
||||||
if not existsEnv("TRAVIS") and not existsEnv("APPVEYOR"):
|
if not existsEnv("TRAVIS") and not existsEnv("APPVEYOR"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue