From bd6658d3d33669d444016eeac69ffdea88be4474 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Wed, 25 Jul 2018 21:15:46 +0300 Subject: [PATCH] Add GC markAndSweep tests. --- asyncdispatch2.nimble | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/asyncdispatch2.nimble b/asyncdispatch2.nimble index d7820cdf..54cf1a7b 100644 --- a/asyncdispatch2.nimble +++ b/asyncdispatch2.nimble @@ -12,36 +12,46 @@ requires "nim > 0.18.0" task test, "Run all tests": exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsync" exec "nim c -r tests/testsync" + exec "nim c -r --gc:markAndSweep tests/testsync" exec "nim c -r -d:release tests/testsync" + exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsoon" exec "nim c -r tests/testsoon" + exec "nim c -r --gc:markAndSweep tests/testsoon" exec "nim c -r -d:release tests/testsoon" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testtime" exec "nim c -r tests/testtime" + exec "nim c -r --gc:markAndSweep tests/testtime" exec "nim c -r -d:release tests/testtime" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testfut" exec "nim c -r tests/testfut" + exec "nim c -r --gc:markAndSweep tests/testfut" exec "nim c -r -d:release tests/testfut" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testsignal" exec "nim c -r tests/testsignal" + exec "nim c -r --gc:markAndSweep tests/testsignal" exec "nim c -r -d:release tests/testsignal" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testaddress" exec "nim c -r tests/testaddress" + exec "nim c -r --gc:markAndSweep tests/testaddress" exec "nim c -r -d:release tests/testaddress" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testdatagram" exec "nim c -r tests/testdatagram" + exec "nim c -r --gc:markAndSweep tests/testdatagram" exec "nim c -r -d:release tests/testdatagram" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/teststream" exec "nim c -r tests/teststream" + exec "nim c -r --gc:markAndSweep tests/teststream" exec "nim c -r -d:release tests/teststream" exec "nim c -r -d:useSysAssert -d:useGcAssert tests/testserver" exec "nim c -r tests/testserver" + exec "nim c -r --gc:markAndSweep tests/testserver" exec "nim c -r -d:release tests/testserver"