Zahary Karadjov 2021-12-08 16:59:12 +02:00
commit c653d05f27
No known key found for this signature in database
GPG key ID: C8936F8A3073D609
2 changed files with 11 additions and 11 deletions

View file

@ -23,12 +23,12 @@ proc test(env, path: string) =
let common_args = "-r -f --hints:off --skipParentCfg --styleCheck:usages --styleCheck:error"
exec "nim " & lang & " " & env &
" -d:async_backend=none " & common_args & " " & path
" -d:asyncBackend=none " & common_args & " " & path
exec "nim " & lang & " " & env &
" -d:async_backend=chronos " & common_args & " " & path
" -d:asyncBackend=chronos " & common_args & " " & path
# TODO std backend is broken / untested
# exec "nim " & lang & " " & env &
# " -d:async_backend=chronos " & common_args & " " & path
# " -d:asyncBackend=asyncdispatch " & common_args & " " & path
task test, "Run all tests":
test "-d:debug --threads:on", "tests/all_tests"