mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-01 13:09:14 +00:00
run async tests under --mm:yrc
This commit is contained in:
@@ -190,8 +190,10 @@ proc ioTests(r: var TResults, cat: Category, options: string) =
|
||||
|
||||
# ------------------------- async tests ---------------------------------------
|
||||
proc asyncTests(r: var TResults, cat: Category, options: string) =
|
||||
# Run async with yrc instead of the default orc; the CI already runs long
|
||||
# enough that we cannot afford to test both.
|
||||
template test(filename: untyped) =
|
||||
testSpec r, makeTest(filename, options, cat)
|
||||
testSpec r, makeTest(filename, options & " --mm:yrc", cat)
|
||||
for t in os.walkFiles("tests/async/t*.nim"):
|
||||
test(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user