Forces removal of nimcache dir for all caas runs.
Now some test cases fail because they can't use a previous nimcache directory (which potentially could have wrong compiled code anyway).
This commit is contained in:
parent
4583c4ea0a
commit
b22af9776d
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ proc startNimrodSession(project, script: string, mode: TRunMode):
|
||||||
|
|
||||||
if mode == SymbolProcRun:
|
if mode == SymbolProcRun:
|
||||||
removeDir(nimcacheDir / result.nimcache)
|
removeDir(nimcacheDir / result.nimcache)
|
||||||
|
else:
|
||||||
|
removeDir(nimcacheDir / "nimcache")
|
||||||
|
|
||||||
if mode == CaasRun:
|
if mode == CaasRun:
|
||||||
result.nim = startProcess(NimrodBin, workingDir = dir,
|
result.nim = startProcess(NimrodBin, workingDir = dir,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue