diff options
author | Oscar Campbell <oscar@campbell.nu> | 2015-06-03 03:22:17 +0200 |
---|---|---|
committer | Oscar Campbell <oscar@campbell.nu> | 2015-06-03 03:22:17 +0200 |
commit | bf9053315c75037a58230f8abc7f75ece636f806 (patch) | |
tree | ee5eaa779eaccba235266a5d44185185b0def422 | |
parent | 6820b2fea919c033405e7e204343fddd947c2ef3 (diff) | |
download | Nim-bf9053315c75037a58230f8abc7f75ece636f806.tar.gz |
Ensure fresh compiler and local compiler + libs
-rw-r--r-- | koch.nim | 3 | ||||
-rw-r--r-- | tests/testament/specs.nim | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim index fc292401a..83737d751 100644 --- a/koch.nim +++ b/koch.nim @@ -330,6 +330,9 @@ proc winRelease() = template `|`(a, b): expr = (if a.len > 0: a else: b) proc tests(args: string) = + # Since tests take a long time (on my machine) - lets make sure a stupid + # mistake - like forgetting to compile the compiler - isn't made... + exec "nim c --lib:./lib -d:release compiler/nim.nim" # we compile the tester with taintMode:on to have a basic # taint mode test :-) exec "nim cc --taintMode:on tests/testament/tester" diff --git a/tests/testament/specs.nim b/tests/testament/specs.nim index 9306bf025..a4b1b8283 100644 --- a/tests/testament/specs.nim +++ b/tests/testament/specs.nim @@ -10,7 +10,7 @@ import parseutils, strutils, os, osproc, streams, parsecfg const - cmdTemplate* = r"nim $target --hints:on -d:testing $options $file" + cmdTemplate* = r"./compiler/nim $target --lib:./lib --hints:on -d:testing $options $file" type TTestAction* = enum |