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)
This commit is contained in:
parent
3659fec725
commit
90345526ba
3 changed files with 31 additions and 32 deletions
2
koch.nim
2
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue