testerscript.nim: disable warnings

This commit is contained in:
Anna “CyberTailor” 2023-05-02 18:32:43 +05:00
parent b4ca001a03
commit 7fdb965f5d
Signed by: CyberTaIlor
GPG Key ID: E7B76EDC50864BB1
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
* testerscript.nim: change nim cache directory for tests
* testerscript.nim: disable warnings
2023-04-27 Anna <cyber@sysrq.in>
* 1.1.0, 1.1.1 tagged

View File

@ -20,7 +20,7 @@ withDir($4):
if test.startsWith("tests/t") and test.endsWith(".nim"):
let nimCacheDir = nimCacheBaseDir / test.changeFileExt("")
echo "-- Running test ", test, "..."
exec fmt"{nimBin} --hints:off {nimFlags} r" &
exec fmt"{nimBin} --hint:all:off --warning:all:off {nimFlags} r" &
fmt" --nimcache:{nimCacheDir.quoteShell} {test.quoteShell}"
""" % [options.getNimBin().tripleQuoted,
options.getNimFlags().tripleQuoted,