From d41f60820138fef89d6c7b9c84820a2e593cfc6c Mon Sep 17 00:00:00 2001 From: LNSD Date: Thu, 3 Nov 2022 18:05:55 +0000 Subject: [PATCH] deploy: ef8504b16545c3de666f4cec8805b9f4672674f3 --- tests/v2/testlib/testutils.nim | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/tests/v2/testlib/testutils.nim b/tests/v2/testlib/testutils.nim index da8f1d5a4..e345f80d9 100644 --- a/tests/v2/testlib/testutils.nim +++ b/tests/v2/testlib/testutils.nim @@ -1,12 +1,25 @@ -template suitex*(name: string, body: untyped) = discard +import + testutils/unittests + template xsuite*(name: string, body: untyped) = discard +template suitex*(name: string, body: untyped) = discard -template testx*(name: string, body: untyped) = discard -template xtest*(name: string, body: untyped) = discard - -template procSuitex*(name: string, body: untyped) = discard template xprocSuite*(name: string, body: untyped) = discard +template procSuitex*(name: string, body: untyped) = discard -template asyncTestx*(name: string, body: untyped) = discard -template xasyncTest*(name: string, body: untyped) = discard - + +template xtest*(name: string, body: untyped) = + test name: + skip() + +template testx*(name: string, body: untyped) = + test name: + skip() + +template xasyncTest*(name: string, body: untyped) = + test name: + skip() + +template asyncTestx*(name: string, body: untyped) = + test name: + skip()