testerscript.nim: change nim cache directory for tests
This commit is contained in:
parent
f2176b4b6f
commit
b4ca001a03
|
@ -1,3 +1,7 @@
|
|||
2023-05-02 Anna <cyber@sysrq.in>
|
||||
|
||||
* testerscript.nim: change nim cache directory for tests
|
||||
|
||||
2023-04-27 Anna <cyber@sysrq.in>
|
||||
|
||||
* 1.1.0, 1.1.1 tagged
|
||||
|
|
|
@ -18,10 +18,7 @@ const
|
|||
withDir($4):
|
||||
for test in listFiles("tests"):
|
||||
if test.startsWith("tests/t") and test.endsWith(".nim"):
|
||||
let nimCacheDir = nimCacheBaseDir / test.multiReplace(
|
||||
("/", "_"),
|
||||
("\\", "_")
|
||||
)
|
||||
let nimCacheDir = nimCacheBaseDir / test.changeFileExt("")
|
||||
echo "-- Running test ", test, "..."
|
||||
exec fmt"{nimBin} --hints:off {nimFlags} r" &
|
||||
fmt" --nimcache:{nimCacheDir.quoteShell} {test.quoteShell}"
|
||||
|
|
Loading…
Reference in New Issue