summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-02-04 15:25:51 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-02-04 15:25:51 -0600
commitcd0f3c5f5b23bd5c64d3bff34e864a43634c05db (patch)
tree106daa0ca76f9143bc33d1eb67e182afbd239f8c /app-metrics/elasticsearch_exporter
parentdev-lang/go: stabilize 1.19.5 for amd64, #891317 (diff)
downloadgentoo-cd0f3c5f5b23bd5c64d3bff34e864a43634c05db.tar.gz
gentoo-cd0f3c5f5b23bd5c64d3bff34e864a43634c05db.tar.bz2
gentoo-cd0f3c5f5b23bd5c64d3bff34e864a43634c05db.zip
app-metrics/elasticsearch_exporter: fix tests
Closes: https://bugs.gentoo.org/893104 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics/elasticsearch_exporter')
-rw-r--r--app-metrics/elasticsearch_exporter/elasticsearch_exporter-1.3.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-metrics/elasticsearch_exporter/elasticsearch_exporter-1.3.0.ebuild b/app-metrics/elasticsearch_exporter/elasticsearch_exporter-1.3.0.ebuild
index 77d0612e73c4..f0848da7b21d 100644
--- a/app-metrics/elasticsearch_exporter/elasticsearch_exporter-1.3.0.ebuild
+++ b/app-metrics/elasticsearch_exporter/elasticsearch_exporter-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,6 +28,10 @@ src_compile() {
promu build --prefix bin || die
}
+src_test() {
+ emake test-flags= test
+}
+
src_install() {
dobin bin/elasticsearch_exporter
dodoc {README,CHANGELOG}.md