12345678910111213 |
- $OpenBSD: patch-koch_nim,v 1.2 2017/01/09 10:32:33 juanfra Exp $
- --- koch.nim.orig Sun Jan 8 21:33:42 2017
- +++ koch.nim Mon Jan 9 03:15:50 2017
- @@ -393,7 +393,7 @@ proc tests(args: string) =
- nimexec "cc --taintMode:on tests/testament/tester"
- # 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!
- - nimexec "c --lib:lib -d:release --opt:speed compiler/nim.nim"
- + nimexec "c --lib:lib -d:release --opt:speed --listFullPaths --listCmd --putenv:PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:: --nimcache:/usr/write-ports/pobj/nim-0.16.0/nim-0.16.0/nimcache-port-test compiler/nim.nim"
- let tester = quoteShell(getCurrentDir() / "tests/testament/tester".exe)
- let success = tryExec tester & " " & (args|"all")
- if not existsEnv("TRAVIS") and not existsEnv("APPVEYOR"):
|