commit:     cd0f3c5f5b23bd5c64d3bff34e864a43634c05db
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 21:25:51 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 21:25:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0f3c5f

app-metrics/elasticsearch_exporter: fix tests

Closes: https://bugs.gentoo.org/893104
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 .../elasticsearch_exporter/elasticsearch_exporter-1.3.0.ebuild      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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

Reply via email to