Include target in tester nimcache hash (#7053)
This commit is contained in:
parent
38fde80b35
commit
6db1b492e1
2 changed files with 12 additions and 10 deletions
|
|
@ -17,11 +17,12 @@ const
|
|||
rodfilesDir = "tests/rodfiles"
|
||||
|
||||
proc delNimCache(filename, options: string) =
|
||||
let dir = nimcacheDir(filename, options)
|
||||
try:
|
||||
removeDir(dir)
|
||||
except OSError:
|
||||
echo "[Warning] could not delete: ", dir
|
||||
for target in low(TTarget)..high(TTarget):
|
||||
let dir = nimcacheDir(filename, options, target)
|
||||
try:
|
||||
removeDir(dir)
|
||||
except OSError:
|
||||
echo "[Warning] could not delete: ", dir
|
||||
|
||||
proc runRodFiles(r: var TResults, cat: Category, options: string) =
|
||||
template test(filename: string, clearCacheFirst=false) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue