summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorMathias Stearn <redbeard0531@gmail.com>2017-12-18 04:10:52 -0500
committerAndreas Rumpf <rumpf_a@web.de>2017-12-18 10:10:52 +0100
commit90345526bae261fdade6ef8cebc26984f3abed80 (patch)
treeddd25905593e041b0a70624768ffee05c0a59374 /koch.nim
parent3659fec72551bd14f893b8eef6ea606a8b929a49 (diff)
downloadNim-90345526bae261fdade6ef8cebc26984f3abed80.tar.gz
Prep for tester parallel: private nimcache for each test (#6937)
* Compile tester with --opt:speed

This makes "tester html" substantially faster

* Use a private nimcache for each test

This allows reusing the cache between test runs. It is also prep for parallel
testing within a single category (#6913)
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index cde74966b..3ef9a340a 100644
--- a/koch.nim
+++ b/koch.nim
@@ -441,7 +441,7 @@ template `|`(a, b): string = (if a.len > 0: a else: b)
 proc tests(args: string) =
   # we compile the tester with taintMode:on to have a basic
   # taint mode test :-)
-  nimexec "cc --taintMode:on tests/testament/tester"
+  nimexec "cc --taintMode:on --opt:speed 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"