From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/http_proxy/
Date: Wed, 20 Nov 2024 23:46:56 +0000 (UTC) [thread overview]
Message-ID: <1732142754.6ce128bac9a42fb813f6f69b1ae6810da278f1dd.julien@gentoo> (raw)
commit: 6ce128bac9a42fb813f6f69b1ae6810da278f1dd
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Nov 20 22:44:58 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Nov 20 22:45:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ce128ba
dev-crystal/http_proxy: add tests
Closes: https://bugs.gentoo.org/943509
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-crystal/http_proxy/http_proxy-0.12.0.ebuild | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
index ae2f510ba..6db13a433 100644
--- a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
+++ b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
@@ -12,5 +12,23 @@ SRC_URI="https://github.com/mamantoha/${PN}/archive/refs/tags/v${PV}.tar.gz -> $
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
DOCS=( {CHANGELOG,README}.md )
+
+RDEPEND="
+ test? ( dev-crystal/http_proxy )
+"
+
+src_test() {
+ # Only run tests that don't need net
+ crystal_spec \
+ "${S}"/spec/client_spec.cr:5 \
+ "${S}"/spec/client_spec.cr:13 \
+ "${S}"/spec/client_spec.cr:21 \
+ "${S}"/spec/client_spec.cr:53 \
+ "${S}"/spec/client_spec.cr:101 \
+ "${S}"/spec/server_spec.cr:5 \
+ "${S}"/spec/server_spec.cr:10
+}
next reply other threads:[~2024-11-20 23:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 23:46 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 6:01 [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/http_proxy/ Anna Vyalkova
2024-11-13 0:02 Julien Roy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1732142754.6ce128bac9a42fb813f6f69b1ae6810da278f1dd.julien@gentoo \
--to=julien@jroy.ca \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox