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:
Grzegorz Adam Hankiewicz
2013-07-06 17:04:22 +02:00
parent 4583c4ea0a
commit b22af9776d

View File

@@ -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,