Enable --styleCheck:usages
This commit is contained in:
parent
1b561a9e71
commit
1f62235d4f
9 changed files with 39 additions and 37 deletions
|
|
@ -20,13 +20,15 @@ proc test(env, path: string) =
|
|||
if existsEnv"TEST_LANG":
|
||||
lang = getEnv"TEST_LANG"
|
||||
|
||||
let common_args = "-r -f --hints:off --skipParentCfg --styleCheck:usages --styleCheck:error"
|
||||
|
||||
exec "nim " & lang & " " & env &
|
||||
" -d:async_backend=none -r --hints:off --skipParentCfg " & path
|
||||
" -d:async_backend=none " & common_args & " " & path
|
||||
exec "nim " & lang & " " & env &
|
||||
" -d:async_backend=chronos -r --hints:off --skipParentCfg " & path
|
||||
" -d:async_backend=chronos " & common_args & " " & path
|
||||
# TODO std backend is broken / untested
|
||||
# exec "nim " & lang & " " & env &
|
||||
# " -d:async_backend=chronos -r --hints:off --skipParentCfg " & path
|
||||
# " -d:async_backend=chronos " & common_args & " " & path
|
||||
|
||||
task test, "Run all tests":
|
||||
test "-d:debug --threads:on", "tests/all_tests"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue