mirror of
https://github.com/nim-lang/Nim.git
synced 2026-03-04 15:47:16 +00:00
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:
@@ -84,6 +84,8 @@ proc startNimrodSession(project, script: string, mode: TRunMode):
|
||||
|
||||
if mode == SymbolProcRun:
|
||||
removeDir(nimcacheDir / result.nimcache)
|
||||
else:
|
||||
removeDir(nimcacheDir / "nimcache")
|
||||
|
||||
if mode == CaasRun:
|
||||
result.nim = startProcess(NimrodBin, workingDir = dir,
|
||||
|
||||
Reference in New Issue
Block a user