mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-crystal/http_proxy: add tests
Closes: https://bugs.gentoo.org/943509 Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user