2024-01-10 12:14:00 +00:00
|
|
|
version = "0.5.1"
|
2021-01-11 11:02:40 +00:00
|
|
|
author = "asynctest Authors"
|
|
|
|
description = "Test asynchronous code"
|
|
|
|
license = "MIT"
|
|
|
|
|
2023-08-28 15:03:31 +00:00
|
|
|
skipDirs = @["testmodules"]
|
|
|
|
|
2021-07-07 08:32:50 +00:00
|
|
|
task test, "Runs the test suite":
|
2023-12-20 14:11:32 +00:00
|
|
|
for module in ["stdlib", "chronosv3", "chronosv4", "unittest2"]:
|
2021-07-07 08:32:50 +00:00
|
|
|
withDir "testmodules/" & module:
|
2023-08-28 15:01:25 +00:00
|
|
|
delEnv "NIMBLE_DIR" # use nimbledeps dir
|
2021-07-07 08:32:50 +00:00
|
|
|
exec "nimble install -d -y"
|
|
|
|
exec "nimble test -y"
|